You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2016/01/29 22:28:51 UTC

[6/8] incubator-kudu git commit: tpch: avoid build/latest symlink

tpch: avoid build/latest symlink

Since the script only builds the tpch1 target, there's no guarantee that the
build/latest symlink exists. Use the BUILD_TYPE instead.

Change-Id: Ib327cd512f21a909ada253eae7a7b06189fd5c70
Reviewed-on: http://gerrit.cloudera.org:8080/1961
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Adar Dembo <ad...@cloudera.com>


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

Branch: refs/heads/master
Commit: dd9f9d2ff5ae26ceedd6eba26a52232ab869498e
Parents: 2277d8d
Author: Adar Dembo <ad...@cloudera.com>
Authored: Fri Jan 29 12:26:18 2016 -0800
Committer: Adar Dembo <ad...@cloudera.com>
Committed: Fri Jan 29 20:28:58 2016 +0000

----------------------------------------------------------------------
 src/kudu/scripts/tpch.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/dd9f9d2f/src/kudu/scripts/tpch.sh
----------------------------------------------------------------------
diff --git a/src/kudu/scripts/tpch.sh b/src/kudu/scripts/tpch.sh
index bbad1ee..447f02b 100755
--- a/src/kudu/scripts/tpch.sh
+++ b/src/kudu/scripts/tpch.sh
@@ -128,11 +128,11 @@ OUTDIR=$ROOT/build/$BUILD_TYPE/tpch
 rm -Rf $KUDU_DATA_DIR   # Clean up data dir.
 mkdir -p $OUTDIR        # Create log file output dir.
 
-./build/latest/bin/tpch1 -logtostderr=1 \
-                         -tpch_path_to_data=$LINEITEM_TBL_PATH \
-                         -mini_cluster_base_dir=$KUDU_DATA_DIR \
-                         -tpch_num_query_iterations=$TPCH_NUM_QUERY_ITERS \
-                         >$OUTDIR/benchmark.log 2>&1
+./build/$BUILD_TYPE/bin/tpch1 -logtostderr=1 \
+                              -tpch_path_to_data=$LINEITEM_TBL_PATH \
+                              -mini_cluster_base_dir=$KUDU_DATA_DIR \
+                              -tpch_num_query_iterations=$TPCH_NUM_QUERY_ITERS \
+                              >$OUTDIR/benchmark.log 2>&1
 
 cat $OUTDIR/benchmark.log
 INSERT_TIME=$(grep "Time spent loading" $OUTDIR/benchmark.log | \