Repository: spark Updated Branches: refs/heads/branch-1.5 d5c0361e7 -> 7286c2ba6
Small fixes to docs Links work now properly + consistent use of *Spark standalone cluster* (Spark uppercase + lowercase the rest -- seems agreed in the other places in the docs). Author: Jacek Laskowski <jacek.laskow...@deepsense.io> Closes #8759 from jaceklaskowski/docs-submitting-apps. (cherry picked from commit 833be73314b85b390a9007ed6ed63dc47bbd9e4f) Signed-off-by: Reynold Xin <r...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7286c2ba Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7286c2ba Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7286c2ba Branch: refs/heads/branch-1.5 Commit: 7286c2ba6f5b98b02ff98e7287de23fd9c19f789 Parents: d5c0361 Author: Jacek Laskowski <jacek.laskow...@deepsense.io> Authored: Mon Sep 14 23:40:29 2015 -0700 Committer: Reynold Xin <r...@databricks.com> Committed: Mon Sep 14 23:40:36 2015 -0700 ---------------------------------------------------------------------- docs/submitting-applications.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/7286c2ba/docs/submitting-applications.md ---------------------------------------------------------------------- diff --git a/docs/submitting-applications.md b/docs/submitting-applications.md index e586452..7ea4d6f 100644 --- a/docs/submitting-applications.md +++ b/docs/submitting-applications.md @@ -65,8 +65,8 @@ For Python applications, simply pass a `.py` file in the place of `<application- and add Python `.zip`, `.egg` or `.py` files to the search path with `--py-files`. There are a few options available that are specific to the -[cluster manager](#cluster-overview.html#cluster-manager-types) that is being used. -For example, with a [Spark Standalone](#spark-standalone) cluster with `cluster` deploy mode, +[cluster manager](cluster-overview.html#cluster-manager-types) that is being used. +For example, with a [Spark standalone cluster](spark-standalone.html) with `cluster` deploy mode, you can also specify `--supervise` to make sure that the driver is automatically restarted if it fails with non-zero exit code. To enumerate all such options available to `spark-submit`, run it with `--help`. Here are a few examples of common options: @@ -79,7 +79,7 @@ run it with `--help`. Here are a few examples of common options: /path/to/examples.jar \ 100 -# Run on a Spark Standalone cluster in client deploy mode +# Run on a Spark standalone cluster in client deploy mode ./bin/spark-submit \ --class org.apache.spark.examples.SparkPi \ --master spark://207.184.161.138:7077 \ @@ -88,7 +88,7 @@ run it with `--help`. Here are a few examples of common options: /path/to/examples.jar \ 1000 -# Run on a Spark Standalone cluster in cluster deploy mode with supervise +# Run on a Spark standalone cluster in cluster deploy mode with supervise ./bin/spark-submit \ --class org.apache.spark.examples.SparkPi \ --master spark://207.184.161.138:7077 \ @@ -109,7 +109,7 @@ export HADOOP_CONF_DIR=XXX /path/to/examples.jar \ 1000 -# Run a Python application on a Spark Standalone cluster +# Run a Python application on a Spark standalone cluster ./bin/spark-submit \ --master spark://207.184.161.138:7077 \ examples/src/main/python/pi.py \ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org