Browse Source

[release][3.1.6] Doc release 3.1.6 (#14069)

* Added 3.1.6 release document
3.1.6-release
Kerwin 2 years ago committed by GitHub
parent
commit
be2157f5da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      deploy/docker/.env
  2. 4
      deploy/kubernetes/dolphinscheduler/Chart.yaml
  3. 2
      deploy/kubernetes/dolphinscheduler/values.yaml
  4. 488
      docs/configs/docsdev.js
  5. 9
      docs/configs/site.js
  6. 4
      docs/docs/en/guide/expansion-reduction.md
  7. 8
      docs/docs/en/guide/start/docker.md
  8. 4
      docs/docs/en/history-versions.md
  9. 4
      docs/docs/zh/guide/expansion-reduction.md
  10. 6
      docs/docs/zh/guide/start/docker.md
  11. 4
      docs/docs/zh/history-versions.md
  12. 2
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/python/PythonGateway.java
  13. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql
  14. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql
  15. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql
  16. 2
      dolphinscheduler-dao/src/main/resources/sql/soft_version

2
deploy/docker/.env

@ -16,7 +16,7 @@
# under the License. # under the License.
# #
HUB=apache HUB=apache
TAG=3.1.5 TAG=3.1.6
TZ=Asia/Shanghai TZ=Asia/Shanghai
DATABASE=postgresql DATABASE=postgresql

4
deploy/kubernetes/dolphinscheduler/Chart.yaml

@ -35,11 +35,11 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
version: 3.1.5 version: 3.1.6
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
appVersion: 3.1.5 appVersion: 3.1.6
dependencies: dependencies:
- name: postgresql - name: postgresql

2
deploy/kubernetes/dolphinscheduler/values.yaml

@ -23,7 +23,7 @@ timezone: "Asia/Shanghai"
image: image:
registry: "dolphinscheduler.docker.scarf.sh/apache" registry: "dolphinscheduler.docker.scarf.sh/apache"
tag: "3.1.5" tag: "3.1.6"
pullPolicy: "IfNotPresent" pullPolicy: "IfNotPresent"
pullSecret: "" pullSecret: ""
master: dolphinscheduler-master master: dolphinscheduler-master

488
docs/configs/docsdev.js

File diff suppressed because it is too large Load Diff

9
docs/configs/site.js

@ -45,7 +45,7 @@ export default {
children: [ children: [
{ {
key: 'docs0', key: 'docs0',
text: 'latest(3.1.5)', text: 'latest(3.1.6)',
link: '/en-us/docs/latest/user_doc/about/introduction.html', link: '/en-us/docs/latest/user_doc/about/introduction.html',
}, },
{ {
@ -173,11 +173,16 @@ export default {
children: [ children: [
{ {
key: 'docs0', key: 'docs0',
text: '最新版本latest(3.0.0)', text: '最新版本latest(3.1.6)',
link: '/zh-cn/docs/latest/user_doc/about/introduction.html', link: '/zh-cn/docs/latest/user_doc/about/introduction.html',
}, },
{ {
key: 'docs1', key: 'docs1',
text: '3.0.1',
link: '/zh-cn/docs/3.0.1/user_doc/about/introduction.html',
},
{
key: 'docs2',
text: '2.0.6', text: '2.0.6',
link: '/zh-cn/docs/2.0.6/user_doc/guide/quick-start.html', link: '/zh-cn/docs/2.0.6/user_doc/guide/quick-start.html',
}, },

4
docs/docs/en/guide/expansion-reduction.md

@ -30,9 +30,9 @@ Attention: DolphinScheduler itself does not depend on Hadoop, Hive, Spark, but w
mkdir -p /opt mkdir -p /opt
cd /opt cd /opt
# decompress # decompress
tar -zxvf apache-dolphinscheduler-3.1.5-bin.tar.gz -C /opt tar -zxvf apache-dolphinscheduler-3.1.6-bin.tar.gz -C /opt
cd /opt cd /opt
mv apache-dolphinscheduler-3.1.5-bin dolphinscheduler mv apache-dolphinscheduler-3.1.6-bin dolphinscheduler
``` ```
```markdown ```markdown

8
docs/docs/en/guide/start/docker.md

@ -19,7 +19,7 @@ Start DolphinScheduler with standalone-server Docker images is the easiest way t
you can learn DolphinScheduler's concepts and usage, with minimal cost. you can learn DolphinScheduler's concepts and usage, with minimal cost.
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.1.5 $ DOLPHINSCHEDULER_VERSION=3.1.6
$ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}" $ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}"
``` ```
@ -41,7 +41,7 @@ After complete the installation, get the `docker-compose.yaml` file from [downlo
form its source package, and make sure you get the right version. After download the package, you can run the commands as below. form its source package, and make sure you get the right version. After download the package, you can run the commands as below.
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.1.5 $ DOLPHINSCHEDULER_VERSION=3.1.6
$ tar -zxf apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src.tar.gz $ tar -zxf apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src.tar.gz
# Going to docker-compose's location # Going to docker-compose's location
# For Mac or Linux users # For Mac or Linux users
@ -68,7 +68,7 @@ $ docker-compose --profile all up -d
container when it up. You could start DolphinScheduler server separately if you want to reuse your exists services. container when it up. You could start DolphinScheduler server separately if you want to reuse your exists services.
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.1.5 $ DOLPHINSCHEDULER_VERSION=3.1.6
# Initialize the database, make sure database <DATABASE> already exists # Initialize the database, make sure database <DATABASE> already exists
$ docker run -d --name dolphinscheduler-tools \ $ docker run -d --name dolphinscheduler-tools \
-e DATABASE="postgresql" \ -e DATABASE="postgresql" \
@ -129,5 +129,5 @@ and use `admin` and `dolphinscheduler123` as default username and password in th
You can modify some environment variables to change configurations when you are starting servers through Docker. We have You can modify some environment variables to change configurations when you are starting servers through Docker. We have
an example in [using exists PostgreSQL ZooKeeper](#using-exists-postgresql-zookeeper) to change database and ZooKeeper configurations, an example in [using exists PostgreSQL ZooKeeper](#using-exists-postgresql-zookeeper) to change database and ZooKeeper configurations,
and you could find all environment variables in [all environment variables](https://github.com/apache/dolphinscheduler/blob/3.1.5/script/env/dolphinscheduler_env.sh) <!-- markdown-link-check-disable-line --> and you could find all environment variables in [all environment variables](https://github.com/apache/dolphinscheduler/blob/3.1.6/script/env/dolphinscheduler_env.sh) <!-- markdown-link-check-disable-line -->
and change them if you want. and change them if you want.

4
docs/docs/en/history-versions.md

@ -4,6 +4,10 @@
#### Setup instructions, are available for each stable version of Apache DolphinScheduler below: #### Setup instructions, are available for each stable version of Apache DolphinScheduler below:
### Versions: 3.1.6
#### Links: [3.1.6 Document](../3.1.6/user_doc/about/introduction.md)
### Versions: 3.1.5 ### Versions: 3.1.5
#### Links: [3.1.5 Document](../3.1.5/user_doc/about/introduction.md) #### Links: [3.1.5 Document](../3.1.5/user_doc/about/introduction.md)

4
docs/docs/zh/guide/expansion-reduction.md

@ -30,9 +30,9 @@
mkdir -p /opt mkdir -p /opt
cd /opt cd /opt
# 解压缩 # 解压缩
tar -zxvf apache-dolphinscheduler-3.1.5-bin.tar.gz -C /opt tar -zxvf apache-dolphinscheduler-3.1.6-bin.tar.gz -C /opt
cd /opt cd /opt
mv apache-dolphinscheduler-3.1.5-bin dolphinscheduler mv apache-dolphinscheduler-3.1.6-bin dolphinscheduler
``` ```
```markdown ```markdown

6
docs/docs/zh/guide/start/docker.md

@ -18,7 +18,7 @@
你可以最快速的体验到 DolphinScheduler 的大部分功能,了解主要和概念和内容。 你可以最快速的体验到 DolphinScheduler 的大部分功能,了解主要和概念和内容。
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.1.5 $ DOLPHINSCHEDULER_VERSION=3.1.6
$ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}" $ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:25333 -d apache/dolphinscheduler-standalone-server:"${DOLPHINSCHEDULER_VERSION}"
``` ```
@ -37,7 +37,7 @@ $ docker run --name dolphinscheduler-standalone-server -p 12345:12345 -p 25333:2
下载对应版本源码包可能是最快的方法,当下载完源码后就可以运行命令进行部署了。 下载对应版本源码包可能是最快的方法,当下载完源码后就可以运行命令进行部署了。
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.1.5 $ DOLPHINSCHEDULER_VERSION=3.1.6
$ tar -zxf apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src.tar.gz $ tar -zxf apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src.tar.gz
# Mac Linux 用户 # Mac Linux 用户
$ cd apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src/deploy/docker $ cd apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src/deploy/docker
@ -61,7 +61,7 @@ $ docker-compose --profile all up -d
ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 DolphinScheduler 容器。 ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 DolphinScheduler 容器。
```shell ```shell
$ DOLPHINSCHEDULER_VERSION=3.1.5 $ DOLPHINSCHEDULER_VERSION=3.1.6
# 初始化数据库,其确保数据库 <DATABASE> 已经存在 # 初始化数据库,其确保数据库 <DATABASE> 已经存在
$ docker run -d --name dolphinscheduler-tools \ $ docker run -d --name dolphinscheduler-tools \
-e DATABASE="postgresql" \ -e DATABASE="postgresql" \

4
docs/docs/zh/history-versions.md

@ -4,6 +4,10 @@
#### 以下是Apache DolphinScheduler每个稳定版本的设置说明。 #### 以下是Apache DolphinScheduler每个稳定版本的设置说明。
### Versions: 3.1.6
#### Links: [3.1.6 文档](../3.1.6/user_doc/about/introduction.md)
### Versions: 3.1.5 ### Versions: 3.1.5
#### Links: [3.1.5 文档](../3.1.5/user_doc/about/introduction.md) #### Links: [3.1.5 文档](../3.1.5/user_doc/about/introduction.md)

2
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/python/PythonGateway.java

@ -270,7 +270,7 @@ public class PythonGateway {
null, timeout, user.getTenantCode(), taskRelationJson, taskDefinitionJson, otherParamsJson, null, timeout, user.getTenantCode(), taskRelationJson, taskDefinitionJson, otherParamsJson,
executionTypeEnum); executionTypeEnum);
if (result.get(Constants.STATUS) != Status.SUCCESS) { if (result.get(Constants.STATUS) != Status.SUCCESS) {
log.error(result.get(Constants.MSG).toString()); logger.error(result.get(Constants.MSG).toString());
throw new ServiceException(result.get(Constants.MSG).toString()); throw new ServiceException(result.get(Constants.MSG).toString());
} }
processDefinition = (ProcessDefinition) result.get(Constants.DATA_LIST); processDefinition = (ProcessDefinition) result.get(Constants.DATA_LIST);

2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql

@ -990,7 +990,7 @@ CREATE TABLE t_ds_version
-- Records of t_ds_version -- Records of t_ds_version
-- ---------------------------- -- ----------------------------
INSERT INTO t_ds_version INSERT INTO t_ds_version
VALUES ('1', '3.1.5'); VALUES ('1', '3.1.6');
-- ---------------------------- -- ----------------------------

2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql

@ -981,7 +981,7 @@ CREATE TABLE `t_ds_version` (
-- ---------------------------- -- ----------------------------
-- Records of t_ds_version -- Records of t_ds_version
-- ---------------------------- -- ----------------------------
INSERT IGNORE INTO `t_ds_version` VALUES ('1', '3.1.5'); INSERT IGNORE INTO `t_ds_version` VALUES ('1', '3.1.6');
-- ---------------------------- -- ----------------------------

2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql

@ -973,7 +973,7 @@ INSERT INTO t_ds_queue(queue_name, queue, create_time, update_time)
VALUES ('default', 'default', '2018-11-29 10:22:33', '2018-11-29 10:22:33'); VALUES ('default', 'default', '2018-11-29 10:22:33', '2018-11-29 10:22:33');
-- Records of t_ds_queue,default queue name : default -- Records of t_ds_queue,default queue name : default
INSERT INTO t_ds_version(version) VALUES ('3.1.5'); INSERT INTO t_ds_version(version) VALUES ('3.1.6');
-- --
-- Table structure for table t_ds_plugin_define -- Table structure for table t_ds_plugin_define

2
dolphinscheduler-dao/src/main/resources/sql/soft_version

@ -1 +1 @@
3.1.5 3.1.6

Loading…
Cancel
Save