Skip to content

Commit bd232b9

Browse files
shivusondursrowen
authored andcommitted
[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 apache#24974 from shivusondur/jira28164. Authored-by: shivusondur <[email protected]> Signed-off-by: Sean Owen <[email protected]>
1 parent 8313015 commit bd232b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbin/start-slave.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fi
4040
CLASS="org.apache.spark.deploy.worker.Worker"
4141

4242
if [[ $# -lt 1 ]] || [[ "$@" = *--help ]] || [[ "$@" = *-h ]]; then
43-
echo "Usage: ./sbin/start-slave.sh [options] <master>"
43+
echo "Usage: ./sbin/start-slave.sh <master> [options]"
4444
pattern="Usage:"
4545
pattern+="\|Using Spark's default log4j profile:"
4646
pattern+="\|Started daemon with process name"

0 commit comments

Comments
 (0)