hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3605) Fix balancer log message
Date Wed, 02 Nov 2011 12:37:32 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Hsieh updated HBASE-3605:
----------------------------------

    Fix Version/s: 0.92.0
    
> Fix balancer log message
> ------------------------
>
>                 Key: HBASE-3605
>                 URL: https://issues.apache.org/jira/browse/HBASE-3605
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.92.0
>
>
> From Gaojinchao up on user list:
> In balanceCluster function , It should be "leastloaded=" + serversByLoad.firstKey ().getLoad().getNumberOfRegions())"
> {code}
> if(serversByLoad.lastKey().getLoad().getNumberOfRegions() <= max &&
>       serversByLoad.firstKey().getLoad().getNumberOfRegions() >= min) {
>      // Skipped because no server outside (min,max) range
>      LOG.info("Skipping load balancing.  servers=" + numServers + " " +
>          "regions=" + numRegions + " average=" + average + " " +
>          "mostloaded=" + serversByLoad.lastKey().getLoad().getNumberOfRegions() +
>          " leastloaded=" + serversByLoad.lastKey().getLoad().getNumberOfRegions());
>      return null;
>    }
> {code}

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

        

Mime
View raw message