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

Tsz Wo (Nicholas), SZE commented on HDFS-636:
---------------------------------------------

The append branch still has problems: test-patch fails on
{noformat}
     [exec] X [0]                                     images/hdfs-logo.jpg      
 
BROKEN: 
/home/tsz/hadoop/hdfs/testpatch-append/src/docs/src/documentation/contenn
t/xdocs/images.hdfs-logo.jpg (No such file or directory)
{noformat}

> SafeMode should count only complete blocks.
> -------------------------------------------
>
>                 Key: HDFS-636
>                 URL: https://issues.apache.org/jira/browse/HDFS-636
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>    Affects Versions: Append Branch
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: Append Branch
>
>         Attachments: completeBlockTotal.patch
>
>
> During start up the name-node is in safe mode and is counting blocks reported 
> by data-nodes. When the number of minimally replicated blocks reaches the 
> configured threshold the name-node leaves safe mode. Currently all blocks are 
> counted towards the threshold including the ones that are under construction. 
> The under-construction blocks should be excluded from the count, because they 
> need to be recovered, which may take long time (lease expires in 1 hour by 
> default). Also the recovery may result in deleting those blocks so counting 
> them in the blocks total is incorrect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to