[
https://issues.apache.org/jira/browse/HDFS-8204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509554#comment-14509554
]
Tsz Wo Nicholas Sze commented on HDFS-8204:
-------------------------------------------
My previous comment was for the bug, not the patch.
> What's more important, 2 replicas located on 1 DN doesn't match placement
> policy.
I am confused. Do you actually see 2 replicas stored in 1 DN? Or you only see
two replicas *scheduled* to be moved to the same DN?
> Mover/Balancer should not schedule two replicas to the same DN
> --------------------------------------------------------------
>
> Key: HDFS-8204
> URL: https://issues.apache.org/jira/browse/HDFS-8204
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: balancer & mover
> Reporter: Walter Su
> Assignee: Walter Su
> Attachments: HDFS-8204.001.patch
>
>
> Balancer moves blocks between Datanode(Ver. <2.6 ).
> Balancer moves blocks between StorageGroups ( introduced by HDFS-6584) , in
> the new version(Ver. >=2.6) .
> function
> {code}
> class DBlock extends Locations<StorageGroup>
> DBlock.isLocatedOn(StorageGroup loc)
> {code}
> is flawed, may causes 2 replicas ends in same node after running balance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)