Skip to content

Instantly share code, notes, and snippets.

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