Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active September 28, 2021 02:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
export CLUSTER_ID="<your-cluster-id>"
export SPARK_BUCKET="<your-bucket-111222333444-us-east-1>"
aws emr add-steps \
--cluster-id ${CLUSTER_ID} \
--steps """Type=Spark,Name='create-schemas',ActionOnFailure=CONTINUE,
Args=[s3a://${SPARK_BUCKET}/spark/10_create_schemas.py]"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment