Skip to content

Instantly share code, notes, and snippets.

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 johntbush/2131cf1180c3e41d340340c08a4cabdc to your computer and use it in GitHub Desktop.
Save johntbush/2131cf1180c3e41d340340c08a4cabdc to your computer and use it in GitHub Desktop.
spark-submit
--class com.mycompany.Job
--deploy-mode cluster
--master yarn
--conf spark.yarn.submit.waitAppCompletion=false
--driver-memory 4g
--num-executors 4
--executor-memory 2g
--executor-cores 5
s3://mycompany/artifact.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment