From d51d5e0582c0605deae7497cd95a055698dc9383 Mon Sep 17 00:00:00 2001 From: Matei Zaharia Date: Tue, 25 Sep 2012 23:59:04 -0700 Subject: Doc fixes --- docs/running-on-yarn.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'docs/running-on-yarn.md') diff --git a/docs/running-on-yarn.md b/docs/running-on-yarn.md index 7cd46da940..19e7aede27 100644 --- a/docs/running-on-yarn.md +++ b/docs/running-on-yarn.md @@ -16,23 +16,23 @@ If you want to test out the YARN deployment mode, you can use the current spark The command to launch the YARN Client is as follows: - SPARK_JAR= ./run spark.deploy.yarn.Client - --jar - --class - --args - --num-workers - --worker-memory - --worker-cores + SPARK_JAR= ./run spark.deploy.yarn.Client \ + --jar \ + --class \ + --args \ + --num-workers \ + --worker-memory \ + --worker-cores For example: - SPARK_JAR=./core/target/spark-core-assembly-0.6.0-SNAPSHOT.jar ./run spark.deploy.yarn.Client - --jar examples/target/scala-2.9.1/spark-examples_2.9.1-0.6.0-SNAPSHOT.jar - --class spark.examples.SparkPi - --args standalone - --num-workers 3 - --worker-memory 2g - --worker-cores 2 + SPARK_JAR=./core/target/spark-core-assembly-0.6.0-SNAPSHOT.jar ./run spark.deploy.yarn.Client \ + --jar examples/target/scala-2.9.1/spark-examples_2.9.1-0.6.0-SNAPSHOT.jar \ + --class spark.examples.SparkPi \ + --args standalone \ + --num-workers 3 \ + --worker-memory 2g \ + --worker-cores 2 The above starts a YARN Client programs which periodically polls the Application Master for status updates and displays them in the console. The client will exit once your application has finished running. -- cgit v1.2.3