summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2014-05-20 08:47:11 +0100
committerAndrew McDermott <andrew.mcdermott@linaro.org>2014-05-20 08:48:05 +0100
commit6e8526d06c883a03ae27f3759146b7922bad50c4 (patch)
treed98a71a7784bede306939374a2ca7889871d479b
parent26d64c12e4402abd1a6566653365d0b876b3e464 (diff)
create-baseline: copy generated file to TERAGEN_BASELINE_DIR
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
-rwxr-xr-xcreate-baseline7
1 files changed, 3 insertions, 4 deletions
diff --git a/create-baseline b/create-baseline
index 731b3de..481c814 100755
--- a/create-baseline
+++ b/create-baseline
@@ -18,7 +18,7 @@
#
# Author: Andrew McDermott <andrew.mcdermott@linaro.org>
-# This script creates a baseline file using teragen.
+# This script creates a baseline file using teragen.
#
# Usage: create-baseline <N>
#
@@ -55,7 +55,6 @@ sleep 30
jps
hadoop fs -mkdir -p /user/$USER
teragen $1 ${1}GB
-hadoop fs -copyToLocal /user/$USER/${1}GB $THIS_BENCHMARK_DIR
+mkdir -p $TERAGEN_BASELINE_DIR
+hadoop fs -copyToLocal /user/$USER/${1}GB $TERAGEN_BASELINE_DIR
stop-all.sh
-
-