Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes to docs #8759

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/submitting-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 \
Expand All @@ -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 \
Expand All @@ -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 \
Expand Down