Browse Source

scripts name standardization (#813)

* service start exception modify

* master,worker start modify

* .env update

* install-escheduler-ui.sh,monitor_server.py and install.sh scripts comment change to english and install-escheduler-ui.sh use escheduler change to dolphinscheduler

* scripts name standardization
pull/2/head
qiaozhanwei 5 years ago committed by lgcareer
parent
commit
bbe7a256a8
  1. 8
      docs/en_US/backend-deployment.md
  2. 4
      docs/en_US/upgrade.md
  3. 4
      docs/zh_CN/升级文档.md
  4. 8
      docs/zh_CN/后端部署文档.md
  5. 4
      package.xml
  6. 0
      script/create-escheduler.sh
  7. 0
      script/del-zk-node.py
  8. 0
      script/monitor-server.py
  9. 0
      script/scp-hosts.sh
  10. 0
      script/start-all.sh
  11. 0
      script/stop-all.sh
  12. 0
      script/upgrade-escheduler.sh

8
docs/en_US/backend-deployment.md

@ -69,7 +69,7 @@ Configure SSH secret-free login on deployment machines and other installation ma
Execute scripts for creating tables and importing basic data Execute scripts for creating tables and importing basic data
``` ```
sh ./script/create_escheduler.sh sh ./script/create-escheduler.sh
``` ```
#### Preparations 5: Modify the deployment directory permissions and operation parameters #### Preparations 5: Modify the deployment directory permissions and operation parameters
@ -158,11 +158,11 @@ After normal compilation, ./target/escheduler-{version}/ is generated in the cur
* stop all services in the cluster * stop all services in the cluster
` sh ./bin/stop_all.sh` ` sh ./bin/stop-all.sh`
* start all services in the cluster * start all services in the cluster
` sh ./bin/start_all.sh` ` sh ./bin/start-all.sh`
* start and stop one master server * start and stop one master server
@ -201,7 +201,7 @@ sh ./bin/escheduler-daemon.sh stop alert-server
Database upgrade is a function added in version 1.0.2. The database can be upgraded automatically by executing the following command: Database upgrade is a function added in version 1.0.2. The database can be upgraded automatically by executing the following command:
```upgrade ```upgrade
sh ./script/upgrade_escheduler.sh sh ./script/upgrade-escheduler.sh
``` ```

4
docs/en_US/upgrade.md

@ -5,7 +5,7 @@
## 2. Stop all services of escheduler ## 2. Stop all services of escheduler
`sh ./script/stop_all.sh` `sh ./script/stop-all.sh`
## 3. Download the new version of the installation package ## 3. Download the new version of the installation package
@ -23,7 +23,7 @@
- Execute database upgrade script - Execute database upgrade script
`sh ./script/upgrade_escheduler.sh` `sh ./script/upgrade-escheduler.sh`
## 5. Backend service upgrade ## 5. Backend service upgrade

4
docs/zh_CN/升级文档.md

@ -5,7 +5,7 @@
## 2. 停止escheduler所有服务 ## 2. 停止escheduler所有服务
`sh ./script/stop_all.sh` `sh ./script/stop-all.sh`
## 3. 下载新版本的安装包 ## 3. 下载新版本的安装包
@ -23,7 +23,7 @@
- 执行数据库升级脚本 - 执行数据库升级脚本
`sh ./script/upgrade_escheduler.sh` `sh ./script/upgrade-escheduler.sh`
## 5. 后端服务升级 ## 5. 后端服务升级

8
docs/zh_CN/后端部署文档.md

@ -63,7 +63,7 @@ escheduler ALL=(ALL) NOPASSWD: NOPASSWD: ALL
``` ```
执行创建表和导入基础数据脚本 执行创建表和导入基础数据脚本
``` ```
sh ./script/create_escheduler.sh sh ./script/create-escheduler.sh
``` ```
#### 准备五: 修改部署目录权限及运行参数 #### 准备五: 修改部署目录权限及运行参数
@ -164,11 +164,11 @@ install.sh : 一键部署脚本
* 一键停止集群所有服务 * 一键停止集群所有服务
` sh ./bin/stop_all.sh` ` sh ./bin/stop-all.sh`
* 一键开启集群所有服务 * 一键开启集群所有服务
` sh ./bin/start_all.sh` ` sh ./bin/start-all.sh`
* 启停Master * 启停Master
@ -206,5 +206,5 @@ sh ./bin/escheduler-daemon.sh stop alert-server
## 3、数据库升级 ## 3、数据库升级
数据库升级是在1.0.2版本增加的功能,执行以下命令即可自动升级数据库 数据库升级是在1.0.2版本增加的功能,执行以下命令即可自动升级数据库
``` ```
sh ./script/upgrade_escheduler.sh sh ./script/upgrade-escheduler.sh
``` ```

4
package.xml

@ -70,8 +70,8 @@
<fileSet> <fileSet>
<directory>script</directory> <directory>script</directory>
<includes> <includes>
<include>start_all.sh</include> <include>start-all.sh</include>
<include>stop_all.sh</include> <include>stop-all.sh</include>
<include>escheduler-daemon.sh</include> <include>escheduler-daemon.sh</include>
</includes> </includes>
<outputDirectory>./bin</outputDirectory> <outputDirectory>./bin</outputDirectory>

0
script/create_escheduler.sh → script/create-escheduler.sh

0
script/del_zk_node.py → script/del-zk-node.py

0
script/monitor_server.py → script/monitor-server.py

0
script/scp_hosts.sh → script/scp-hosts.sh

0
script/start_all.sh → script/start-all.sh

0
script/stop_all.sh → script/stop-all.sh

0
script/upgrade_escheduler.sh → script/upgrade-escheduler.sh

Loading…
Cancel
Save