[
https://issues.apache.org/jira/browse/HDFS-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985155#comment-13985155
]
Rakesh R commented on HDFS-6300:
--------------------------------
Could someone help me to validate the scenario and the proposed fix. The
problem I could see is, fs.create(BALANCER_ID_PATH) is allowing to do
OVER_WRITE=true, when another balancer comes its not getting the
'AlreadyBeingCreatedException' and start perform balancing.
Thanks,
Rakesh
> Allows to run multiple balancer simultaneously
> ----------------------------------------------
>
> Key: HDFS-6300
> URL: https://issues.apache.org/jira/browse/HDFS-6300
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: balancer
> Reporter: Rakesh R
> Assignee: Rakesh R
> Fix For: 2.5.0
>
> Attachments: HDFS-6300.patch
>
>
> Javadoc of "Balancer.java" says, it will not allow to run second balancer if
> the first one is in progress. But I've noticed multiple can run together and
> balancer.id implementation is not safe guarding.
> {code}
> * <li>Another balancer is running. Exiting...
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)