Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created January 7, 2021 03:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/4e85f96427f07b1d5fea18f514385d98 to your computer and use it in GitHub Desktop.
Save garystafford/4e85f96427f07b1d5fea18f514385d98 to your computer and use it in GitHub Desktop.
ssh -i ~/.ssh/${EC2_KEY_NAME}.pem hadoop@${EMR_MASTER_DNS} \
"""
spark-submit --deploy-mode cluster --master yarn \
--conf spark.yarn.submit.waitAppCompletion=true \
's3a://${WORK_BUCKET}/analyze/bakery_sales_ssm.py'
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment