Skip to content

Instantly share code, notes, and snippets.

@josep2
Created April 17, 2017 16:31
Show Gist options
  • Save josep2/56f1d6c431e9d839a7a44967f7b8432d to your computer and use it in GitHub Desktop.
Save josep2/56f1d6c431e9d839a7a44967f7b8432d to your computer and use it in GitHub Desktop.
Borrowed from the Spark Docs for illustration: http://spark.apache.org/docs/latest/running-on-mesos.html
./bin/spark-submit \
--class org.apache.spark.examples.SparkPi \
--master mesos://207.184.161.138:7077 \
--deploy-mode cluster \
--supervise \
--executor-memory 20G \
--total-executor-cores 100 \
http://path/to/examples.jar \
1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment