Skip to content

Instantly share code, notes, and snippets.

@qiaohaijun
Created June 26, 2014 07:50
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 qiaohaijun/1f9d950b4c40bcbde642 to your computer and use it in GitHub Desktop.
Save qiaohaijun/1f9d950b4c40bcbde642 to your computer and use it in GitHub Desktop.
./bin/spark-class org.apache.spark.deploy.yarn.Client --jar examples/lib/spark-examples_2.10-0.9.0-cdh5.0.0.jar --class org.apache.spark.examples.SparkPi --args yarn-standalone --num-workers 3 --master-memory 4g --worker-memory 2g --worker-cores 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment