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:48:15 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 a2a28a780 -> 18726b370


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/18726b37
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/18726b37
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/18726b37

Branch: refs/heads/branch-1.3
Commit: 18726b370e0f9c178ae2b7a82803f3c53b6fd2eb
Parents: a2a28a7
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:00 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/18726b37/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 9c8e02f..e758b88 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
@@ -749,6 +749,6 @@ public class Import {
       }
     }
 
-    System.exit(job.waitForCompletion(true) ? 0 : 1);
+    System.exit(isJobSuccessful ? 0 : 1);
   }
 }


Mime
View raw message