This is an automated email from the ASF dual-hosted git repository. srowen pushed a commit to branch branch-2.4 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-2.4 by this push: new eb66d3b [SPARK-28164] Fix usage description of `start-slave.sh` eb66d3b is described below commit eb66d3b222d2eb6738c1242508b121176370617b Author: shivusondur <shivuson...@gmail.com> 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 <shivuson...@gmail.com> Signed-off-by: Sean Owen <sean.o...@databricks.com> (cherry picked from commit bd232b98b470a609472a4ea8df912f8fad06ba06) Signed-off-by: Sean Owen <sean.o...@databricks.com> --- 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: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org