This is an automated email from the ASF dual-hosted git repository.
eights pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 5ecd3b3 fix bug #1996 (#1998)
5ecd3b3 is described below
commit 5ecd3b30b923dc4dfa6ac846b6ac44bfb2f8e11f
Author: DK.Pino <[email protected]>
AuthorDate: Sun Feb 23 16:59:24 2020 +0800
fix bug #1996 (#1998)
---
install.sh | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/install.sh b/install.sh
index 354cdd2..8735543 100644
--- a/install.sh
+++ b/install.sh
@@ -422,17 +422,8 @@ fi
done
-# 3,stop server
-echo "3,stop server"
-sh ${workDir}/script/stop-all.sh
-
-# 4,delete zk node
-echo "4,delete zk node"
-
-sh ${workDir}/script/remove-zk-node.sh $zkRoot
-
-# 5,scp resources
-echo "5,scp resources"
+# 3,scp resources
+echo "3,scp resources"
sh ${workDir}/script/scp-hosts.sh
if [ $? -eq 0 ]
then
@@ -442,6 +433,18 @@ else
exit -1
fi
+
+# 4,stop server
+echo "4,stop server"
+sh ${workDir}/script/stop-all.sh
+
+
+# 5,delete zk node
+echo "5,delete zk node"
+
+sh ${workDir}/script/remove-zk-node.sh $zkRoot
+
+
# 6,startup
echo "6,startup"
sh ${workDir}/script/start-all.sh
\ No newline at end of file