Skip to content

Commit

Permalink
Download jar from releases page, take out command from time docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jun 4, 2024
1 parent 2d67dbe commit 8da9805
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion benchmark/run_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ run_docker() {
esac

time_taken=$({
command time -p docker run -p 4040:4040 \
time -p docker run -p 4040:4040 \
-v "$(pwd)/build/libs/data-caterer-example-0.1.0.jar:/opt/spark/jars/data-caterer.jar" \
-v "$(pwd)/benchmark/jars/blaze.jar:/opt/spark/jars/blaze.jar" \
-v "$(pwd)/benchmark/jars/comet.jar:/opt/spark/jars/comet.jar" \
Expand Down Expand Up @@ -112,6 +112,7 @@ if [[ "$enable_data_sink_run" == true ]]; then
done
fi

echo "Printing logs of last docker run"
docker ps -a | tail -1 | awk -F " " '{print $1}' | xargs docker logs

echo "Printing benchmark results"
Expand Down
2 changes: 1 addition & 1 deletion benchmark/setup_query_engine_jars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ curl -L -o benchmark/jars/gluten.jar "https://github.com/apache/incubator-gluten
echo "Finished downloading gluten jar"

echo "Getting datafusion-comet jar..."
curl -L -o benchmark/jars/comet.jar "https://github.com/data-catering/datafusion-comet/actions/runs/9361483276/artifacts/1565420150"
curl -L -o benchmark/jars/comet.jar "https://github.com/data-catering/datafusion-comet/releases/download/0.1.0/comet-spark-spark3.4_2.12-0.1.0-SNAPSHOT.jar"
echo "Finished downloading datafusion-comet jar"

#echo "Building datafusion-comet..."
Expand Down

0 comments on commit 8da9805

Please sign in to comment.