aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorZhang, Liye <liye.zhang@intel.com>2015-03-06 09:34:07 +0000
committerSean Owen <sowen@cloudera.com>2015-03-06 09:34:07 +0000
commitd8b3da9ddfe44a2886f3841ceef4ebf9fc318640 (patch)
treef343f1599b735e53a5d20e48a6f01c322b75376f /sbin
parenteb48fd6e9d55fb034c00e61374bb9c2a86a82fb8 (diff)
downloadspark-d8b3da9ddfe44a2886f3841ceef4ebf9fc318640.tar.gz
spark-d8b3da9ddfe44a2886f3841ceef4ebf9fc318640.tar.bz2
spark-d8b3da9ddfe44a2886f3841ceef4ebf9fc318640.zip
[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.zhang@intel.com> Closes #4924 from liyezhang556520/startSlaves and squashes the following commits: 7fd5deb [Zhang, Liye] align arguments order with docs of worker
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/start-slaves.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/start-slaves.sh b/sbin/start-slaves.sh
index ba1a84abc1..76316a3067 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