hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [44/50] [abbrv] hbase git commit: LOG, dont throw exception, if already SPLIT
Date Tue, 23 May 2017 07:36:56 GMT
LOG, dont throw exception, if already SPLIT


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

Branch: refs/heads/HBASE-14614
Commit: 7b5e5cd66a9f2dc9388c73b682cf150ca4cbed60
Parents: c613f61
Author: Michael Stack <stack@apache.org>
Authored: Tue May 16 22:14:06 2017 -0700
Committer: Michael Stack <stack@apache.org>
Committed: Tue May 23 00:33:03 2017 -0700

----------------------------------------------------------------------
 .../hbase/master/assignment/SplitTableRegionProcedure.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7b5e5cd6/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 7ebe769..2b5f46b 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
@@ -345,8 +345,8 @@ public class SplitTableRegionProcedure
       // Protect against the case where concurrent SPLIT requests came in. Check a SPLIT
       // did not just run.
       if (parentHRI.isSplit() || parentHRI.isOffline()) {
-        setFailure(new IOException("Split " + parentHRI.getRegionNameAsString() + " FAILED
because " +
-            "offline/split already."));
+        LOG.info("Split of " + parentHRI.getShortNameToLog() +
+            " skipped because already offline/split.");
         return false;
       }
 


Mime
View raw message