hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3605) Fix balancer log message
Date Mon, 07 Mar 2011 21:09:00 GMT

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

Hudson commented on HBASE-3605:
-------------------------------

Integrated in HBase-TRUNK #1771 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1771/])
    

> Fix balancer log message
> ------------------------
>
>                 Key: HBASE-3605
>                 URL: https://issues.apache.org/jira/browse/HBASE-3605
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message