提交 2f3c0b9a 编写于 作者: R Robert Metzger

Change cluster shutdown order to avoid heartbeat exceptions during shutdown on large clusters

上级 4771efc2
......@@ -34,8 +34,6 @@ if [ ! -f "$HOSTLIST" ]; then
exit 1
fi
# cluster mode, stop the job manager locally and stop the task manager on every slave host
"$FLINK_BIN_DIR"/jobmanager.sh stop
GOON=true
while $GOON
......@@ -46,3 +44,6 @@ do
ssh -n $FLINK_SSH_OPTS $HOST -- "nohup /bin/bash $FLINK_BIN_DIR/taskmanager.sh stop &"
fi
done < $HOSTLIST
# cluster mode, stop the job manager locally and stop the task manager on every slave host
"$FLINK_BIN_DIR"/jobmanager.sh stop
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册