hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [2/4] hbase git commit: HBASE-17682 Region stuck in merging_new state indefinitely
Date Thu, 23 Feb 2017 23:25:11 GMT
HBASE-17682 Region stuck in merging_new state indefinitely

Signed-off-by: Andrew Purtell <apurtell@apache.org>


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

Branch: refs/heads/branch-1.2
Commit: 4caed356f15fec6ace0f5e7641e7526d1e01f7bb
Parents: fe00b59
Author: Abhishek Singh Chouhan <abhishekchouhan121@gmail.com>
Authored: Thu Feb 23 18:13:06 2017 +0530
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu Feb 23 15:18:19 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/master/RegionStates.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/4caed356/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
index efb9f48..bfdfecc 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
@@ -690,7 +690,7 @@ public class RegionStates {
             LOG.info("Found region in " + state +
               " to be reassigned by ServerCrashProcedure for " + sn);
             rits.add(hri);
-          } else if(state.isSplittingNew()) {
+          } else if(state.isSplittingNew() || state.isMergingNew()) {
             regionsToCleanIfNoMetaEntry.add(state.getRegion());
           } else {
             LOG.warn("THIS SHOULD NOT HAPPEN: unexpected " + state);


Mime
View raw message