You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ev...@apache.org on 2018/12/24 15:37:24 UTC

bigtop git commit: BIGTOP-3114. [Test] HBase Importtsv smoke tests are failing

Repository: bigtop
Updated Branches:
  refs/heads/master c02f4947b -> ace6be2fd


BIGTOP-3114. [Test] HBase Importtsv smoke tests are failing


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

Branch: refs/heads/master
Commit: ace6be2fd1f8c2257050003e65f5cff742b2f42b
Parents: c02f494
Author: Evans Ye <ev...@apache.org>
Authored: Sun Dec 23 10:05:49 2018 +0800
Committer: Evans Ye <ev...@apache.org>
Committed: Mon Dec 24 23:37:14 2018 +0800

----------------------------------------------------------------------
 .../org/apache/bigtop/itest/hbase/smoke/TestImportTsv.groovy     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/ace6be2f/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/smoke/TestImportTsv.groovy
----------------------------------------------------------------------
diff --git a/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/smoke/TestImportTsv.groovy b/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/smoke/TestImportTsv.groovy
index 2a8b4cb..decd116 100644
--- a/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/smoke/TestImportTsv.groovy
+++ b/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/hbase/smoke/TestImportTsv.groovy
@@ -191,12 +191,12 @@ public class TestImportTsv {
   }
 
   private void doImport(String opts, String datadir) {
-    sh.exec("HADOOP_CLASSPATH=`hbase classpath` hadoop jar $HBASE_JAR importtsv -Dimporttsv.bulk.output=$OUTDIR $opts -Dimporttsv.columns=$COLUMNS $TABLE $datadir");
+    sh.exec("$HBASE_HOME/bin/hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.bulk.output=$OUTDIR $opts -Dimporttsv.columns=$COLUMNS $TABLE $datadir");
     assertTrue("importtsv failed", sh.getRet() == 0);
   }
 
   private void doLoad(String table) {
-    sh.exec("HADOOP_CLASSPATH=`hbase classpath` hadoop jar $HBASE_JAR completebulkload $OUTDIR $table");
+    sh.exec("$HBASE_HOME/bin/hbase org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles $OUTDIR $table");
     assertTrue("completebulkload failed", sh.getRet() == 0);
   }