Skip to content

Commit 7286c2b

Browse files
Jacek Laskowskirxin
authored andcommitted
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 <[email protected]> Closes #8759 from jaceklaskowski/docs-submitting-apps. (cherry picked from commit 833be73) Signed-off-by: Reynold Xin <[email protected]>
1 parent d5c0361 commit 7286c2b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/submitting-applications.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ For Python applications, simply pass a `.py` file in the place of `<application-
6565
and add Python `.zip`, `.egg` or `.py` files to the search path with `--py-files`.
6666

6767
There are a few options available that are specific to the
68-
[cluster manager](#cluster-overview.html#cluster-manager-types) that is being used.
69-
For example, with a [Spark Standalone](#spark-standalone) cluster with `cluster` deploy mode,
68+
[cluster manager](cluster-overview.html#cluster-manager-types) that is being used.
69+
For example, with a [Spark standalone cluster](spark-standalone.html) with `cluster` deploy mode,
7070
you can also specify `--supervise` to make sure that the driver is automatically restarted if it
7171
fails with non-zero exit code. To enumerate all such options available to `spark-submit`,
7272
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:
7979
/path/to/examples.jar \
8080
100
8181

82-
# Run on a Spark Standalone cluster in client deploy mode
82+
# Run on a Spark standalone cluster in client deploy mode
8383
./bin/spark-submit \
8484
--class org.apache.spark.examples.SparkPi \
8585
--master spark://207.184.161.138:7077 \
@@ -88,7 +88,7 @@ run it with `--help`. Here are a few examples of common options:
8888
/path/to/examples.jar \
8989
1000
9090

91-
# Run on a Spark Standalone cluster in cluster deploy mode with supervise
91+
# Run on a Spark standalone cluster in cluster deploy mode with supervise
9292
./bin/spark-submit \
9393
--class org.apache.spark.examples.SparkPi \
9494
--master spark://207.184.161.138:7077 \
@@ -109,7 +109,7 @@ export HADOOP_CONF_DIR=XXX
109109
/path/to/examples.jar \
110110
1000
111111

112-
# Run a Python application on a Spark Standalone cluster
112+
# Run a Python application on a Spark standalone cluster
113113
./bin/spark-submit \
114114
--master spark://207.184.161.138:7077 \
115115
examples/src/main/python/pi.py \

0 commit comments

Comments
 (0)