zhouyingchao created HDFS-11895:
-----------------------------------

             Summary: 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


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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to