hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [31/50] [abbrv] hbase git commit: Debugging around the ask if a region is splittable -- doesn't seem to be working
Date Tue, 23 May 2017 15:39:06 GMT
Debugging around the ask if a region is splittable -- doesn't seem to be working


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

Branch: refs/heads/HBASE-14614
Commit: fa191d9a5d62a17884ab4189ca898e1519193b32
Parents: edad94e
Author: Michael Stack <stack@apache.org>
Authored: Sun May 14 22:45:05 2017 -0700
Committer: Michael Stack <stack@apache.org>
Committed: Tue May 23 08:36:53 2017 -0700

----------------------------------------------------------------------
 .../hbase/master/assignment/SplitTableRegionProcedure.java       | 1 +
 .../main/java/org/apache/hadoop/hbase/regionserver/HRegion.java  | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/fa191d9a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.java
index 4ed1931..6815e9f 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.java
@@ -365,6 +365,7 @@ public class SplitTableRegionProcedure
         GetRegionInfoResponse response =
             Util.getRegionInfoResponse(env, node.getRegionLocation(), node.getRegionInfo());
         splittable = response.hasSplittable() && response.getSplittable();
+        LOG.info("REMOVE splittable " + splittable + " " + this + " " + node);
       } catch (IOException e) {
         splittableCheckIOE = e;
       }

http://git-wip-us.apache.org/repos/asf/hbase/blob/fa191d9a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
index f49e7bf..ac0867c 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
@@ -1392,7 +1392,9 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver,
Regi
 
   @Override
   public boolean isSplittable() {
-    return isAvailable() && !hasReferences();
+    boolean result = isAvailable() && !hasReferences();
+    LOG.info("ASKED IF SPLITTABLE " + result, new Throwable("LOGGING"));
+    return result;
   }
 
   @Override


Mime
View raw message