[ https://issues.apache.org/jira/browse/HDFS-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426482#comment-13426482 ]
Ashish Singhi commented on HDFS-3746: ------------------------------------- Hi. This issue looks to be similar to HDFS-3295. I have already uploaded a patch there some time back. Do you mind taking a look at the patch and have a run with that. If that patch solves your issue, then we can duplicate one. > Invalid counter tag in HDFS balancer which lead to infinite loop > ---------------------------------------------------------------- > > Key: HDFS-3746 > URL: https://issues.apache.org/jira/browse/HDFS-3746 > Project: Hadoop HDFS > Issue Type: Bug > Components: balancer > Affects Versions: 2.1.0-alpha, 3.0.0 > Reporter: meng gong > Assignee: meng gong > Labels: patch > Fix For: 2.1.0-alpha, 3.0.0 > > > Everytime banlancer try to move a block cross the rack. For every > NameNodeConnector it will instance a new banlancer. The tag > notChangedIterations is reseted to 0. Then it won't reach 5 and exit the > thread for not moved in 5 consecutive iterations. This lead to a infinite loop -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira