You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mb...@apache.org on 2017/03/30 03:35:11 UTC

asterixdb git commit: Make system name configurable in aws perf script.

Repository: asterixdb
Updated Branches:
  refs/heads/master a9f36e167 -> 93dc775af


Make system name configurable in aws perf script.

Change-Id: Ia898111e5559385314417ced2e2a663cffb3e535
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1631
Reviewed-by: Ian Maxon <im...@apache.org>
Tested-by: Michael Blow <mb...@apache.org>


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

Branch: refs/heads/master
Commit: 93dc775af404b6502954db18a7570b7da8bbdea8
Parents: a9f36e1
Author: Yingyi Bu <yi...@couchbase.com>
Authored: Tue Mar 28 23:19:22 2017 -0700
Committer: Michael Blow <mb...@apache.org>
Committed: Wed Mar 29 20:34:52 2017 -0700

----------------------------------------------------------------------
 asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/93dc775a/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh b/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh
index 1cd0f0b..a086a34 100755
--- a/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh
+++ b/asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh
@@ -32,6 +32,9 @@ BENCHMARK_PATH=$DIST_PATH/benchmarks
 # Gets the inventory file path.
 INVENTORY=$1
 
+# Gets the system name.
+SYSTEM_NAME=$2
+
 # Checks the existence of the inventory file.
 if [ ! -f "$INVENTORY" ];
 then
@@ -69,7 +72,7 @@ for benchmark in $BENCHMARK_PATH/*; do
     for number in 1 2 3
     do
         for query in $queries/*.sqlpp; do
-           ansible-playbook -i $INVENTORY --extra-vars="query_file=${query} report=true metric=\"AsterixDB\"" \
+           ansible-playbook -i $INVENTORY --extra-vars="query_file=${query} report=true metric=${SYSTEM_NAME}" \
                  $ANSIBLE_PATH/runquery.yml
         done
     done