[Improvement][install,start-all,stop-all] start- all.sh and stop- all.sh After execution, you can view the running status of each node and service. #3619#3627
Merged
qiaozhanwei merged 2 commits intoapache:devfrom Aug 31, 2020
Conversation
added 2 commits
August 29, 2020 19:53
…ing status of each node and service.
|
Kudos, SonarCloud Quality Gate passed!
|
Contributor
|
good job |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of the pull request
#3619
1.start-all.sh and stop- all.sh After execution, you can view the running status of each node and service
2.status-all.sh It can be executed separately to view the running status of each node and service
3. At present, only two kinds of service process states - running and stop are supported, which can be enriched according to the actual situation
Brief change log
1.dolphinscheduler-deamon.sh Add the status command operation type, which is used to check the running status of the server (only support two kinds of service process status - running and stop, which can be enriched according to the actual situation)
2.status-all.sh New through install_ config reads the service installation node and calls dolphin scheduler- deamon.sh Check status, print service status
3.start-all.sh and stop-all.sh New call status-all.sh , which is used to view the status of various services in the cluster after starting and shutting down the cluster service
Verify this pull request
This change added tests and can be verified as follows:
##拉取请求的目的是什么
#3619
1.start-all.sh and stop-all.sh 执行后可查看可查看各节点各服务运行状态
2.status-all.sh 可单独执行,用于查看各节点各服务运行状态
3.目前只支持服务进程状态-RUNNING,STOP两种,后面可以根据实际情况在丰富
##简要变更日志
1.dolphinscheduler-deamon.sh 新增status命令操作类型,用于检查server运行状态(只支持服务进程状态-RUNNING,STOP两种,后面可以根据实际情况在丰富)
2.status-all.sh 新增通过install_confing读取服务安装节点,调用dolphinscheduler-deamon.sh检查状态,打印服务状态
3.start-all.sh and stop-all.sh 新增 调用status-all.sh,用于在启动集群服务和关闭集群服务后可以查看集群各服务状态
##验证此请求
该变更增加了测试,并可通过以下方式进行验证:
-通过本地测试手动验证更改