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

Uma Maheswara Rao G commented on HDFS-2621:
-------------------------------------------

since 'alredy running' check made in NameNodeConnector ctor. 

{code}
  // Check if there is another balancer running.
    // Exit if there is another one running.
    out = checkAndMarkRunningBalancer(); 
    if (out == null) {
      throw new IOException("Another balancer is running");
    }
{code}

simply it is throwing IOException and will not return correct status.
                
> Balancer is not checking ALREADY_RUNNING state and never returns this state.
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-2621
>                 URL: https://issues.apache.org/jira/browse/HDFS-2621
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer
>    Affects Versions: 0.24.0, 0.23.1
>            Reporter: Uma Maheswara Rao G
>


--
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

        

Reply via email to