hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-15220 Change two logs in SimpleRegionNormalizer to INFO level
Date Sat, 06 Feb 2016 04:52:31 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 31f9f2fb6 -> 2ce31f894


HBASE-15220 Change two logs in SimpleRegionNormalizer to INFO level


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

Branch: refs/heads/master
Commit: 2ce31f8945635259b4e53ac9a1d381b4df57a0fe
Parents: 31f9f2f
Author: tedyu <yuzhihong@gmail.com>
Authored: Fri Feb 5 20:52:17 2016 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Fri Feb 5 20:52:17 2016 -0800

----------------------------------------------------------------------
 .../hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2ce31f89/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
index bd522b4..a99f8dd 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java
@@ -144,7 +144,7 @@ public class SimpleRegionNormalizer implements RegionNormalizer {
       // if the region is > 2 times larger than average, we split it, split
       // is more high priority normalization action than merge.
       if (regionSize > 2 * avgRegionSize) {
-        LOG.debug("Table " + table + ", large region " + hri.getRegionNameAsString() + "
has size "
+        LOG.info("Table " + table + ", large region " + hri.getRegionNameAsString() + " has
size "
             + regionSize + ", more than twice avg size, splitting");
         plans.add(new SplitNormalizationPlan(hri, null));
       } else {
@@ -154,7 +154,7 @@ public class SimpleRegionNormalizer implements RegionNormalizer {
         HRegionInfo hri2 = tableRegions.get(candidateIdx+1);
         long regionSize2 = getRegionSize(hri2);
         if (regionSize + regionSize2 < avgRegionSize) {
-          LOG.debug("Table " + table + ", small region size: " + regionSize
+          LOG.info("Table " + table + ", small region size: " + regionSize
             + " plus its neighbor size: " + regionSize2
             + ", less than the avg size " + avgRegionSize + ", merging them");
           plans.add(new MergeNormalizationPlan(hri, hri2));


Mime
View raw message