Repository: spark
Updated Branches:
  refs/heads/master eb48fd6e9 -> d8b3da9dd


[CORE, DEPLOY][minor] align arguments order with docs of worker

The help message for starting `worker` is `Usage: Worker [options] <master>`. 
While in `start-slaves.sh`, the format is not align with that, it is confusing 
for the fist glance.

Author: Zhang, Liye <liye.zh...@intel.com>

Closes #4924 from liyezhang556520/startSlaves and squashes the following 
commits:

7fd5deb [Zhang, Liye] align arguments order with docs of worker


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/d8b3da9d
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/d8b3da9d
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/d8b3da9d

Branch: refs/heads/master
Commit: d8b3da9ddfe44a2886f3841ceef4ebf9fc318640
Parents: eb48fd6
Author: Zhang, Liye <liye.zh...@intel.com>
Authored: Fri Mar 6 09:34:07 2015 +0000
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Mar 6 09:34:07 2015 +0000

----------------------------------------------------------------------
 sbin/start-slaves.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/d8b3da9d/sbin/start-slaves.sh
----------------------------------------------------------------------
diff --git a/sbin/start-slaves.sh b/sbin/start-slaves.sh
index ba1a84a..76316a3 100755
--- a/sbin/start-slaves.sh
+++ b/sbin/start-slaves.sh
@@ -64,6 +64,6 @@ else
     SPARK_WORKER_WEBUI_PORT=8081
   fi
   for ((i=0; i<$SPARK_WORKER_INSTANCES; i++)); do
-    "$sbin/slaves.sh" cd "$SPARK_HOME" \; "$sbin/start-slave.sh" $(( $i + 1 )) 
 "spark://$SPARK_MASTER_IP:$SPARK_MASTER_PORT" --webui-port $(( 
$SPARK_WORKER_WEBUI_PORT + $i ))
+    "$sbin/slaves.sh" cd "$SPARK_HOME" \; "$sbin/start-slave.sh" $(( $i + 1 )) 
--webui-port $(( $SPARK_WORKER_WEBUI_PORT + $i )) 
"spark://$SPARK_MASTER_IP:$SPARK_MASTER_PORT"
   done
 fi


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to