Skip to content

Commit 610bcba

Browse files
authored
Merge d55c210 into 01eb8f8
2 parents 01eb8f8 + d55c210 commit 610bcba

File tree

17 files changed

+60
-36
lines changed

17 files changed

+60
-36
lines changed

deploy/kubernetes/dolphinscheduler/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Please refer to the [Quick Start in Kubernetes](../../../docs/docs/en/guide/inst
121121
| conf.common."alert.rpc.port" | int | `50052` | rpc port |
122122
| conf.common."appId.collect" | string | `"log"` | way to collect applicationId: log, aop |
123123
| conf.common."conda.path" | string | `"/opt/anaconda3/etc/profile.d/conda.sh"` | set path of conda.sh |
124-
| conf.common."data-quality.jar.name" | string | `"dolphinscheduler-data-quality-dev-SNAPSHOT.jar"` | data quality option |
124+
| conf.common."data-quality.jar.dir" | string | `nil` | data quality option |
125125
| conf.common."data.basedir.path" | string | `"/tmp/dolphinscheduler"` | user data local directory path, please make sure the directory exists and have read write permissions |
126126
| conf.common."datasource.encryption.enable" | bool | `false` | datasource encryption enable |
127127
| conf.common."datasource.encryption.salt" | string | `"!@#$%^&*"` | datasource encryption salt |

deploy/kubernetes/dolphinscheduler/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ conf:
328328
datasource.encryption.salt: '!@#$%^&*'
329329

330330
# -- data quality option
331-
data-quality.jar.name: dolphinscheduler-data-quality-dev-SNAPSHOT.jar
331+
data-quality.jar.dir:
332332

333333
# -- Whether hive SQL is executed in the same session
334334
support.hive.oneSession: false

docs/docs/en/architecture/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ The default configuration is as follows:
226226
| yarn.job.history.status.address | http://ds1:19888/ws/v1/history/mapreduce/jobs/%s | job history status url of yarn |
227227
| datasource.encryption.enable | false | whether to enable datasource encryption |
228228
| datasource.encryption.salt | !@#$%^&* | the salt of the datasource encryption |
229-
| data-quality.jar.name | dolphinscheduler-data-quality-dev-SNAPSHOT.jar | the jar of data quality |
229+
| data-quality.jar.dir | | the jar of data quality |
230230
| support.hive.oneSession | false | specify whether hive SQL is executed in the same session |
231231
| sudo.enable | true | whether to enable sudo |
232232
| alert.rpc.port | 50052 | the RPC port of Alert Server |

docs/docs/en/guide/data-quality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The execution logic of the data quality task is as follows:
1212
- The current data quality task result is stored in the `t_ds_dq_execute_result` table of `dolphinscheduler`
1313
`Worker` sends the task result to `Master`, after `Master` receives `TaskResponse`, it will judge whether the task type is `DataQualityTask`, if so, it will read the corresponding result from `t_ds_dq_execute_result` according to `taskInstanceId`, and then The result is judged according to the check mode, operator and threshold configured by the user.
1414
- If the result is a failure, the corresponding operation, alarm or interruption will be performed according to the failure policy configured by the user.
15-
- If you package `data-quality` separately, remember to modify the package name to be consistent with `data-quality.jar.name` in `common.properties` with attribute name `data-quality.jar.name`
15+
- If you package `data-quality` separately, remember to modify the package name to be consistent with `data-quality.jar.dir` in `common.properties` with attribute name `data-quality.jar.dir`
1616
- If the old version is upgraded and used, you need to execute the `sql` update script to initialize the database before running.
1717
- `dolphinscheduler-data-quality-dev-SNAPSHOT.jar` was built with no dependencies. If a `JDBC` driver is required, you can set the `-jars` parameter in the `node settings` `Option Parameters`, e.g. `--jars /lib/jars/mysql-connector-java-8.0.16.jar`.
1818
- Currently only `MySQL`, `PostgreSQL` and `HIVE` data sources have been tested, other data sources have not been tested yet.

docs/docs/en/guide/resource/configuration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,10 @@ datasource.encryption.enable=false
152152
# datasource encryption salt
153153
datasource.encryption.salt=!@#$%^&*
154154

155-
# data quality absolute path, it would auto discovery from libs directory. You can also specific the jar name in libs directory
156-
# if you re-build it alone, or auto discovery mechanism fail
157-
data-quality.jar.name=
155+
# data quality jar directory path, it would auto discovery data quality jar from this given dir. You should keep it empty if you do not change anything in
156+
# data-quality, it will auto discovery by dolphinscheduler itself. Change it only if you want to use your own data-quality jar and it is not in worker-server
157+
# libs directory(but may sure your jar name start with `dolphinscheduler-data-quality`).
158+
data-quality.jar.dir=
158159

159160
#data-quality.error.output.path=/tmp/data-quality-error-data
160161

docs/docs/en/guide/upgrade/incompatible.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This document records the incompatible updates between each version. You need to
1111
* Change the default unix shell executor from sh to bash ([#12180](https://github.com/apache/dolphinscheduler/pull/12180)).
1212
* Remove `deleteSource` in `download()` of `StorageOperate` ([#14084](https://github.com/apache/dolphinscheduler/pull/14084))
1313
* Remove default key for attribute `data-quality.jar.name` in `common.properties` ([#15551](https://github.com/apache/dolphinscheduler/pull/15551))
14+
* Rename attribute `data-quality.jar.name` to `data-quality.jar.dir` in `common.properties` and represent for directory ([#15563](https://github.com/apache/dolphinscheduler/pull/15563))
1415

1516
## 3.2.0
1617

docs/docs/zh/architecture/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ common.properties配置文件目前主要是配置hadoop/s3/yarn/applicationId
226226
| yarn.job.history.status.address | http://ds1:19888/ws/v1/history/mapreduce/jobs/%s | yarn的作业历史状态URL |
227227
| datasource.encryption.enable | false | 是否启用datasource 加密 |
228228
| datasource.encryption.salt | !@#$%^&* | datasource加密使用的salt |
229-
| data-quality.jar.name | dolphinscheduler-data-quality-dev-SNAPSHOT.jar | 配置数据质量使用的jar包 |
229+
| data-quality.jar.dir | | 配置数据质量使用的jar包 |
230230
| support.hive.oneSession | false | 设置hive SQL是否在同一个session中执行 |
231231
| sudo.enable | true | 是否开启sudo |
232232
| alert.rpc.port | 50052 | Alert Server的RPC端口 |

docs/docs/zh/guide/data-quality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
>
1414
## 注意事项
1515

16-
- 如果单独打包`data-quality`的话,记得修改包名和`data-quality.jar.name`一致,配置内容在 `common.properties` 中的 `data-quality.jar.name`
16+
- 如果单独打包`data-quality`的话,记得修改包路径和`data-quality.jar.dir`一致,配置内容在 `common.properties` 中的 `data-quality.jar.dir`
1717
- 如果是老版本升级使用,运行之前需要先执行`SQL`更新脚本进行数据库初始化。
1818
- 当前 `dolphinscheduler-data-quality-dev-SNAPSHOT.jar` 是瘦包,不包含任何 `JDBC` 驱动。
1919
如果有 `JDBC` 驱动需要,可以在`节点设置` `选项参数`处设置 `--jars` 参数,

docs/docs/zh/guide/resource/configuration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,10 @@ datasource.encryption.enable=false
156156
# datasource encryption salt
157157
datasource.encryption.salt=!@#$%^&*
158158

159-
# data quality absolute path, it would auto discovery from libs directory. You can also specific the jar name in libs directory
160-
# if you re-build it alone, or auto discovery mechanism fail
161-
data-quality.jar.name=
159+
# data quality jar directory path, it would auto discovery data quality jar from this given dir. You should keep it empty if you do not change anything in
160+
# data-quality, it will auto discovery by dolphinscheduler itself. Change it only if you want to use your own data-quality jar and it is not in worker-server
161+
# libs directory(but may sure your jar name start with `dolphinscheduler-data-quality`).
162+
data-quality.jar.dir=
162163

163164
#data-quality.error.output.path=/tmp/data-quality-error-data
164165

dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/resources/docker/file-manage/common.properties

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@ datasource.encryption.enable=false
8484
# datasource encryption salt
8585
datasource.encryption.salt=!@#$%^&*
8686

87-
# data quality absolute path, it would auto discovery from libs directory. You can also specific the jar name in libs directory
88-
# if you re-build it alone, or auto discovery mechanism fail
89-
data-quality.jar.name=
87+
# data quality jar directory path, it would auto discovery data quality jar from this given dir. You should keep it empty if you do not change anything in
88+
# data-quality, it will auto discovery by dolphinscheduler itself. Change it only if you want to use your own data-quality jar and it is not in worker-server
89+
# libs directory(but may sure your jar name start with `dolphinscheduler-data-quality`).
90+
data-quality.jar.dir=
9091

9192
#data-quality.error.output.path=/tmp/data-quality-error-data
9293

0 commit comments

Comments
 (0)