This is an automated email from the ASF dual-hosted git repository.
srowen pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new a054a00 [SPARK-28164] Fix usage description of `start-slave.sh`
a054a00 is described below
commit a054a00908119a380477f225f8d0cb897169adea
Author: shivusondur <[email protected]>
AuthorDate: Wed Jun 26 12:42:33 2019 -0500
[SPARK-28164] Fix usage description of `start-slave.sh`
## What changes were proposed in this pull request?
updated the usage message in sbin/start-slave.sh.
<masterURL> argument moved to first
## How was this patch tested?
tested locally with
Starting master
starting slave with (./start-slave.sh spark://<IP>:<PORT> -c 1
and opening spark shell with ./spark-shell --master spark://<IP>:<PORT>
Closes #24974 from shivusondur/jira28164.
Authored-by: shivusondur <[email protected]>
Signed-off-by: Sean Owen <[email protected]>
(cherry picked from commit bd232b98b470a609472a4ea8df912f8fad06ba06)
Signed-off-by: Sean Owen <[email protected]>
---
sbin/start-slave.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/start-slave.sh b/sbin/start-slave.sh
index 8c268b8..4e57f74 100755
--- a/sbin/start-slave.sh
+++ b/sbin/start-slave.sh
@@ -40,7 +40,7 @@ fi
CLASS="org.apache.spark.deploy.worker.Worker"
if [[ $# -lt 1 ]] || [[ "$@" = *--help ]] || [[ "$@" = *-h ]]; then
- echo "Usage: ./sbin/start-slave.sh [options] <master>"
+ echo "Usage: ./sbin/start-slave.sh <master> [options]"
pattern="Usage:"
pattern+="\|Using Spark's default log4j profile:"
pattern+="\|Registered signal handlers for"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]