hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [49/50] [abbrv] hbase git commit: LOG, dont throw exception, if already SPLIT
Date Tue, 23 May 2017 15:39:24 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/37a9ab6f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/37a9ab6f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/37a9ab6f

Branch: refs/heads/HBASE-14614
Commit: 37a9ab6f1c665ed0762f7d6101b177df1b4c3e4a
Parents: 2bf1b4f
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 08:36:54 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/37a9ab6f/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