Skip to content

[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
zhuangchong:dev-impt-shell-statuscheck
Aug 31, 2020
Merged

[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
qiaozhanwei merged 2 commits intoapache:devfrom
zhuangchong:dev-impt-shell-statuscheck

Conversation

@zhuangchong
Copy link
Copy Markdown
Contributor

@zhuangchong zhuangchong commented Aug 31, 2020

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:

  • Manually verified the change by testing locally.

4dd7cccc4c4c83d90011212632cce0c


##拉取请求的目的是什么
#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,用于在启动集群服务和关闭集群服务后可以查看集群各服务状态

##验证此请求

该变更增加了测试,并可通过以下方式进行验证:

-通过本地测试手动验证更改

4dd7cccc4c4c83d90011212632cce0c

@zhuangchong zhuangchong changed the title [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. #3619Dev impt shell statuscheck [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 Aug 31, 2020
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Copy Markdown
Contributor

@qiaozhanwei qiaozhanwei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@qiaozhanwei qiaozhanwei merged commit 908dba4 into apache:dev Aug 31, 2020
@zhuangchong zhuangchong deleted the dev-impt-shell-statuscheck branch August 31, 2020 11:02
@davidzollo davidzollo modified the milestones: 1.4.0, 1.3.3-release Aug 31, 2020
@davidzollo
Copy link
Copy Markdown
Contributor

good job

@xingchun-chen xingchun-chen modified the milestones: 1.3.3-release, 1.4.0 Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants