hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: Revert "HBASE-15120 Undo aggressive load balancer logging at tens of lines per millisecond"
Date Fri, 05 Feb 2016 00:11:04 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 69b70b87a -> d4eb78ea3


Revert "HBASE-15120 Undo aggressive load balancer logging at tens of lines per millisecond"

This reverts commit 69b70b87aa2ddd808623912d93d627fe02e211f4.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d4eb78ea
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d4eb78ea
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d4eb78ea

Branch: refs/heads/branch-1.2
Commit: d4eb78ea3aec45dffa2ee78d8128e46d9dae4fb5
Parents: 69b70b8
Author: stack <stack@apache.org>
Authored: Thu Feb 4 16:10:53 2016 -0800
Committer: stack <stack@apache.org>
Committed: Thu Feb 4 16:10:53 2016 -0800

----------------------------------------------------------------------
 .../hadoop/hbase/master/balancer/BaseLoadBalancer.java       | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d4eb78ea/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
index fd1ddd8..8dc7cf6 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
@@ -799,11 +799,9 @@ public abstract class BaseLoadBalancer implements LoadBalancer {
           i++;
           lowestLocalityServerIndex = serverIndicesSortedByLocality[i];
         }
-        if (LOG.isTraceEnabled()) {
-          LOG.trace("Lowest locality region server with non zero regions is "
+        LOG.debug("Lowest locality region server with non zero regions is "
             + servers[lowestLocalityServerIndex].getHostname() + " with locality "
             + localityPerServer[lowestLocalityServerIndex]);
-        }
         return lowestLocalityServerIndex;
       }
     }
@@ -826,11 +824,9 @@ public abstract class BaseLoadBalancer implements LoadBalancer {
             lowestLocalityRegionIndex = j;
           }
         }
-        if (LOG.isTraceEnabled()) {
-          LOG.debug(" Lowest locality region index is " + lowestLocalityRegionIndex
+        LOG.debug(" Lowest locality region index is " + lowestLocalityRegionIndex
             + " and its region server contains " + regionsPerServer[serverIndex].length
             + " regions");
-        }
         return regionsPerServer[serverIndex][lowestLocalityRegionIndex];
       } else {
         return -1;


Mime
View raw message