Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.21.0
-
None
-
None
-
removing lease
Description
Client created file at NameNode and following crashed down. It did not write any byte to HDFS. After one hour, the NameNode aware that it need to close file and reclaim lease. Here have two steps for removing related lease: 1. FSNamesystem.finalizeINodeFileUnderConstruction 2. LeaseManager.checkLeases.
Also, it can throw exception at second step likes that:
2011-07-20 09:05:35,019 ERROR org.apache.hadoop.hdfs.server.namenode.LeaseManager: /path/file not found in lease.paths (=[])
2011-07-20 09:05:35,019 ERROR org.apache.hadoop.hdfs.server.namenode.LeaseManager: [Lease. Holder: DFSClient_-889656693, pendingcreates: 0] not found in sortedLeases