[ 
https://issues.apache.org/jira/browse/HDFS-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741221#comment-13741221
 ] 

Suresh Srinivas commented on HDFS-2175:
---------------------------------------

This is an old bug. Does this happen on 2.0 release? If it does, please post a 
test code that duplicates this issue.

If I do not hear back, I am going to close this in a week of so.
                
> 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
>              Labels: lease
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to