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

zhouyingchao updated HDFS-11895:
--------------------------------
    Attachment: HDFS-11895-001.patch

A patch for the issue.

> Committed block should be completed during block report if usable replicas 
> are enough
> -------------------------------------------------------------------------------------
>
>                 Key: HDFS-11895
>                 URL: https://issues.apache.org/jira/browse/HDFS-11895
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: zhouyingchao
>            Priority: Minor
>         Attachments: HDFS-11895-001.patch
>
>
> In a 2.4 HDFS cluster, we found an issue that a completeFile call failed 
> since the file's last block's three replica were in decommissioning state. 
> And finally the decommissioning was stuck. We figured out the issue had been 
> fixed by HDFS-11499. The fix of HDFS-11499 completes a committed block if 
> usable replicas are enough in close/recovery code path.  Besides that, we 
> think we'd better complete a committed block in block report path if usable 
> replicas are engouth.  It helps the condition where a client calls 
> completeFile then exit abnormally (without retry) and all its last block's 
> replica DNs are in decommissioning state.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to