Michael Blow has submitted this change and it was merged.

Change subject: Make system name configurable in aws perf script.
......................................................................


Make system name configurable in aws perf script.

Change-Id: Ia898111e5559385314417ced2e2a663cffb3e535
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1631
Reviewed-by: Ian Maxon <[email protected]>
Tested-by: Michael Blow <[email protected]>
---
M asterixdb/asterix-benchmark/src/main/resources/bin/runall.sh
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Michael Blow: Verified
  Ian Maxon: Looks good to me, approved



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 @@
 # 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 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

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/1631
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia898111e5559385314417ced2e2a663cffb3e535
Gerrit-PatchSet: 3
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Yingyi Bu <[email protected]>
Gerrit-Reviewer: Ian Maxon <[email protected]>
Gerrit-Reviewer: Michael Blow <[email protected]>

Reply via email to