ERROR hdfs.DFSClient: Failed to close file解决方法

时间:2024-10-07 12:36:44

14/04/11 17:59:44 ERROR hdfs.DFSClient: Failed to close file /wlan_out/_temporary/_attempt_local_0001_r_000000_0/part-r-00000
org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease on /wlan_out/_temporary/_attempt_local_0001_r_000000_0/part-r-00000

在自定义类型实例化对象时,忘记添加空构造函数引起。