[ 
https://issues.apache.org/jira/browse/HDFS-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Prakash updated HDFS-7342:
-------------------------------
    Attachment: HDFS-7342.04.patch

Here's a patch with a unit test and a fix. Could people please review it?

The effect of this bug for us was that nodes could not be decommissioned 
cleanly. Although we knew that the client had crashed, the Namenode never 
released the leases (even after restarting the Namenode) (even months 
afterwards). There are actually several other cases too where we don't consider 
what happens if ALL the datanodes die while the file is being written, but I am 
going to punt on that for another time.

> Lease Recovery doesn't happen some times
> ----------------------------------------
>
>                 Key: HDFS-7342
>                 URL: https://issues.apache.org/jira/browse/HDFS-7342
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Ravi Prakash
>         Attachments: HDFS-7342.04.patch, HDFS-7342.1.patch, 
> HDFS-7342.2.patch, HDFS-7342.3.patch
>
>
> In some cases, LeaseManager tries to recover a lease, but is not able to. 
> HDFS-4882 describes a possibility of that. We should fix this



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to