[
https://issues.apache.org/jira/browse/HDFS-4127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486191#comment-13486191
]
Junping Du commented on HDFS-4127:
----------------------------------
Hi Suresh, Please check the patch with an example there in unit test. In this
example, we have 6 data nodes but 2 nodes is not available due to low space.
Then, placing 6 replicas should cause a warn with reporting short of 2
replicas. In previous (without this patch), it will report a short of 3
replicas which is wrong. I think we will meet this warn error very common in
small scale (<10) cluster, as map-reduce job file will be placed with a lot of
replicas. Isn't it?
> Log message is not correct in case of short of replica
> ------------------------------------------------------
>
> Key: HDFS-4127
> URL: https://issues.apache.org/jira/browse/HDFS-4127
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 1.0.4, 2.0.2-alpha
> Reporter: Junping Du
> Assignee: Junping Du
> Priority: Minor
> Attachments: HDFS-4127.patch
>
>
> For some reason that block cannot be placed with enough replica (like no
> enough available data nodes), it will throw a warning with wrong number of
> replica in short.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira