mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix version check
This commit is contained in:
parent
3c64db88e2
commit
d89cde9347
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@ export SPARK_MASTER_WEBUI_PORT=7072
|
|||
export SPARK_WORKER_WEBUI_PORT=8082
|
||||
${SPARK_HOME}/sbin/start-master.sh
|
||||
|
||||
if [ "${SPARK_VER_RANGE}" == "<=1.3" ]; then # spark 1.3 or prior
|
||||
if [ "${SPARK_VER_RANGE}" == "<=1.3" ]||[ "${SPARK_VER_RANGE}" == "<=1.2" ]; then
|
||||
# spark 1.3 or prior
|
||||
${SPARK_HOME}/sbin/start-slave.sh 1 `hostname`:${SPARK_MASTER_PORT}
|
||||
else
|
||||
${SPARK_HOME}/sbin/start-slave.sh spark://`hostname`:7071
|
||||
|
|
|
|||
Loading…
Reference in a new issue