Removing  lease repeatedly when client lease reach to hard limit
----------------------------------------------------------------

                 Key: HDFS-2175
                 URL: https://issues.apache.org/jira/browse/HDFS-2175
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 0.21.0
            Reporter: Denny Ye
            Priority: Minor


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 



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to