Browse Source

[FIX-9471][Script] fix run install.sh error (#9472)

3.0.0/version-upgrade
mazhong 3 years ago committed by GitHub
parent
commit
8821b91829
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      script/remove-zk-node.sh
  2. 2
      script/scp-hosts.sh
  3. 2
      script/start-all.sh
  4. 2
      script/status-all.sh

4
script/remove-zk-node.sh

@ -31,8 +31,8 @@ BIN_DIR=`dirname $0`
BIN_DIR=`cd "$BIN_DIR"; pwd`
DOLPHINSCHEDULER_HOME=$BIN_DIR/..
source ${workDir}/env/install_env.sh
source ${workDir}/dolphinscheduler_env.sh
source ${BIN_DIR}/env/install_env.sh
source ${BIN_DIR}/env/dolphinscheduler_env.sh
export JAVA_HOME=$JAVA_HOME

2
script/scp-hosts.sh

@ -27,7 +27,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
txt="''"
fi
workersGroupMap=()
declare -A workersGroupMap=()
workersGroup=(${workers//,/ })
for workerGroup in ${workersGroup[@]}

2
script/start-all.sh

@ -21,7 +21,7 @@ workDir=`cd ${workDir};pwd`
source ${workDir}/env/install_env.sh
workersGroupMap=()
declare -A workersGroupMap=()
workersGroup=(${workers//,/ })
for workerGroup in ${workersGroup[@]}

2
script/status-all.sh

@ -37,7 +37,7 @@ firstColumn="node server state"
echo $firstColumn
echo -e '\n'
workersGroupMap=()
declare -A workersGroupMap=()
workersGroup=(${workers//,/ })
for workerGroup in ${workersGroup[@]}

Loading…
Cancel
Save