hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-3605) Fix balancer log message
Date Fri, 04 Mar 2011 18:07:37 GMT
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