hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chia7...@apache.org
Subject hbase git commit: HBASE-18197 Avoided to call job.waitForCompletion(true) two times
Date Fri, 11 Aug 2017 18:47:49 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 a03c2036e -> b181f172e


HBASE-18197 Avoided to call job.waitForCompletion(true) two times

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>


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

Branch: refs/heads/branch-1
Commit: b181f172ef92ff1fb3bf2a2907c7c143bcd5ac75
Parents: a03c203
Author: Jan Hentschel <jan.hentschel@ultratendency.com>
Authored: Sat Jun 10 22:17:00 2017 +0200
Committer: Chia-Ping Tsai <chia7712@gmail.com>
Committed: Sat Aug 12 02:47:25 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/b181f172/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java
index d315b81..8a80d15 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java
@@ -750,6 +750,6 @@ public class Import {
       }
     }
 
-    System.exit(job.waitForCompletion(true) ? 0 : 1);
+    System.exit(isJobSuccessful ? 0 : 1);
   }
 }


Mime
View raw message