Created
September 27, 2016 19:09
-
-
Save mreid-moz/e70742c74c7205261c60c32f7eebf344 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ -z "$bucket" || -z "$date" ]]; then | |
echo "Missing arguments!" 1>&2 | |
exit 1 | |
fi | |
git clone https://github.com/mreid-moz/telemetry-batch-view.git | |
cd telemetry-batch-view | |
git checkout addons_view | |
sbt assembly | |
spark-submit --master yarn \ | |
--deploy-mode client \ | |
--class com.mozilla.telemetry.views.AddonsView \ | |
target/scala-2.11/telemetry-batch-view-1.1.jar \ | |
--bucket $bucket \ | |
--from $date \ | |
--to $date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment