[
https://issues.apache.org/jira/browse/HDFS-7342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223109#comment-14223109
]
Vinayakumar B commented on HDFS-7342:
-------------------------------------
bq. If all blocks in a file are in either complete or committed state, lease
recovery may force complete all committed blocks and close the file. The rest
will be up to the replication monitor.
bq. we can make commitBlockSynchronization() to force commit when there is at
least one replica, ignoring min-replication. It will allow the recovery to make
progress and eventually the file to be closed if there is at least one replica
per block. Then the blocks can be replicated. This is far better than getting
stuck in recovery.
Makes sense.
> 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
> Assignee: Ravi Prakash
> Attachments: 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)