Skip to content
Yangjun Wang edited this page Sep 29, 2015 · 4 revisions

Apache Spark Resource Management and YARN App Models

Standalone cluster submit example

/usr/local/spark/bin/spark-submit \
--class org.apache.spark.examples.JavaWordCount \
--total-executor-cores 5 \
--executor-memory 800m \
/usr/local/spark/lib/spark-examples-1.5.0-hadoop2.6.0.jar /usr/local/spark/README.md