status
stringclasses
1 value
repo_name
stringlengths
9
24
repo_url
stringlengths
28
43
issue_id
int64
1
104k
updated_files
stringlengths
8
1.76k
title
stringlengths
4
369
body
stringlengths
0
254k
issue_url
stringlengths
37
56
pull_url
stringlengths
37
54
before_fix_sha
stringlengths
40
40
after_fix_sha
stringlengths
40
40
report_datetime
timestamp[ns, tz=UTC]
language
stringclasses
5 values
commit_datetime
timestamp[us, tz=UTC]
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,171
["dolphinscheduler-ui/src/components/chart/index.ts", "dolphinscheduler-ui/src/components/chart/modules/Gauge.tsx", "dolphinscheduler-ui/src/views/monitor/servers/master/index.module.scss"]
[Bug] [UI] The cpu and memory dashboard displays abnormally on a 15.6-inch screen with a 1080P resolution.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The cpu and memory dashboard displays abnormally on a 15.6-inch screen with a 1080P resolution. ![1684734259471](https://github.com/apache/dolphinscheduler/assets/16263438/4c9020fd-bc15-4ab8-9054-8bf9dbfdc013) ### What you expected to happen I hope someone fixes it. ### How to reproduce DolphinScheduler-3.1.6 Please open dolphinscheduler UI on a 15.6-inch screen with a 1080P resolution. ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14171
https://github.com/apache/dolphinscheduler/pull/14260
c1a67905149a1d791ec23dca477bc59c08c4f607
f840b17cfbb4c03fd5a4bbc1f0ca71db68edd5ae
2023-05-22T06:03:08Z
java
2023-06-15T07:48:29Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,149
["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java", "dolphinscheduler-master/src/test/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnableTest.java"]
[Bug] [master] Pause the workflow, but the status remains ready pause
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Pause the workflow, but the status remains ready pause. ![image](https://github.com/apache/dolphinscheduler/assets/20450037/99935470-2e1c-41a8-9a29-a0e993be74ca) ### What you expected to happen success pause ### How to reproduce Pause the workflow ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14149
https://github.com/apache/dolphinscheduler/pull/14161
33525a17c3463d4bde56ae2335ecec38b24a5a6a
7ae4fb378779077c75cd6411ef8e3b68f232bd84
2023-05-19T03:28:00Z
java
2023-08-31T12:08:09Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,146
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/AbstractK8sTask.java"]
[Improvement][K8S Task] print complete error logs in task log file
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description If execution of K8S Task meets some exception, we can not get more exception information from current task log file. <img width="1205" alt="image" src="https://github.com/apache/dolphinscheduler/assets/45198818/3e729c80-c383-4e26-bebb-3f7eff4460ba"> ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14146
https://github.com/apache/dolphinscheduler/pull/14147
1011852ab25c7536a0a64448be310bb9c3619d25
9e0991145e5de196f30f2c7c080a6ad48fdf2bb4
2023-05-18T14:05:03Z
java
2023-05-27T09:39:03Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,140
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/task/dependent/DependentAsyncTaskExecuteFunction.java"]
[Bug] [API] Dependent task nodes in workflow instances cannot display data
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The dependent task nodes in the workflow instance cannot display data. ![iShot_2023-05-18_16 52 12](https://github.com/apache/dolphinscheduler/assets/37063904/c035c5a6-51ee-4297-8cea-76bbc7a32630) ### What you expected to happen The dependent task nodes in the workflow instance display data normally ### How to reproduce Run a workflow definition with dependent tasks to view workflow instances. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14140
https://github.com/apache/dolphinscheduler/pull/14141
8583de878bfb877c9c9cb41b2ab8286b8d1dd0d9
503d54aff9dcecb1cf7023fd5850f84d985ac1ec
2023-05-18T09:22:48Z
java
2023-05-18T11:24:53Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,138
["docs/docs/en/guide/metrics/metrics.md", "docs/docs/zh/guide/metrics/metrics.md", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/aspect/AccessLogAspect.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/interceptor/LoginHandlerInterceptor.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/metrics/ApiServerMetrics.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ResourcesServiceTest.java", "dolphinscheduler-meter/src/main/resources/grafana/DolphinSchedulerApi.json"]
[Feature][Metrics] Add metrics for api server
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add metrics for api server ### Use case _No response_ ### Related issues * #11240 ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14138
https://github.com/apache/dolphinscheduler/pull/14177
0ab2447d58f671aa41cd6dc40e9b764c5934f99d
5c4ba4105ded04a61264044c5aa192bd78700165
2023-05-18T07:16:07Z
java
2023-05-23T04:22:49Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,123
["dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Project.java"]
[Bug] [dao] Project entity shouldn't use `!=` in `equals` function
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened `Project.java` entity use `!=` instead of `equals` to compare id, whose type is `Integer`, which may cause a problem when id is not in the range of `-128 ~ 127`: ```java @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Project project = (Project) o; if (id != project.id) { return false; } return name.equals(project.name); } ``` JVM only caches the `Integer` object between -128 and 127, and will create a new object for other numbers: ```java jshell> Integer a = 127 a ==> 127 jshell> Integer b = 127 b ==> 127 jshell> a == b $3 ==> true jshell> Integer b = 128 b ==> 128 jshell> Integer a = 128 a ==> 128 jshell> a == b $6 ==> false ``` ### What you expected to happen When id is not in the range of `-128 ~ 127`, the comparation of projects can get a correct result. ### How to reproduce Create two Project entity `p1` and `p2` with the same name, set the id to the `new Integer(128)`, and call the `p1.equals(p2)`, which will get the `false`. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14123
https://github.com/apache/dolphinscheduler/pull/14167
1cd5070b5dcfdc202a3db08c426dc35053626cab
61118d4467e24f012e7ebc4872d223f8bf95e92b
2023-05-16T09:22:38Z
java
2023-06-13T03:19:04Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,121
["docs/docs/en/guide/project/workflow-definition.md", "docs/docs/zh/guide/project/workflow-definition.md", "dolphinscheduler-ui/src/locales/en_US/project.ts", "dolphinscheduler-ui/src/locales/zh_CN/project.ts", "dolphinscheduler-ui/src/views/projects/workflow/definition/index.tsx"]
Add supported operations of workflow definition
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add supported operations of workflow definition ### Documentation Links _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14121
https://github.com/apache/dolphinscheduler/pull/14122
f0881b65a1a023c7fe72d354d3266bc113bc3360
db2da822dee0b066faa2a3632a041ba3229ec72e
2023-05-16T09:08:27Z
java
2023-05-18T02:27:36Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,119
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/log/remote/S3RemoteLogHandler.java", "dolphinscheduler-storage-plugin/dolphinscheduler-storage-s3/src/main/java/org/apache/dolphinscheduler/plugin/storage/s3/S3StorageOperator.java"]
[Improvement][S3Utils] The checkBucketNameExists method should not use s3Client. listBuckets()
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description The checkBucketNameExists method should not use s3Client. listBuckets() If s3 id&key does not have other bucket permissions, the project will fail to start normally, and it should be checked using doesBucketExistV2 <img width="1511" alt="image" src="https://github.com/apache/dolphinscheduler/assets/33439363/4c73d5b7-67e0-47d5-b8cc-79c68a416e7e"> ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14119
https://github.com/apache/dolphinscheduler/pull/14188
4c2e57cfb3947ca6071d78e375beb91bbc820632
43d7b3597769c40a5d8631a8aca1fdf08578d36e
2023-05-16T08:41:36Z
java
2023-05-24T05:43:44Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,117
["dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/postgresql/dolphinscheduler_ddl.sql"]
[Bug] [DAO] There're a ton of syntax errors in the file of 3.2.0_schema/postgresql/dolphinscheduler_ddl.sql.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened There're a ton of syntax errors in the file of 3.2.0_schema/postgresql/dolphinscheduler_ddl.sql. It looks like these sql use the syntax of mysql. ![image](https://github.com/apache/dolphinscheduler/assets/4928204/453812f3-e345-49f7-a757-623fe97fc41e) ![image](https://github.com/apache/dolphinscheduler/assets/4928204/1f62423c-dd5b-45b5-848a-d73669ea0742) ### What you expected to happen I expect to work out these syntax errors. ### How to reproduce You can look at the file. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14117
https://github.com/apache/dolphinscheduler/pull/14124
74ed7856bc81ebc7942d54661cf1f15833ae8345
f0881b65a1a023c7fe72d354d3266bc113bc3360
2023-05-16T07:47:31Z
java
2023-05-17T00:59:24Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,112
["dolphinscheduler-ui/src/common/column-width-config.ts", "dolphinscheduler-ui/src/locales/en_US/project.ts", "dolphinscheduler-ui/src/locales/zh_CN/project.ts", "dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts", "dolphinscheduler-ui/src/views/projects/workflow/instance/components/process-instance-condition.tsx", "dolphinscheduler-ui/src/views/projects/workflow/instance/index.tsx", "dolphinscheduler-ui/src/views/projects/workflow/instance/types.ts", "dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts"]
[Improvement][UI] Add a quick link to visit workflow instances of the current workflow.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description When you have a lot of workflows in a project it'll be hard to find the workflow instances of the workflow. So it'll be so convenient to add a quick link to visit workflow instances of the current workflow. ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14112
https://github.com/apache/dolphinscheduler/pull/14134
c6512edc3a51ca5a9184c580b7fea33a2df79f1e
03ff78fdcba908f93e4a4b51b106e14a5fc39b5b
2023-05-16T03:23:37Z
java
2023-05-18T11:47:02Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,111
["dolphinscheduler-ui/src/locales/en_US/project.ts", "dolphinscheduler-ui/src/locales/zh_CN/project.ts", "dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts"]
[Improvement][UI] Add a tooltip for the copy button of workflow definition.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description The copy button of workflow definition should have a tooltip to represent the button. ![image](https://github.com/apache/dolphinscheduler/assets/4928204/838c0c7e-4cb9-4134-b234-4081d7afe99f) ![image](https://github.com/apache/dolphinscheduler/assets/4928204/085234ac-64f3-44e7-bd34-dbd65a72382b) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14111
https://github.com/apache/dolphinscheduler/pull/14116
c3809fbecfc87999991da626ec0febc6adadeae0
f384d71da06755ebdf426f0d036412118ba38a5a
2023-05-16T03:17:28Z
java
2023-05-16T08:52:48Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,105
["dolphinscheduler-storage-plugin/dolphinscheduler-storage-hdfs/src/main/java/org/apache/dolphinscheduler/plugin/storage/hdfs/HdfsStorageOperator.java", "dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/utils/TaskExecutionCheckerUtils.java"]
[Bug] [Task] Default tenant can not download resource
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Default tenant can not download resource, we have to change default tenant to bootstrap user. related PR https://github.com/apache/dolphinscheduler/pull/13825 ### What you expected to happen Default tenant can download resource ### How to reproduce Use default tenant. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14105
https://github.com/apache/dolphinscheduler/pull/14106
f384d71da06755ebdf426f0d036412118ba38a5a
74ed7856bc81ebc7942d54661cf1f15833ae8345
2023-05-15T10:44:52Z
java
2023-05-16T10:11:58Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,080
["tools/dependencies/check-LICENSE.sh"]
[Improvement][script] cleanup dist directory at the beginning of check-LICENSE.sh
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description cleanup dist directory at the beginning of check-LICENSE.sh ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14080
https://github.com/apache/dolphinscheduler/pull/14081
708086c8fe2a02f87f0c8bd239d54a1198146381
0ab2447d58f671aa41cd6dc40e9b764c5934f99d
2023-05-11T05:30:59Z
java
2023-05-23T02:52:50Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,060
["docs/img/tasks/demo/dinky_task_id.png"]
[Doc][Task Plugin] Change DinkyTask chinese picture into english picture
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Change DinkyTask chinese picture into english picture. ![dinkytask](https://user-images.githubusercontent.com/32723967/236477910-d6a8d1c5-b18d-4a02-a223-2a01828c4667.png) ### Documentation Links docs/img/tasks/demo/dinky_task_id.png ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14060
https://github.com/apache/dolphinscheduler/pull/14061
e932f780b6a4991354f1f12aa5ad6aebbcd1a95b
76f33bea2b19ba3cf61cf357ca51da8ade4588c0
2023-05-05T14:00:54Z
java
2023-05-05T14:37:01Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,057
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertPluginInstanceMapper.xml"]
[Improvement][Alarm Instance Manage] alarm instance not sorted by update time
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ![image](https://user-images.githubusercontent.com/103415610/236421554-bb2c6f34-8f24-41cb-8a1b-0e30536ed5af.png) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14057
https://github.com/apache/dolphinscheduler/pull/14058
d2f83ee8cf623630ca971975b4c4337b31b529f3
71bbd00ef1698d7d163d53820c2006a1277feb47
2023-05-05T09:22:46Z
java
2023-05-05T12:53:11Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,054
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/am/YarnApplicationManager.java", "dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/processor/WorkerTaskKillProcessor.java"]
[Improvement][Worker] Kill multiple yarn apps at the same time
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Kill multiple yarn apps at the same time ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14054
https://github.com/apache/dolphinscheduler/pull/14055
920e9b80fb96e5b7a273117703a7b89cf31fd4a5
3eb4c0ed1d0ab15280744bbd893e52ce05140052
2023-05-05T07:11:54Z
java
2023-05-06T11:13:12Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,052
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/LogUtils.java"]
[Improvement][Log] Remove the useless filter in getAppIdsFromLogFile
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Remove the useless filter in getAppIdsFromLogFile ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14052
https://github.com/apache/dolphinscheduler/pull/14053
f269ccbd4a494ef63fb82d7160bfebb4dfacbdf2
84edea7593216688d839b458d47785d6ade18ad0
2023-05-05T05:53:46Z
java
2023-05-06T09:00:53Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,049
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TriggerRelationMapper.xml", "dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql"]
[Bug] [dao] Pg does not support ON DUPLICATE KEY UPDATE syntax
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/20450037/236161445-7bd4f437-0f00-45b2-8faa-836ccb78f0d0.png) ### What you expected to happen refer What happened ### How to reproduce run a process ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14049
https://github.com/apache/dolphinscheduler/pull/14051
84edea7593216688d839b458d47785d6ade18ad0
cfbf675737fdc25d2358f7fe08605d6e1a6200a3
2023-05-04T09:14:05Z
java
2023-05-06T09:11:43Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,048
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TriggerRelationMapper.xml", "dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql"]
[Bug] [dao] The queue_id of the default tenant for the pg data source is not set correctly
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/20450037/236159991-01acd9c3-5897-471d-ad3c-97b182c51bee.png) ![image](https://user-images.githubusercontent.com/20450037/236160045-37b6d0bd-c957-42ab-a846-78153ed264f3.png) ### What you expected to happen The queue_id of the default tenant for the pg data source is set correctly ### How to reproduce Login use pg data source ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14048
https://github.com/apache/dolphinscheduler/pull/14051
84edea7593216688d839b458d47785d6ade18ad0
cfbf675737fdc25d2358f7fe08605d6e1a6200a3
2023-05-04T09:08:32Z
java
2023-05-06T09:11:43Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,047
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TriggerRelationMapper.xml", "dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql"]
[Bug] [dao] t_ds_error_command table of pg creation statement without test_ flag field
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/20450037/236157751-11d565f5-0b18-4101-a665-fdd034ea4041.png) ![image](https://user-images.githubusercontent.com/20450037/236158355-d077a223-6145-4c3a-bb37-e529cbe4a534.png) ### What you expected to happen t_ds_error_command table of pg creation statement with test_ flag field ### How to reproduce refer what happended ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14047
https://github.com/apache/dolphinscheduler/pull/14051
84edea7593216688d839b458d47785d6ade18ad0
cfbf675737fdc25d2358f7fe08605d6e1a6200a3
2023-05-04T09:00:38Z
java
2023-05-06T09:11:43Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,025
["dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/JdbcOperator.java", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/mapper/JdbcRegistryDataMapper.java", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/model/JdbcRegistryData.java", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/model/JdbcRegistryLock.java", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/task/SubscribeDataManager.java", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/resources/mysql_registry_init.sql", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-jdbc/src/main/resources/postgresql_registry_init.sql"]
[Bug] [registry-jdbc] Error caused by using Mysql keyword' key' field in SQL.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Error caused by using Mysql keyword 'key' field in SQL. related table t_ds_jdbc_registry_lock and t_ds_jdbc_registry_data。 ![image_720](https://user-images.githubusercontent.com/6326356/234745714-52936bc7-8c4a-4757-a8b4-251de6a8eb4f.png) ![image_720 (1)](https://user-images.githubusercontent.com/6326356/234745719-abf0b66a-6044-4097-9968-4bc9268a3a68.png) ![image_720 (2)](https://user-images.githubusercontent.com/6326356/234745722-bd172da1-ac27-4b9b-ab09-63288f9fc449.png) ### What you expected to happen none ### How to reproduce Avoid using common database keywords as object attributes. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14025
https://github.com/apache/dolphinscheduler/pull/14043
3bad68a942b5c73a5e9028a11525fa2ff705949f
0a025224206916bb2fb80dfabe97f0e419cb886e
2023-04-27T02:46:04Z
java
2023-05-04T14:51:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,010
["dolphinscheduler-ui/src/views/resource/components/resource/index.tsx"]
[Improvement][ui] resource file manager page,repeat onMounted optimize
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description repeat onMounted optimize ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14010
https://github.com/apache/dolphinscheduler/pull/14011
8c43e71adf3d98ad1e63711abfdf1d125e262c76
b451d646967859e3e3491c0b056ef941c8618318
2023-04-25T08:29:29Z
java
2023-04-25T09:28:58Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,008
["dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-etcd/src/main/java/org/apache/dolphinscheduler/plugin/registry/etcd/EtcdKeepAliveLeaseManager.java", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-etcd/src/main/java/org/apache/dolphinscheduler/plugin/registry/etcd/EtcdRegistry.java", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-etcd/src/test/java/org/apache/dolphinscheduler/plugin/registry/etcd/EtcdKeepAliveLeaseManagerTest.java"]
[Bug] [registry] use etcd lease memory leak
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/20450037/234213470-91b8ebc7-dd06-4b5e-afa5-ec09c7f20be3.png) ![image](https://user-images.githubusercontent.com/20450037/234213538-7720e822-984a-481c-be9f-b84679978dfa.png) When using the ETCD registry, each put operation creates a Lease that is cached in memory. As shown in the screenshot, both the ETCD server and client have over 170 Leases. ### What you expected to happen Lease can be released normally ### How to reproduce Using the ETCD registry ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14008
https://github.com/apache/dolphinscheduler/pull/14034
9ce88711589a3b1ba17f141888536e3e6ee3e41c
d87a0d831c7bbf768c2c80ab1e0020c3ebc5f4aa
2023-04-25T08:07:26Z
java
2023-07-28T14:07:37Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,007
["docs/docs/en/guide/parameter/built-in.md", "docs/docs/zh/guide/parameter/built-in.md", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/expand/CuringGlobalParams.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/expand/CuringGlobalParamsServiceTest.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/TaskConstants.java"]
[Feature] Add project id/workflow definition id/instance id to the built-in variables
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description These Ids are useful things that can be used as part of path (or something like that) to record temporary result generated by each modules ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14007
https://github.com/apache/dolphinscheduler/pull/14099
41e3ce35a70a03e2a44f0858bc91ca2443101043
af7da0630eb1cb777da6ea1ef5508a3b237b84fb
2023-04-25T07:39:42Z
java
2023-05-25T03:02:39Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
14,000
["dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/config/WorkerConfig.java"]
[Bug] [worker] WorkerConfig output is wrong
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ```Java log.info("Worker config: workerAddress -> {}", registryDisconnectStrategy); ``` output is wrong ### What you expected to happen ```Java log.info("Worker config: workerAddress -> {}", workerAddress); ``` ### How to reproduce run ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/14000
https://github.com/apache/dolphinscheduler/pull/14001
fba47b337e3befec2fc104f9de30bda6986d7f51
f6e0f2e47149175d3afa2d257d17ba68f3b0b27a
2023-04-24T08:41:29Z
java
2023-04-24T11:04:34Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,989
["dolphinscheduler-storage-plugin/dolphinscheduler-storage-hdfs/src/main/java/org/apache/dolphinscheduler/plugin/storage/hdfs/HdfsStorageOperator.java"]
[Bug] [resource] resource center
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened <img width="2090" alt="image" src="https://user-images.githubusercontent.com/15820530/233613636-ba02370d-2638-46ac-93a4-00f15aaaa5ff.png"> click resource center and the error message will show ```log Internal Server Error: The path does not exist. make sure resource path: ``` ### What you expected to happen should not raise error. ### How to reproduce start and click resources center ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13989
https://github.com/apache/dolphinscheduler/pull/14021
76f33bea2b19ba3cf61cf357ca51da8ade4588c0
f269ccbd4a494ef63fb82d7160bfebb4dfacbdf2
2023-04-21T10:28:38Z
java
2023-05-06T08:59:29Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,987
["dolphinscheduler-bom/pom.xml", "dolphinscheduler-dist/release-docs/LICENSE", "tools/dependencies/known-dependencies.txt"]
[Bug] [Master] Could not find class when using etcd as the registration center
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registryClient': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: com/google/protobuf/GeneratedMessageV3 at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ... 61 more ### What you expected to happen master could use etcd as the registration center ### How to reproduce use etcd as the registration center ### Anything else I found `protobuf-java` in master module is 2.x version, worker module is 3.x version. So worker can start success but master failed. Maybe should use `maven-shade-plugin` in etcd module to fix it. ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13987
https://github.com/apache/dolphinscheduler/pull/13998
29a98881679f9a3f307350f6c579583b66dc9ea0
b72077011bd667e44784abb094302a34ae4e5789
2023-04-21T09:27:53Z
java
2023-07-11T13:54:24Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,984
["docs/docs/en/guide/resource/configuration.md", "docs/docs/zh/guide/resource/configuration.md"]
[Improvement][DOC] Update resource S3 configuration docs
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description <img width="861" alt="image" src="https://user-images.githubusercontent.com/31528124/233582862-1c2c67f1-8711-4325-8e6e-cdf84df7d5e0.png"> This part of the document is not user-friendly for new users, and many people make mistakes here. https://dolphinscheduler.apache.org/en-us/docs/3.1.5/guide/resource/configuration ### Documentation Links _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13984
https://github.com/apache/dolphinscheduler/pull/13985
d617620b006add58bc34989d40ce62ec891e2bf7
5c1edd2912b63cfa57a2dc914670ffe5e0a70e09
2023-04-21T08:22:03Z
java
2023-04-21T09:00:14Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,977
["dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/mysql/dolphinscheduler_ddl.sql"]
[Bug] [SQL] 3.2.0_schema mysql ddl sql error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Run `dolphinscheduler_ddl.sql` and get error: `ERROR 1060 (42S21): Duplicate column name 'tenant_code'` Because two table names in `add_improvement_workflow_run_tenant` are wrong. ### What you expected to happen Execute successfully. ### How to reproduce Execute `dolphinscheduler_ddl.sql` ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13977
https://github.com/apache/dolphinscheduler/pull/13979
ec292209775594529908b74635d2654b8ab530ed
c2711f501fa76cda0fadb0999a569b63b2a5ba8f
2023-04-21T04:34:09Z
java
2023-04-21T07:14:44Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,976
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java"]
[Bug] [Master] set task force success then recovery failed process instance, but the task run again
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened dag : a -> b -> c Task b failed, and set force success. Then recovery failed then process instance. Task b run again. ### What you expected to happen I think the task has been set to force success, and when recovery fails, it should start downstream. Starting from task c in the example. ### How to reproduce refer to what happended ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13976
https://github.com/apache/dolphinscheduler/pull/14611
1e3132741855e819f0739da922377538423328ec
50cc65b118a2edc2738af0656d189de9c1cb9a57
2023-04-21T04:08:11Z
java
2023-07-21T03:50:29Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,972
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java"]
[Bug] [master] the task depend type is null when recovery suspend
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/20450037/233298383-190c9be8-5a5b-4436-8155-6b81646fc089.png) ![image](https://user-images.githubusercontent.com/20450037/233299564-832651e4-e8de-4b0d-9471-605b4e8785e2.png) When I trigger recovery suspend, the taskDependType of the Command in the database is set to null. But when the master node get the Command, it becomes Task_ only. The check about `checkCmdParam` failed. ### What you expected to happen recovery suspend success ### How to reproduce recovery suspend ### Anything else I found `Command` have default `taskDependType`, but it is not useful with `@Builder`. Maybe should use `@Builder.Default` ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13972
https://github.com/apache/dolphinscheduler/pull/14612
cb55476235c6a5d5fddfa24f5944e2cc8aeae390
dde45dbdfba3f6591ae8ccbe1c2f70d154fb2106
2023-04-20T08:05:00Z
java
2023-08-14T01:53:26Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,966
["dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/log/SensitiveDataConverterTest.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxTask.java"]
[Improvement][DataX] mask the ``` post jdbc info``` in DataX log
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description had not hidden account and password ![企业微信截图_1681954849118](https://user-images.githubusercontent.com/33984497/233241360-e84c2aa8-1e50-4e03-ab44-45080c6729ef.png) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13966
https://github.com/apache/dolphinscheduler/pull/13969
34f5b009e18dbeeda20c5befb0dc44ed74b826da
ec292209775594529908b74635d2654b8ab530ed
2023-04-20T02:22:45Z
java
2023-04-21T06:51:37Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,959
["dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/postgresql/dolphinscheduler_dml.sql"]
[Bug] [Data-Quality] Due to errors in the DML statements of DolphinScheduler’s 3.x metadata upgrade script, the DataQuality task fails to run.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When I upgraded DolphinScheduler from 2.0.5 to 3.1.5 and tried to run a Data-Quality task, I got the following error: ``` [INFO] 2023-04-18 11:48:37.550 +0800 - -> 2023-04-18 11:48:36,553 INFO session.SessionState: Created HDFS directory: /tmp/hive/hadoop/a1886b9d-2178-4863-a060-777c97a8e0c7/_tmp_space.db 2023-04-18 11:48:36,555 INFO client.HiveClientImpl: Warehouse location for Hive client (version 1.2.2) is /user/hive/warehouse Exception in thread "main" org.apache.spark.sql.catalyst.parser.ParseException: extraneous input '@' expecting <EOF>(line 1, pos 56) == SQL == SELECT * FROM test_test01 WHERE (id is null or id = '') @ --------------------------------------------------------^^^ at org.apache.spark.sql.catalyst.parser.ParseException.withCommand(ParseDriver.scala:241) at org.apache.spark.sql.catalyst.parser.AbstractSqlParser.parse(ParseDriver.scala:117) at org.apache.spark.sql.execution.SparkSqlParser.parse(SparkSqlParser.scala:48) at org.apache.spark.sql.catalyst.parser.AbstractSqlParser.parsePlan(ParseDriver.scala:69) at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:643) at org.apache.dolphinscheduler.data.quality.flow.batch.transformer.SqlTransformer.transform(SqlTransformer.java:60) at org.apache.dolphinscheduler.data.quality.execution.SparkBatchExecution.executeTransformer(SparkBatchExecution.java:112) at org.apache.dolphinscheduler.data.quality.execution.SparkBatchExecution.execute(SparkBatchExecution.java:53) at org.apache.dolphinscheduler.data.quality.context.DataQualityContext.execute(DataQualityContext.java:62) at org.apache.dolphinscheduler.data.quality.DataQualityApplication.main(DataQualityApplication.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52) at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:845) at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:161) at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:184) at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86) at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:920) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:929) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) 2023-04-18 11:48:37,411 INFO spark.SparkContext: Invoking stop() from shutdown hook 2023-04-18 11:48:37,420 INFO server.AbstractConnector: Stopped Spark@267517e4{HTTP/1.1,[http/1.1]}{0.0.0.0:4040} 2023-04-18 11:48:37,423 INFO ui.SparkUI: Stopped Spark web UI at http://zk-bi-hdp03:4040 2023-04-18 11:48:37,433 INFO cluster.YarnClientSchedulerBackend: Interrupting monitor thread 2023-04-18 11:48:37,464 INFO cluster.YarnClientSchedulerBackend: Shutting down all executors 2023-04-18 11:48:37,466 INFO cluster.YarnSchedulerBackend$YarnDriverEndpoint: Asking each executor to shut down 2023-04-18 11:48:37,471 INFO cluster.SchedulerExtensionServices: Stopping SchedulerExtensionServices (serviceOption=None, services=List(), started=false) 2023-04-18 11:48:37,475 INFO cluster.YarnClientSchedulerBackend: Stopped 2023-04-18 11:48:37,530 INFO spark.MapOutputTrackerMasterEndpoint: MapOutputTrackerMasterEndpoint stopped! 2023-04-18 11:48:37,548 INFO memory.MemoryStore: MemoryStore cleared 2023-04-18 11:48:37,548 INFO storage.BlockManager: BlockManager stopped ``` ### What you expected to happen The Data-Quality task should run to completion without errors. ### How to reproduce 1、Upgrade DolphinScheduler from version 2.0.5 to version 3.1.5. 2、Using PostgreSQL as the metadata database. 3、Run a Data-Quality task. ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13959
https://github.com/apache/dolphinscheduler/pull/13960
73b505f6397155ccdd007cf5fcabca9f6cc6447f
fba47b337e3befec2fc104f9de30bda6986d7f51
2023-04-19T12:24:54Z
java
2023-04-24T04:08:10Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,951
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process/ProcessServiceTest.java"]
[Bug] [dolphinscheduler-service] StartParams is not applied when task is failover(RECOVER_TOLERANCE_FAULT_PROCESS CommandType)
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Our version is 3.0.5 but dev branch has the same code. During master is restarting, processes and tasks are failover too. But in `ProcessInstanceImpl.java`'s `constructProcessInstance` only reset global params while repeat running is needed by cmdParam: https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java#L773-L776 ```java // reset global params while repeat running is needed by cmdParam if (commandTypeIfComplement == CommandType.REPEAT_RUNNING) { setGlobalParamIfCommanded(processDefinition, cmdParam); } ``` I don't know why this case only. I believe also reset global params from cmdParam when `RECOVER_TOLERANCE_FAULT_PROCESS` CommandType too. ### What you expected to happen Failover tasks should use global parameters from start parameters. ### How to reproduce Processes are started with some start parameters. then these processes are running, kill the specific master that handles processes. tasks failover and restart, but start parameters are missing. ### Anything else _No response_ ### Version 3.0.x ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13951
https://github.com/apache/dolphinscheduler/pull/13958
f1e78627fc1c77e2c9364d905e25ab32b98cbaba
801216bd35634ed2b1bb1f0ea9fa80140fb17e78
2023-04-19T07:22:24Z
java
2023-05-10T05:02:21Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,950
["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/service/MasterFailoverService.java"]
[Bug] [Master] the key of master failover is invalid
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/20450037/232995720-c4a0c781-a21d-4885-a0a0-e5be31b66af6.png) The registryPath attribute of this enum should be used to concatenate keys instead of name. ### What you expected to happen key should '/lock/master-failover/xxx' , rather than 'MASTER_FAILOVER_LOCK/xxx' ### How to reproduce master failover ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13950
https://github.com/apache/dolphinscheduler/pull/13952
0a5b32e8b65d889f745a4858e7e9019684ba5152
1c836bf011af0ad24e4d80d32c1ef84b21ee0e30
2023-04-19T07:16:46Z
java
2023-04-19T09:52:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,945
[".github/workflows/api-test.yml", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/java/org/apache/dolphinscheduler/api/test/cases/ProcessDefinitionAPITest.java", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/java/org/apache/dolphinscheduler/api/test/cases/ProjectAPITest.java", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/java/org/apache/dolphinscheduler/api/test/pages/workflow/ProcessDefinitionPage.java", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/java/org/apache/dolphinscheduler/api/test/utils/RequestClient.java", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/resources/workflow-json/test.json", "dolphinscheduler-api-test/dolphinscheduler-api-test-core/src/main/java/org/apache/dolphinscheduler/api/test/core/Constants.java"]
[Improvement][API Test] Add API test cases for ProcessDefinitionController
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description * Add API test cases for `ProcessDefinitionController` * part of #10411 ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13945
https://github.com/apache/dolphinscheduler/pull/14300
68a3a75211538bb940afe574aeb33ef18e7cd401
d4c523830dbbea1a05fb3d702c74aeed74bd0734
2023-04-18T08:40:37Z
java
2023-07-06T05:17:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,941
["dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java"]
[Bug] [Worker/Task] SqlTask Extended Built-in Parameter Not Substituted
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened SqlTask Extended Built-in Parameter Not Substituted ![image](https://user-images.githubusercontent.com/33439363/232441599-a6ace0d5-620e-497c-9763-27192139531a.png) because the paramsMap may be empty during sqltask execution, subsequent replacement logic will not be executed <img width="1123" alt="image" src="https://user-images.githubusercontent.com/33439363/232441810-2c3ea79c-9e97-4f80-bd4f-dfb7b6cfe366.png"> ### What you expected to happen none ### How to reproduce none ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13941
https://github.com/apache/dolphinscheduler/pull/13975
26c5f3cac4e2ffe08f2d9bf1b38ef696087e4e19
34f5b009e18dbeeda20c5befb0dc44ed74b826da
2023-04-17T09:22:01Z
java
2023-04-21T06:37:52Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,928
["dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-datax.ts"]
[Bug] [datax] A custom template in datax, The user-defined parameter input box is abnormal
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Custom templates in datax The custom parameter input box displays abnormally ![image](https://user-images.githubusercontent.com/28647031/231982194-d660cb38-edec-43bf-86c3-702bf59e66c5.png) ![image](https://user-images.githubusercontent.com/28647031/231982273-1fb4f53c-5e9f-4682-a94e-b5512d24ec4a.png) ### What you expected to happen The custom parameter input box displays abnormally ### How to reproduce The custom parameter input box displays abnormally ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13928
https://github.com/apache/dolphinscheduler/pull/14029
cfbf675737fdc25d2358f7fe08605d6e1a6200a3
920e9b80fb96e5b7a273117703a7b89cf31fd4a5
2023-04-14T08:01:45Z
java
2023-05-06T09:21:56Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,925
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"]
[Bug] [API] Exception when importing workflow definition
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Exception when importing workflow definition ### What you expected to happen Import workflow definitions normally ### How to reproduce Import a workflow definition with schedule time ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13925
https://github.com/apache/dolphinscheduler/pull/13926
61a689aa5aaea5cbb29235dfaaa629804f4b4464
51afbfe159260216b806f0c3c3c20648cf01c0ac
2023-04-13T08:20:50Z
java
2023-04-13T09:01:10Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,923
["deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl", "deploy/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-api.yaml", "deploy/kubernetes/dolphinscheduler/templates/secret-external-etcd-ssl.yaml", "deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-master.yaml", "deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml", "deploy/kubernetes/dolphinscheduler/values.yaml", "dolphinscheduler-master/pom.xml", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-etcd/README.md", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-etcd/src/main/java/org/apache/dolphinscheduler/plugin/registry/etcd/EtcdRegistry.java", "dolphinscheduler-registry/dolphinscheduler-registry-plugins/dolphinscheduler-registry-etcd/src/main/java/org/apache/dolphinscheduler/plugin/registry/etcd/EtcdRegistryProperties.java"]
[Improvement][Etcd] Support SSL In Etcd And Enhance Etcd In Helm
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Support SSL In Etcd And Enhance Etcd In Helm ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13923
https://github.com/apache/dolphinscheduler/pull/13924
465e7ae6ee44d50f6f319ddfaab82bdf77fec0e5
1c0dfbb0442752180d25bcbdd0eb5a4bc6453e2b
2023-04-13T08:12:59Z
java
2023-06-14T05:29:50Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,917
["dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts", "dolphinscheduler-ui/src/views/projects/task/components/node/types.ts"]
[Bug] [UI] In the dependent task node page, the project name, workflow name, task name component search is invalid
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened In the dependent task node page, the project name, workflow name, task name component search is invalid. There are three workflows under the test project: `test-0`, `test`, `shell-1`, when I enter `sh` in the workflow name search box, the query returns no data, and the workflow should be returned normally define `shell-1`. ![iShot_2023-04-12_18 06 18](https://user-images.githubusercontent.com/37063904/231428403-cef9cf9d-9ab3-4bcf-bfb1-1f06de68b0ef.png) ![iShot_2023-04-12_18 06 26](https://user-images.githubusercontent.com/37063904/231428445-e3c6014c-fe18-436e-b974-ff4c5430693a.png) ### What you expected to happen In the dependent task node page, search for project name, workflow name, task name ### How to reproduce In the dependent task node page, the project name, workflow name, task name component search is invalid. ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13917
https://github.com/apache/dolphinscheduler/pull/13918
f9f88cb505d0a458e24b841add860ff4a3df3710
c3de282f3175ecbe6b52affb8c9aad4233f91802
2023-04-12T10:18:46Z
java
2023-04-13T00:56:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,911
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"]
[Improvement][JSON] Improve the readability of workflow exported json files
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description * Improve the readability of workflow exported json files ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13911
https://github.com/apache/dolphinscheduler/pull/13912
c3de282f3175ecbe6b52affb8c9aad4233f91802
bae8df6aa1360885c840fc9e8a711bfc3e0dceaa
2023-04-11T12:08:29Z
java
2023-04-13T03:15:07Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,884
["dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts"]
[Improvement][UI] Improve the UI of flink sql task
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Improve the UI of flink sql task ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13884
https://github.com/apache/dolphinscheduler/pull/13885
4439c1ec9096bd4ae3a7e4ad7edb939992a4f7ce
1b6dbde470331ed11ce96cf4af32f266b6d6f93f
2023-04-07T05:22:42Z
java
2023-04-09T03:17:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,882
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/k8s/K8sManager.java", "dolphinscheduler-bom/pom.xml", "dolphinscheduler-dist/release-docs/LICENSE", "dolphinscheduler-dist/release-docs/licenses/LICENSE-kubernetes-client.txt", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/pom.xml", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/am/KubernetesApplicationManager.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/K8sUtils.java", "tools/dependencies/known-dependencies.txt"]
[Bug] [Worker] Collect incomplete pod log when pod fails
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Sometimes, we can not collect complete pod logs if pod fails and will throw an IOException. We collect logs: ``` ... [K8S-pod-log-spark-pi]: + CMD=("$SPARK_HOME/bin/spark-submit" --conf "spark.driver.bindAddress=$SPARK_DRIVER_BIND_ADDRESS" --deploy-mode client "$@") [K8S-pod-log-spark-pi]: + exec /usr/bin/tini -s -- /opt/spark/bin/spark-submit --conf spark.driver.bindAddress=10.244.2.175 --deploy-mode client --properties-file /opt/spark/conf/spark.properties --class org.apache.spark.examples.SparkPi hdfs://10.176.24.55:9000/dolphinscheduler/wangwr/resources/spark-examples_2.13-3.2.0.jar 10 [K8S-pod-log-spark-pi]: /opt/spa ``` Complete logs should be: ``` ... [K8S-pod-log-spark-pi]: + CMD=("$SPARK_HOME/bin/spark-submit" --conf "spark.driver.bindAddress=$SPARK_DRIVER_BIND_ADDRESS" --deploy-mode client "$@") [K8S-pod-log-spark-pi]: + exec /usr/bin/tini -s -- /opt/spark/bin/spark-submit --conf spark.driver.bindAddress=10.244.2.175 --deploy-mode client --properties-file /opt/spark/conf/spark.properties --class org.apache.spark.examples.SparkPi hdfs://10.176.24.55:9000/dolphinscheduler/wangwr/resources/spark-examples_2.13-3.2.0.jar 10 [K8S-pod-log-spark-pi]: /opt/spark/bin/spark-class: line 71: /opt/jdk/bin/java: No such file or directory [K8S-pod-log-spark-pi]: /opt/spark/bin/spark-class: line 96: CMD: bad array subscript ``` It can be seen that the last two lines of error logs are lost. <br><br> ### What you expected to happen Collect complete pod log whether pod runs successfully or not. ### How to reproduce **NOT ALWAYS INCOMPLETE!** It only happens when `PipedInputStream` and `PipedOutputStream` are closed before asynchronously write log (from response body of the last polling) into `PipedOutputStream`. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13882
https://github.com/apache/dolphinscheduler/pull/13891
4bf097ee4022df05e730469f2f0984dad892c129
119f08d2bafd7d280dd9d323dae21ead2e08147f
2023-04-06T15:52:01Z
java
2023-04-17T04:04:36Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,876
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/OSUtils.java"]
[Bug] [dolphinscheduler-task-api] when sudo enable is false, execute command will failed
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened when sudo enable is false, the tenant doesn't have sudo permission, execute command will failed. The error info is sudo: pam_open_session: System error sudo: policy plugin failed session initialization ### What you expected to happen When the tenant doesn't have sudo permission, execute command will failed. While set api-server/conf/common.properties and worker-server/conf/common.properties sudo.enable = false, the execute command should not append "sudo -u" string. ### How to reproduce When the tenant doesn't have sudo permission, the worker server is stopping cause by some reason, then the worker will disconnected and kill all running tasks ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13876
https://github.com/apache/dolphinscheduler/pull/13860
7e3ecfa68fbed74623dec97ae061dd386222d6a9
d772f2492b83e38c6615f4e48d6c6253f7ef74bc
2023-04-06T02:43:20Z
java
2023-04-07T09:13:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,869
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/python/PythonGateway.java"]
[Improvement] [dolphinscheduler-api] There is no judgment whether to return to success
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened An error occurred when creating a python script, but no reason was returned ### What you expected to happen return error reason ### How to reproduce ![image](https://user-images.githubusercontent.com/61672564/229731862-4bd946d6-0b7c-4e17-a290-e3e3c9817366.png) ### Anything else _No response_ ### Version 3.0.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13869
https://github.com/apache/dolphinscheduler/pull/13873
45586f71d548cf22195bcc60c63d8bc84884974f
dc4cd976c1ebc6f76ce69cf259f7c80b3165f061
2023-04-04T08:20:33Z
java
2023-04-19T02:23:20Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,859
["dolphinscheduler-api-test/dolphinscheduler-api-test-case/pom.xml", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/java/org/apache/dolphinscheduler/api.test/cases/TenantAPITest.java", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/java/org/apache/dolphinscheduler/api.test/cases/WorkerGroupAPITest.java", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/java/org/apache/dolphinscheduler/api.test/pages/security/WorkerGroupPage.java", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/java/org/apache/dolphinscheduler/api.test/utils/RequestClient.java", "dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/resources/docker/basic/docker-compose.yaml", "dolphinscheduler-api-test/dolphinscheduler-api-test-core/src/main/java/org/apache/dolphinscheduler/api/test/core/DolphinSchedulerExtension.java", "dolphinscheduler-api-test/lombok.config"]
[Improvement][API Test] Add API test cases for worker group
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description * Add API test cases for worker group * Part of #10411 ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13859
https://github.com/apache/dolphinscheduler/pull/13936
cf91544b99e158c9e97360c7234fd24bc488151a
4545093c1baa664060a67b58a5b42a13706c1bf1
2023-04-03T09:19:30Z
java
2023-04-26T04:03:42Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,840
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/SchedulerServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/SchedulerServiceTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/cron/CronUtils.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/cron/CronUtilsTest.java"]
[Bug] [Cron] Parse corn expression error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Crontab check and schedule use two crontab classes but will throw `org.apache.dolphinscheduler.service.exceptions.CronParseException: Parse corn expression:` exception. ### What you expected to happen Runs expect. ### How to reproduce 1. Config crontab use tools. ![image](https://user-images.githubusercontent.com/20885366/229078982-605c301f-a834-4986-906b-658e19c9d54c.png) 2. Click `Execute time` and get an error. <img width="507" alt="image" src="https://user-images.githubusercontent.com/20885366/229079094-99f70d31-7242-4e74-ab00-57a28fbb4e38.png"> 3. But can submit success. <img width="354" alt="image" src="https://user-images.githubusercontent.com/20885366/229080281-d917aef7-5380-42dc-bede-31cb7941041a.png"> 4. Runs error. ``` [ERROR] org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[696] - [WorkflowInstance-98287][TaskInstance-0] - Start workflow error org.apache.dolphinscheduler.service.exceptions.CronParseException: Parse corn expression: [0 0 13/0 * * ? *] error at org.apache.dolphinscheduler.service.cron.CronUtils.parse2Cron(CronUtils.java:84) at org.apache.dolphinscheduler.service.cron.CronUtils.getFireDateList(CronUtils.java:131) at org.apache.dolphinscheduler.service.cron.CronUtils.getSelfFireDateList(CronUtils.java:228) at org.apache.dolphinscheduler.service.cron.CronUtils.getSelfFireDateList(CronUtils.java:198) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.initTaskQueue(WorkflowExecuteRunnable.java:887) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.call(WorkflowExecuteRunnable.java:685) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.IllegalArgumentException: Failed to parse cron expression. Period 0 not in range [0, 23] at com.cronutils.parser.CronParser.parse(CronParser.java:131) at org.apache.dolphinscheduler.service.cron.CronUtils.parse2Cron(CronUtils.java:82) ... 9 common frames omitted Caused by: java.lang.IllegalArgumentException: Period 0 not in range [0, 23] ``` ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13840
https://github.com/apache/dolphinscheduler/pull/13841
1b6dbde470331ed11ce96cf4af32f266b6d6f93f
61637cc0a377007e093a9c0f92eb5956bff6ecad
2023-03-31T09:21:19Z
java
2023-04-09T04:50:42Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,828
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java"]
[Bug] [Api] Work group have two default work group records
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened In `Work Group Manage` page, there are two records of the `default` work group when I created work group with the `default` name. <img width="1891" alt="image" src="https://user-images.githubusercontent.com/7887053/228769852-12296e86-b422-4e22-9f6b-765c337755a8.png"> After further debugging, I found that the use of `findAny `at https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java#L296 caused the assume that the default worker group did not exist. As a result, a new default worker group was created in the result, even though it already existed. <img width="1481" alt="image" src="https://user-images.githubusercontent.com/7887053/229013183-cc9e8e96-9ecc-4b4a-b863-4c1c20440a0f.png"> ### What you expected to happen The default work group should be one record. ### How to reproduce Create multiple other work group records and default work group. ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13828
https://github.com/apache/dolphinscheduler/pull/13829
273a5e78eb7056ee0159e1bd30a9675bb0026a21
8f3a23dae5c4cf1fda239d7c35bcc57c76236f1d
2023-03-30T08:01:18Z
java
2023-03-31T03:18:17Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,820
["dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-http/src/main/java/org/apache/dolphinscheduler/plugin/alert/http/HttpSender.java"]
[Bug] [alert] alert http-plugin `Body` is not necessary but if not input any thing got error log
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened I'm try to config a alert using `http` the config page show the `Body` is not necessary, but if not input any thing , got the error log, and not send the alert message. ![image](https://user-images.githubusercontent.com/25143332/228458564-1d493a21-8b1c-4efa-b0d4-4d0ce1ff6ccb.png) ```shell [ERROR] 2023-03-29 07:19:32.245 +0000 org.apache.dolphinscheduler.plugin.alert.http.HttpSender:[164] - send http alert msg exception : null ``` ### What you expected to happen Not input `Body` success. or change the `Body` is must ### How to reproduce don not input the `Body` ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13820
https://github.com/apache/dolphinscheduler/pull/13821
dc4cd976c1ebc6f76ce69cf259f7c80b3165f061
81aa105ff6c27eb28ad82166464bc5eecc59b34a
2023-03-29T07:53:34Z
java
2023-04-19T07:35:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,815
["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java"]
[Bug] [Master] Master sent incorrect timeout alerts for dependent tasks that were successfully executed
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened I got timeout alerts ("Task Timeout Warn" and "Process Timeout Warn") from the alert server when I have dependent tasks in process definitions. But the dependent tasks with timeout alerts are all successfully executed. The alert server is only responsible for receiving alerts. So I think the actual alerts should be generated by the master server. ### What you expected to happen No timeout alerts sent ### How to reproduce 1. Prepare two process definitions,first process definition have one task, second process definition have two tasks. 2. The Second process definition have a dependent task which represent the task in the first process definition, and the timeout set to 1 minute. 3. Another task in the second process definition running time should more that 1 minute. <img width="1249" alt="image" src="https://user-images.githubusercontent.com/7887053/228424041-c9547ab8-d7a2-44d8-8503-535dc83bfbc2.png"> <img width="1567" alt="image" src="https://user-images.githubusercontent.com/7887053/228424136-ec75e98f-53a8-482f-bffb-fdf78b5ba30f.png"> <img width="1297" alt="image" src="https://user-images.githubusercontent.com/7887053/228424193-9d8c8511-cea2-4e59-b0bd-dc45891e60a3.png"> <img width="1318" alt="image" src="https://user-images.githubusercontent.com/7887053/228424231-c02d9cf8-dbf8-4e52-b189-6d746fc3ffbd.png"> ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13815
https://github.com/apache/dolphinscheduler/pull/13822
dcf0109db3ac1481037f40f6d953efc92ba5aa2c
f78ef9ec08d62b575846236a127a13eb3b460a60
2023-03-29T04:11:54Z
java
2023-04-19T08:14:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,804
["dolphinscheduler-storage-plugin/dolphinscheduler-storage-hdfs/src/main/java/org/apache/dolphinscheduler/plugin/storage/hdfs/HdfsStorageOperator.java"]
[Improvement][storage-hdfs] first getDefaultFS change FS_DEFAULT_FS to HDFS_DEFAULT_FS
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description I think ' getConfiguration().get(Constants.FS_DEFAULT_FS)' is try to get 'fs.defaultFS' from core-site.xml/hdfs-site.xml the FS_DEFAULT_FS = "resource.hdfs.fs.defaultFS" , **but core-site.xml/hdfs-site.xml has none 'resource.hdfs.fs.defaultFS'.** so i think ,it can be change to 'getConfiguration().get(Constants.HDFS_DEFAULT_FS)' HDFS_DEFAULT_FS = "fs.defaultFS"; ```java # org/apache/dolphinscheduler/plugin/storage/hdfs/HdfsStorageOperator.java:183 public String getDefaultFS() { String defaultFS = getConfiguration().get(Constants.FS_DEFAULT_FS); if (StringUtils.isBlank(defaultFS)) { defaultFS = hdfsProperties.getDefaultFS(); } return defaultFS; } ```` i thiank it can be change to the folloing. ``` public String getDefaultFS() { String defaultFS = getConfiguration().get(Constants.HDFS_DEFAULT_FS); if (StringUtils.isBlank(defaultFS)) { defaultFS = hdfsProperties.getDefaultFS(); } return defaultFS; } ``` ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13804
https://github.com/apache/dolphinscheduler/pull/13811
53bcf11dcfebc8f0fc582f16d380e08c58265d1f
3305d6d1278f465a22e7ea5c9c4e5abfb1c8de88
2023-03-28T09:14:51Z
java
2023-04-20T06:24:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,803
["dolphinscheduler-ui/src/views/projects/workflow/relation/index.tsx"]
[Improvement][UI] Make the select on the page of workflow relation filterable.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Now the select on the page of workflow relation couldn't input any workflow's name to filter options. And when the workflow name is too long, the options couldn't display the full name. That is so inconvenient. I expect this component can filter options by inputing name. ![image](https://user-images.githubusercontent.com/4928204/228188851-aa12fc31-ffb1-4d26-98c0-ca7e012899c4.png) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13803
https://github.com/apache/dolphinscheduler/pull/13805
4e2c22061ae70af23d2f2a6f87abd86e435aada5
1e8d09e955083da2aba0426fa4d608e758b53114
2023-03-28T09:14:15Z
java
2023-03-28T10:20:42Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,802
["dolphinscheduler-ui/src/views/resource/components/resource/index.tsx", "dolphinscheduler-ui/src/views/resource/components/resource/table/use-table.ts"]
[BUG][UI] Display english column name in resource center
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description - After switching to english UI, it should display english column name, either. <img width="1646" alt="image" src="https://user-images.githubusercontent.com/45198818/228179445-ed65f4f1-9d20-447d-bfd4-f15fc84735e0.png"> ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13802
https://github.com/apache/dolphinscheduler/pull/13806
bae8df6aa1360885c840fc9e8a711bfc3e0dceaa
16b743c777f012dc38eb944897f97817d38a48ff
2023-03-28T08:40:06Z
java
2023-04-13T05:24:41Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,785
["deploy/docker/docker-compose.yml", "deploy/docker/docker-stack.yml"]
[Bug] [docker] pg and zk image best to upgrade to support the arm architecture on m1
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened <img width="656" alt="image" src="https://user-images.githubusercontent.com/20450037/226949182-9eda2c69-ad01-4e26-8a14-ef4d92958580.png"> The current version of the images of pg and zk does not have an arm architecture, and sometimes startup fails on m1. Can I upgrade to a higher version, such as pg: 15.2.0 and zk: 3.7.1? pg和zk的镜像当前版本没有arm架构的, 在m1上有时候启动会失败, 是否可以升级到高版本, 比如pg:15.2.0和zk:3.7.1? ### What you expected to happen The images of pg and zk support arm architecture ### How to reproduce docker-compose start ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13785
https://github.com/apache/dolphinscheduler/pull/13789
f78ef9ec08d62b575846236a127a13eb3b460a60
0a5b32e8b65d889f745a4858e7e9019684ba5152
2023-03-22T15:12:57Z
java
2023-04-19T08:37:01Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,782
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/TaskConstants.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/test/java/org/apache/dolphinscheduler/plugin/task/api/AbstractTaskTest.java"]
[Bug] [API] when param contain ')' ,is wiill lost
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened I try to send a param , the command output string like this : ${setValue(sqls=" INSERT INTO zf_adas_data_upload_log (finish_time, file_path, costs) VALUES ('2023-03-22 21:42','/home/dolphinscheduler/Data/zzz/Vinfast BEV/azure/CompressedFile/EU/LS185/2023-03-21/0001/VF_PR59175_E35_LS185_CAM07A00_MRR06A05_2022_12_01_095835#CANape20_log_297_mf4.7z','16.61552381515503s');")} but I can not work ### What you expected to happen No parenthesis recursion check is done ### How to reproduce use param include ”()” ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13782
https://github.com/apache/dolphinscheduler/pull/13787
8895921d87ad34d5dc98f69ab024a28a1e6b1598
b98566e070d471b12325015ee564bc0478be18e3
2023-03-22T10:47:52Z
java
2023-03-23T14:56:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,780
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessInstanceServiceTest.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/task/DependentTaskProcessor.java"]
[Bug] [API] Process instance DAG can't show dependent task
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Hi,I found that the dependent tasks in the DAG of the process instance cannot be displayed. <img width="1642" alt="image" src="https://user-images.githubusercontent.com/7887053/226829498-c5a965e2-6e2e-42fd-8da8-418bfff4bc64.png"> <img width="1625" alt="image" src="https://user-images.githubusercontent.com/7887053/226829465-1a259110-3ca4-4880-87f2-f01ca74e8c1a.png"> I think it should be caused by the modification of the log format in this [PR](https://github.com/apache/dolphinscheduler/pull/10593/files). <img width="1725" alt="image" src="https://user-images.githubusercontent.com/7887053/226829272-8b1b5c14-4ef1-4459-81e8-db49e105a88e.png"> In the `ProcessInstanceServiceImpl#parseLogForDependentResult` method, it appears to attempt parsing the running result of the dependent task using the `DEPENDENT_SPLIT` constant. Additionally, the running result in the log has been modified. So the parse method will not work too. ### What you expected to happen The process instance DAG displays dependent tasks in the same way as the process definition DAG. ### How to reproduce Create two process definitions like the following screenshots. <img width="1618" alt="image" src="https://user-images.githubusercontent.com/7887053/226830695-548ccdec-64e0-4328-b339-d4aba67401f0.png"> <img width="1447" alt="image" src="https://user-images.githubusercontent.com/7887053/226830775-b6983bf6-7f51-4382-bd52-8f5d8c8f137d.png"> <img width="1527" alt="image" src="https://user-images.githubusercontent.com/7887053/226830819-a8ec1726-a96b-4a70-833e-083c5985f568.png"> ### Anything else _No response_ ### Version 3.1.4 ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13780
https://github.com/apache/dolphinscheduler/pull/13823
81aa105ff6c27eb28ad82166464bc5eecc59b34a
7835ddfdb769306ef4c776a43a162a1b0fde3aca
2023-03-22T07:36:07Z
java
2023-04-19T07:40:51Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,763
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/am/KubernetesApplicationManager.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/am/KubernetesApplicationManagerContext.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/AbstractK8sTask.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/AbstractK8sTaskExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/impl/K8sTaskExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/ProcessUtils.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/test/java/org/apache/dolphinscheduler/plugin/task/api/k8s/K8sTaskExecutorTest.java"]
[Improvement][K8S Task] K8S task should collect whole pod log
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description We should listen the pod log like https://github.com/apache/dolphinscheduler/issues/13751, rather just collect error logs when task runs failed. ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13763
https://github.com/apache/dolphinscheduler/pull/14379
1d0d85b988c7645874237ad9985897e6201941e9
04800a48d19700809ce9b97d2efaf1be34d4e474
2023-03-16T15:59:47Z
java
2023-07-20T10:38:25Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,751
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/am/KubernetesApplicationManager.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/ProcessUtils.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-datax/pom.xml", "dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/runner/WorkerTaskExecuteRunnable.java"]
[Improvement][Worker] Support real-time pod log collection
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description When submitting spark / flink task to Kubernetes, we collect driver pod logs after task execution. There are two potential problems with this way: - Collect large amounts of pod logs will cause OOM. - User can not read pod log in-time, this problem can be exaggerated especially for long-running task. Thus, we should support real-time pod log collection. ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13751
https://github.com/apache/dolphinscheduler/pull/13752
64833952fc510973d14abc7d3fb343fd7e35cc71
d6fcf60534a59deb4efa87279131220baf12f26b
2023-03-15T12:07:32Z
java
2023-04-05T08:13:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,665
["dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxTask.java"]
[Improvement][Datax] if sql include ``` * ``` will print error information in log
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ![image](https://user-images.githubusercontent.com/33984497/222668005-23d0438d-2217-44a4-bb38-84a3a6d1be7e.png) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13665
https://github.com/apache/dolphinscheduler/pull/13680
35d8e8ac172fac7b992b8d60d2a875aefccaa652
6218f818c036b75a23c0df1cc8f0ce464d212f09
2023-03-03T08:18:08Z
java
2023-03-07T03:16:53Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,657
["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java"]
[Bug] [Master] NPE caused by stop and restart flow whenProhibit execution execution task has child node
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Node relations as: Node1 --> Node3; Node2 -->Node3; Node1 is Prohibited When flow is running, or the Node2 instance is runing, Stop this flow, and restart; it thows NPE. It maybe caused by :master rebuild Dag not include Node1. and submit Node2, when Node2 is finished, will check Node3 upstrem task(Node1 and Node2) state, but Node1 is not found in DAG, NPE ### What you expected to happen rebuild Dag include Node1 ### How to reproduce Node relations as: Node1 --> Node3; Node2 -->Node3; Node1 is Prohibited When flow is running, or the Node2 instance is runing, Stop this flow, and restart; it thows NPE. It maybe caused by :master rebuild Dag not include Node1. and submit Node2, when Node2 is finished, will check Node3 upstrem task(Node1 and Node2) state, but Node1 is not found in DAG, NPE ### Anything else _No response_ ### Version 3.0.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13657
https://github.com/apache/dolphinscheduler/pull/13668
9d9ae9ad540a9f2a8bf93345d13418ef417f7227
fba59981d41f0c078e409fcf3a036f138dd686d6
2023-03-01T13:10:38Z
java
2023-03-30T01:56:57Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,653
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/LoggerServiceImpl.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/LogUtils.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/processor/BaseLogProcessor.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/processor/GetLogBytesProcessor.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/processor/RollViewLogRequest.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/processor/ViewWholeLogProcessor.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/log/LogClient.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/log/LoggerRequestProcessorTest.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/LogUtils.java"]
[Improvement][Remote Logging] Support api-server to get task log from remote target
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13653
https://github.com/apache/dolphinscheduler/pull/13654
fba59981d41f0c078e409fcf3a036f138dd686d6
85605bbef9a1191a9a2773b046453f292d4a52fc
2023-03-01T10:22:33Z
java
2023-03-30T04:07:58Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,651
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ResourcesTask.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ResourceTaskMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceTaskMapper.xml", "dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql", "dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql", "dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/mysql/dolphinscheduler_ddl.sql", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process/ProcessServiceTest.java"]
[Improvement][Resource Center] Remove useless table t_ds_relation_resources_task
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description In new resource center, task can download resources directly by `fullName`, also, according to discussion before (https://github.com/apache/dolphinscheduler/pull/13593#issuecomment-1438045083), when delete or update resource, we don't have to check online status of the related task. In this way, `t_ds_relation_resources_task` is useless, DS doesn't have to keep the relation of task and resource. Can we remove table `t_ds_relation_resources_task` and correlative entity, which can simplify code logic in resource center? ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13651
https://github.com/apache/dolphinscheduler/pull/13721
41801663fdc1b265df8e105680d3c53f8923c724
8895921d87ad34d5dc98f69ab024a28a1e6b1598
2023-03-01T09:23:18Z
java
2023-03-23T14:52:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,639
["dolphinscheduler-data-quality/src/main/java/org/apache/dolphinscheduler/data/quality/flow/batch/reader/JdbcReader.java", "dolphinscheduler-data-quality/src/main/java/org/apache/dolphinscheduler/data/quality/flow/batch/writer/JdbcWriter.java", "dolphinscheduler-data-quality/src/main/java/org/apache/dolphinscheduler/data/quality/utils/ParserUtils.java", "dolphinscheduler-data-quality/src/test/java/org/apache/dolphinscheduler/data/quality/utils/ParserUtilsTest.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-dataquality/src/main/java/org/apache/dolphinscheduler/plugin/task/dq/utils/RuleParserUtils.java"]
[Bug] [DataQuality] Dataquality Spark Get Datasource Password Error When Password Has $
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When Datasource has a password has $, running the Data quality job will fail, Data quality Spark job will get the wrong password and cannot connect. ### What you expected to happen Running as expected. ### How to reproduce When I have a Datasource like the below: ``` "user": "ds", "password": "d$dfdf$sadfasdf", "address": "jdbc:mysql://test.com:3306", "database": "ds", "jdbcUrl": "jdbc:mysql://test.com:3306/ds", "driverClassName": "com.mysql.cj.jdbc.Driver", "validationQuery": "select 1", "other": "enabledTLSProtocols=TLSv1.2&useSSL=true&", "props": { "enabledTLSProtocols": "TLSv1.2", "useSSL": "true" } ``` The password is `d$dfdf$sadfasdf` And run data quality job command will like the blow: root@dolphinscheduler-worker-0:/opt/dolphinscheduler# ${SPARK_HOME2}/bin/spark-submit --master local --driver-cores 1 --driver-memory 512M --num-executors 2 --executor-cores 2 --executor-memory 2G --conf spark.yarn.maxAppAttempts=1 --class org.apache.dolphinscheduler.data.quality.DataQualityApplication --jars /opt/dolphinscheduler/libs/mysql-connector-java-8.0.16.jar,/opt/dolphinscheduler/libs/hadoop-aws-2.9.2.jar,/opt/dolphinscheduler/libs/aws-core-2.17.232.jar,/opt/dolphinscheduler/libs/aws-java-sdk-s3-1.12.160.jar,/opt/dolphinscheduler/libs/aws-java-sdk-core-1.12.160.jar,/opt/dolphinscheduler/libs/kyuubi-hive-jdbc-1.6.0-incubating.jar,/opt/dolphinscheduler/libs/libthrift-0.9.3.jar /opt/dolphinscheduler/libs/dolphinscheduler-data-quality-3.1.2-SNAPSHOT.jar "{\"name\":\"$t(table_count_check)\",\"env\":{\"type\":\"batch\",\"config\":null},\"readers\":[{\"type\":\"JDBC\",\"config\":{\"database\":\"ds\",\"password\":\"d$dfdf$sadfasdf\",\"driver\":\"com.mysql.cj.jdbc.Driver\",\"user\":\"ds\",\"output_table\":\"ds_t_ds_version\",\"table\":\"t_ds_version\",\"url\":\"jdbc:mysql://test.com:3306/ds?enabledTLSProtocols=TLSv1.2&useSSL=true&&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false\"} },{\"type\":\"JDBC\",\"config\":{\"database\":\"auth\",\"password\":\"d$dfdf$sadfasdf\",\"driver\":\"com.mysql.cj.jdbc.Driver\",\"user\":\"ds\",\"output_table\":\"ds_data_related_policy\",\"table\":\"data_related_policy\",\"url\":\"jdbc:mysql://test.com:3306/ds?enabledTLSProtocols=TLSv1.2&useSSL=true&&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false\"} }],\"transformers\":[{\"type\":\"sql\",\"config\":{\"index\":1,\"output_table\":\"table_count\",\"sql\":\"SELECT COUNT(*) AS total FROM ds_t_ds_version \"} }],\"writers\":[{\"type\":\"JDBC\",\"config\":{\"database\":\"ds\",\"password\":\"d$dfdf$sadfasdf\",\"driver\":\"com.mysql.cj.jdbc.Driver\",\"user\":\"ds\",\"table\":\"t_ds_dq_execute_result\",\"url\":\"jdbc:mysql://test.com:3306/ds?characterEncoding=utf8&useSSL=true&allowMultiQueries=true&rewriteBatchedStatements=true&autoreconnect=true&enabledTLSProtocols=TLSv1.2&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false\",\"sql\":\"select 0 as rule_type,'$t(table_count_check)' as rule_name,0 as process_definition_id,233064 as process_instance_id,270001 as task_instance_id,table_count.total AS statistics_value,2 AS comparison_value,1 AS comparison_type,0 as check_type,2 as threshold,0 as operator,0 as failure_strategy,'hdfs://mycluster:8020/user/dolphinscheduler/data_quality_error_data/0_233064_test' as error_output_path,'2023-02-27 07:49:32' as create_time,'2023-02-27 07:49:32' as update_time from table_count \"} },{\"type\":\"JDBC\",\"config\":{\"database\":\"ds\",\"password\":\"d$dfdf$sadfasdf\",\"driver\":\"com.mysql.cj.jdbc.Driver\",\"user\":\"ds\",\"table\":\"t_ds_dq_task_statistics_value\",\"url\":\"jdbc:mysql://test.com:3306/ds?characterEncoding=utf8&useSSL=true&allowMultiQueries=true&rewriteBatchedStatements=true&autoreconnect=true&enabledTLSProtocols=TLSv1.2&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false\",\"sql\":\"select 0 as process_definition_id,270001 as task_instance_id,10 as rule_id,'EOHXEHAM25BPOQ5WD+AFF52I3CT78L3VCC6V97Y1N44=' as unique_code,'table_count.total'AS statistics_name,table_count.total AS statistics_value,'2023-02-27 07:49:32' as data_time,'2023-02-27 07:49:32' as create_time,'2023-02-27 07:49:32' as update_time from table_count\"} }]}" And I print the arg[0] in here https://github.com/apache/dolphinscheduler/blob/9668c84d30b2c885cbf20ccf9e76f64a41f77096/dolphinscheduler-data-quality/src/main/java/org/apache/dolphinscheduler/data/quality/DataQualityApplication.java#L42-L49 I will get the arg: {"name":"(table_count_check)","env":{"type":"batch","config":null},"readers":[{"type":"JDBC","config":{"database":"ds","password":"d","driver":"com.mysql.cj.jdbc.Driver","user":"ds","output_table":"ds_t_ds_version","table":"t_ds_version","url":"jdbc:mysql://test.com:3306/ds?enabledTLSProtocols=TLSv1.2&useSSL=true&&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false"} },{"type":"JDBC","config":{"database":"auth","password":"d","driver":"com.mysql.cj.jdbc.Driver","user":"ds","output_table":"ds_data_related_policy","table":"data_related_policy","url":"jdbc:mysql://test.com:3306/ds?enabledTLSProtocols=TLSv1.2&useSSL=true&&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false"} }],"transformers":[{"type":"sql","config":{"index":1,"output_table":"table_count","sql":"SELECT COUNT(*) AS total FROM ds_t_ds_version "} }],"writers":[{"type":"JDBC","config":{"database":"ds","password":"d","driver":"com.mysql.cj.jdbc.Driver","user":"ds","table":"t_ds_dq_execute_result","url":"jdbc:mysql://test.com:3306/ds?characterEncoding=utf8&useSSL=true&allowMultiQueries=true&rewriteBatchedStatements=true&autoreconnect=true&enabledTLSProtocols=TLSv1.2&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false","sql":"select 0 as rule_type,'(table_count_check)' as rule_name,0 as process_definition_id,233064 as process_instance_id,270001 as task_instance_id,table_count.total AS statistics_value,2 AS comparison_value,1 AS comparison_type,0 as check_type,2 as threshold,0 as operator,0 as failure_strategy,'hdfs://mycluster:8020/user/dolphinscheduler/data_quality_error_data/0_233064_test' as error_output_path,'2023-02-27 07:49:32' as create_time,'2023-02-27 07:49:32' as update_time from table_count "} },{"type":"JDBC","config":{"database":"ds","password":"d","driver":"com.mysql.cj.jdbc.Driver","user":"ds","table":"t_ds_dq_task_statistics_value","url":"jdbc:mysql://test.com:3306/ds?characterEncoding=utf8&useSSL=true&allowMultiQueries=true&rewriteBatchedStatements=true&autoreconnect=true&enabledTLSProtocols=TLSv1.2&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false","sql":"select 0 as process_definition_id,270001 as task_instance_id,10 as rule_id,'EOHXEHAM25BPOQ5WD+AFF52I3CT78L3VCC6V97Y1N44=' as unique_code,'table_count.total'AS statistics_name,table_count.total AS statistics_value,'2023-02-27 07:49:32' as data_time,'2023-02-27 07:49:32' as create_time,'2023-02-27 07:49:32' as update_time from table_count"} }]} And the password change to `d` ### Anything else It looks like character $ will be escaped by the system, I will fix this bug. ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13639
https://github.com/apache/dolphinscheduler/pull/13643
7586710d49ea86a22798a3f401a875e2f8669dbc
43d79e45b4b5d81e4066ab2d4e2a96063ed85316
2023-02-27T10:01:15Z
java
2023-02-28T10:50:44Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,603
["dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxUtils.java"]
[Bug] [DATAX] SQLServer not support special field
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/33984497/220583607-e0614354-172e-4dd8-822f-7a13385ced67.png) ![image](https://user-images.githubusercontent.com/33984497/220583712-f3580cd0-844f-45cb-b1a0-e9de8c89cad1.png) ### What you expected to happen use ``` "" ``` instead of ``` ` ``` ### How to reproduce ATT ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13603
https://github.com/apache/dolphinscheduler/pull/13604
7bf3e3cdd66a68ac8d155b08fbd70365aa3a306b
79d3ed0744aae76464b429d1e1d632d27b5457e7
2023-02-22T09:48:39Z
java
2023-02-22T11:01:43Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,597
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapMapper.xml"]
[Bug] [Dao] Have the same id in the same xml file
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/33984497/220500415-2bb34fd7-823e-4641-a257-c7c76e483c8d.png) ![image](https://user-images.githubusercontent.com/33984497/220500431-8ac56806-896a-48e2-9f89-0d3b6fc1cc2e.png) ### What you expected to happen be right ### How to reproduce att ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13597
https://github.com/apache/dolphinscheduler/pull/13599
047fa2f65e58b86e2f03a89ce5ac2db264ee5e0f
c406f81e9c78cfda7344142b253b686f04ced3bc
2023-02-22T01:51:55Z
java
2023-02-22T02:53:51Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,585
["dolphinscheduler-ui/src/components/modal/index.tsx", "dolphinscheduler-ui/src/views/datasource/list/index.tsx", "dolphinscheduler-ui/src/views/datasource/list/source-modal.tsx"]
[Improvement][DataSource] Add the feature of clicking the mask to close the modal.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description I can't close the modal box when I click the create data source button but I don't create a data source. The experience is very unfriendly. <img width="1894" alt="image" src="https://user-images.githubusercontent.com/8847400/220072964-10f54185-0db6-4500-97e2-72a3ee4dba59.png"> ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13585
https://github.com/apache/dolphinscheduler/pull/13586
701d67c831227ae71d0ce903fe814f37548319c9
eaf2541018a1818ad5a0f1cbefe98b095bcc9b8b
2023-02-20T09:58:18Z
java
2023-02-20T11:10:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,554
["deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl", "deploy/kubernetes/dolphinscheduler/values.yaml"]
[Feature][deploy] The configurable busybox image address is in values.yaml
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Currently, the main components of dolphinscheduler, such as master, worker, api, alert-server, and the image addresses of tools already exist in values.yaml, but the configuration items of busybox are missing. When using helm deployment or manual k8s deployment, if the production environment fails The external network, and the _helpers.tpl file is not modified, it is easy to cause deployment failure, because the tools module needs to use the busybox image to check whether the database is ready during the initialization phase. The default busybox address is hard-coded in _helpers.tpl. It is not friendly to developers or operators who are not familiar with helm ### Use case look forward to adding unified management configuration in values.yaml ### Related issues No similar issues have been found for the time being ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13554
https://github.com/apache/dolphinscheduler/pull/13560
2bd65fb2df68847130c7e1ab6616bbfba95783b2
6a0f48e5335207a2545fb0a1a05080e24c96833c
2023-02-13T03:52:32Z
java
2023-02-14T04:53:49Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,532
["dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-dingtalk/src/main/java/org/apache/dolphinscheduler/plugin/alert/dingtalk/DingTalkAlertChannelFactory.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-email/src/main/java/org/apache/dolphinscheduler/plugin/alert/email/EmailAlertChannelFactory.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-feishu/src/main/java/org/apache/dolphinscheduler/plugin/alert/feishu/FeiShuAlertChannelFactory.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-telegram/src/main/java/org/apache/dolphinscheduler/plugin/alert/telegram/TelegramAlertChannelFactory.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/params/base/FormType.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/params/input/number/InputNumberParam.java"]
[Bug] [alert-server] When configuring an alarm instance, no parameter verification is performed.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When configuring an alarm instance, no parameter verification is performed.exception occurred when sending an alarm message. <img width="640" alt="image" src="https://user-images.githubusercontent.com/33439363/217459200-4622f028-f4f0-45d3-9bf9-f0901f741769.png"> <img width="1025" alt="image" src="https://user-images.githubusercontent.com/33439363/217459309-6bcc966d-f74a-43a1-b1b8-5bc52dfb1ebb.png"> <img width="942" alt="image" src="https://user-images.githubusercontent.com/33439363/217458553-4c19e87d-c686-4683-acbb-c9ea3ba099f6.png"> ### What you expected to happen Nothing ### How to reproduce Nothing ### Anything else _No response_ ### Version 3.0.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13532
https://github.com/apache/dolphinscheduler/pull/13827
3630b00c9fb61784a676c837f30d2aa776785258
6a33d2bec02f0d0b0c2ad759d4bf4e2d4bb28a07
2023-02-08T07:08:14Z
java
2023-03-30T10:57:47Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,528
["docs/docs/en/guide/task/http.md", "docs/docs/zh/guide/task/http.md", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/parameters/AbstractParameters.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-http/src/main/java/org/apache/dolphinscheduler/plugin/task/http/HttpTask.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-http/src/test/java/org/apache/dolphinscheduler/plugin/task/http/HttpTaskTest.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-sqoop/src/test/java/org/apache/dolphinscheduler/plugin/task/sqoop/EntityTestUtils.java"]
[Improvement][Task Plugin] Support Task Plugin output response as a parameter
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description <img width="997" alt="image" src="https://user-images.githubusercontent.com/31528124/217196099-efdff331-2eab-4498-8f71-a77433ddad50.png"> The downstream task **shell** <img width="702" alt="image" src="https://user-images.githubusercontent.com/31528124/217196330-9903bcaf-c554-4183-924b-ae14a40e4104.png"> The downstream task **python** <img width="720" alt="image" src="https://user-images.githubusercontent.com/31528124/217196378-bf9c7365-3451-43b4-b575-8f5f298d29d3.png"> ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13528
https://github.com/apache/dolphinscheduler/pull/13529
f3134c7ce7fffe775a6ea3ab74c296ece6b51545
16b193454b7519df712c6012eec776c90375198f
2023-02-07T08:49:59Z
java
2023-02-08T15:03:21Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,493
["dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/mysql/dolphinscheduler_dml.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/postgresql/dolphinscheduler_dml.sql"]
[Bug] [Sql] Upgrade sql capital error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Upgrade sql Capital error ### What you expected to happen qrtz use uppercase. ### How to reproduce upgrade from 3.0.x to 3.1.x ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13493
https://github.com/apache/dolphinscheduler/pull/13494
6300a9b8de6e807d48f55d9a028e4d214ab36406
b9ef4a717772b448ac97e21a307ad3ea94471a77
2023-02-02T02:14:13Z
java
2023-02-02T03:25:27Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,484
["dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/mysql/dolphinscheduler_ddl.sql"]
[Bug] [Sql] 3.1.1_schema mysql ddl sql error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened --- rename t_ds_fav_task task_name to task_type ### What you expected to happen execute success ### How to reproduce execute dolphinscheduler_ddl.sql ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13484
https://github.com/apache/dolphinscheduler/pull/13485
b11431db9565093a766e27dc12240a27e44f2f4c
5fb6035f0dc03f6fae0ad9af4d95a49c8985ed57
2023-02-01T09:55:18Z
java
2023-02-01T13:11:05Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,483
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java"]
[Improvement][Api Server] Complement tasks are not executed in chronological order as entered
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description When manually entering the date to complete the task, the workflow instance is not generated and executed in the order of input ![补数](https://user-images.githubusercontent.com/20266837/216005574-2c0e1389-02bb-4c18-8cbd-3e8aa7e12701.png) ![补数2](https://user-images.githubusercontent.com/20266837/216005581-fb88eca8-d007-489b-a71e-dbbb527aac53.png) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13483
https://github.com/apache/dolphinscheduler/pull/13487
5a9cb7ee64783776ae6fa0865937d25234e0159a
19ffd64e23bdc27c7af50ef0c8518d81e0a0e15b
2023-02-01T09:35:47Z
java
2023-02-03T11:44:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,472
["docs/docs/en/architecture/configuration.md", "docs/docs/zh/architecture/configuration.md", "dolphinscheduler-api/src/main/resources/application.yaml", "dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz/src/main/java/org/apache/dolphinscheduler/scheduler/quartz/QuartzZeroSizeThreadPool.java"]
[Improvement][Api] Since Quartz Scheduler of Api is not started,the `threadPool` should uses `ZeroSizeThreadPool`;
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The Quartz Scheduler of Api doesn't need to start, and the threadpool will be idle. But the `org.quartz.simpl.SimpleThreadPool` will create all threads in it's `initialize()` method,which will causes performance overhead; ### What you expected to happen The Quartz Scheduler of Api use `org.quartz.simpl.ZeroSizeThreadPool` which has zero Threads; More description about [ZeroSizeThreadPool](https://www.quartz-scheduler.org/api/2.1.7/org/quartz/simpl/ZeroSizeThreadPool.html): >The pool has zero Threads and does not grow or shrink based on demand. Which means it is obviously not useful for most scenarios. When it may be useful is to prevent creating any worker threads at all - which may be desirable for the sole purpose of preserving system resources in the case where the scheduler instance only exists in order to schedule jobs, but which will never execute jobs (e.g. will never have start() called on it). ### How to reproduce Jconsole monitor ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13472
https://github.com/apache/dolphinscheduler/pull/13475
8fa90c2d8f970710d6429759ebd10975992f144f
3627bf25eff1ca20d0c2e18e414a35167068d76b
2023-02-01T01:48:47Z
java
2023-02-06T02:55:19Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,437
["dolphinscheduler-storage-plugin/dolphinscheduler-storage-s3/src/main/java/org/apache/dolphinscheduler/plugin/storage/s3/S3StorageOperator.java", "dolphinscheduler-storage-plugin/dolphinscheduler-storage-s3/src/main/java/org/apache/dolphinscheduler/plugin/storage/s3/S3StorageOperatorFactory.java", "dolphinscheduler-storage-plugin/dolphinscheduler-storage-s3/src/test/java/org/apache/dolphinscheduler/plugin/storage/s3/S3StorageOperatorTest.java"]
[Improvement][UT] Add UT for S3StorageOperator
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add UT for S3StorageOperator ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13437
https://github.com/apache/dolphinscheduler/pull/13530
79d3ed0744aae76464b429d1e1d632d27b5457e7
0db916473e93d5e71f2475a487f08b6946952b2a
2023-01-20T07:42:16Z
java
2023-02-22T11:57:18Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,434
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java", "dolphinscheduler-storage-plugin/dolphinscheduler-storage-oss/src/main/java/org/apache/dolphinscheduler/plugin/storage/oss/OssStorageOperator.java", "dolphinscheduler-storage-plugin/dolphinscheduler-storage-oss/src/test/java/org/apache/dolphinscheduler/plugin/storage/oss/OssStorageOperatorTest.java", "dolphinscheduler-storage-plugin/dolphinscheduler-storage-s3/src/main/java/org/apache/dolphinscheduler/plugin/storage/s3/S3StorageOperator.java", "dolphinscheduler-ui/src/locales/zh_CN/resource.ts"]
[Bug] [Resource Center] NPE when use OSS as the resource center
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened * NPE when use OSS as the resource center <img width="830" alt="截屏2023-01-20 10 18 21" src="https://user-images.githubusercontent.com/38122586/213605577-0734f363-08d5-4422-9132-905bbcf58e8f.png"> <img width="1202" alt="image" src="https://user-images.githubusercontent.com/38122586/213605613-32a71789-26da-4f4c-8103-70a6abe9f633.png"> ### What you expected to happen no NPE ### How to reproduce use OSS as the resource center ### Anything else * After the resource center is refactored in #12076 * The new methods in `StorageOperate` is not implemented in `OSS` <img width="882" alt="image" src="https://user-images.githubusercontent.com/38122586/213605852-8b50075f-bc13-41c8-a536-cc83d3409ef6.png"> ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13434
https://github.com/apache/dolphinscheduler/pull/13435
9a6f83383be4858c710679cd2e44718408e7eacd
8a59ab44eb415274c70122c6d8e41621362fd351
2023-01-20T02:35:35Z
java
2023-02-07T03:55:07Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,421
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TaskDefinitionServiceImpl.java"]
[Bug] [dolphinscheduler-api] in the task definition list, when the task details are not modified, the predecessor node cannot be modified
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened in the task definition list, edit node, the task detail are not modify, only the process pre code for modify ### What you expected to happen the task detail are not modify, only the process pre code for modify ### How to reproduce in the task definition list, edit node, the task detail are not modify, only the process pre code for modify ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13421
https://github.com/apache/dolphinscheduler/pull/13422
8be32d4145c851a01d7300cd5a854be9b4a27055
3b54de0c90083aaf0857362e7c237fb85ba3976c
2023-01-18T05:48:15Z
java
2023-01-18T12:08:28Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,418
["dolphinscheduler-ui/src/service/modules/process-task-relation/index.ts", "dolphinscheduler-ui/src/service/modules/process-task-relation/types.ts", "dolphinscheduler-ui/src/views/projects/task/definition/batch-task.tsx", "dolphinscheduler-ui/src/views/projects/task/definition/components/move-modal.tsx", "dolphinscheduler-ui/src/views/projects/task/definition/components/use-move.ts", "dolphinscheduler-ui/src/views/projects/task/definition/use-table.ts"]
[Bug] [ui] moving a task definition gets http code 405
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened moving a task definition gets 405 code, the api is be removed #8190 ### What you expected to happen no error ### How to reproduce move a task definition <img width="1125" alt="image" src="https://user-images.githubusercontent.com/20807051/212833480-f3be736d-1276-4ccb-b21a-271fb5f4fc9a.png"> ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13418
https://github.com/apache/dolphinscheduler/pull/13441
385d781ebce3f60fd419c7ae0617c22a247ef001
802bf4a2e08cb1d0b990869c56f7da44396f85d1
2023-01-17T07:17:44Z
java
2023-01-30T02:01:59Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,381
["docs/docs/en/guide/upgrade/incompatible.md", "docs/docs/zh/guide/upgrade/incompatible.md", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractTask.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/test/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTaskTest.java"]
[Bug] [plugin] failed to pase variable in hive load sql
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened I created a sql task to load hdfs data into hive table(sql looks like ```load inpath '/path/table_name/dt=${dt}' into table table_name```), task failed and a parse exception is thrown. exception stack: ``` org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:5 missing DATA at 'inpath' near 'inpath' in load statement line 1:13 mismatched input '/' expecting StringLiteral near 'inpath' in load statement at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:264) at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:250) at org.apache.hive.jdbc.HiveStatement.runAsyncOnServer(HiveStatement.java:309) at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:250) at org.apache.hive.jdbc.HiveStatement.executeUpdate(HiveStatement.java:448) at org.apache.hive.jdbc.HivePreparedStatement.executeUpdate(HivePreparedStatement.java:119) at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeUpdate(SqlTask.java:305) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:202) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.handle(SqlTask.java:158) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:208) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at ``` ### What you expected to happen task succeed. ### How to reproduce 1. create a sql task 2. input sql: load inpath '/path/data/dt=${dt}' into table table_name 3. save and execute task ### Anything else task log: ``` [INFO] 2023-01-11 06:40:43.904 +0000 - Full sql parameters: SqlParameters{type='HIVE', datasource=8, sql='load inpath '/tmp/test_table/dt=${dt}' into table test_table partition(dt=${dt})', sqlType=1, sendEmail=null, displayRows=10, limit=0, segmentSeparator=, udfs='', showType='null', connParams='null', groupId='0', title='null', preStatements=[], postStatements=[]} [INFO] 2023-01-11 06:40:43.905 +0000 - sql type : HIVE, datasource : 8, sql : load inpath '/tmp/test_table/dt=${dt}' into table test_table partition(dt=${dt}) , localParams : [Property{prop='dt', direct=IN, type=VARCHAR, value='$[yyyyMMdd]'}],udfs : ,showType : null,connParams : null,varPool : [] ,query max result limit 0 [INFO] 2023-01-11 06:40:43.905 +0000 - setSqlParamsMap: Property with paramName: dt put in sqlParamsMap of content load inpath '/tmp/test_table/dt=${dt}' into table test_table partition(dt=${dt}) successfully. [INFO] 2023-01-11 06:40:43.905 +0000 - setSqlParamsMap: Property with paramName: dt put in sqlParamsMap of content load inpath '/tmp/test_table/dt=${dt}' into table test_table partition(dt=${dt}) successfully. [INFO] 2023-01-11 06:40:43.906 +0000 - after replace sql , preparing : load inpath '/tmp/test_table/dt=? into table test_table partition(dt=?) [INFO] 2023-01-11 06:40:43.906 +0000 - Sql Params are replaced sql , parameters:20230111(VARCHAR)20230111(VARCHAR) [INFO] 2023-01-11 06:40:43.906 +0000 - can't find udf function resource [INFO] 2023-01-11 06:40:45.815 +0000 - prepare statement replace sql : HikariProxyPreparedStatement@1231731151 wrapping org.apache.hive.jdbc.HivePreparedStatement@2422e3 [ERROR] 2023-01-11 06:40:45.830 +0000 - execute sql error: Error while compiling statement: FAILED: ParseException line 1:5 missing DATA at 'inpath' near 'inpath' in load statement line 1:13 mismatched input '/' expecting StringLiteral near 'inpath' in load statement [ERROR] 2023-01-11 06:40:45.831 +0000 - sql task error org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:5 missing DATA at 'inpath' near 'inpath' in load statement line 1:13 mismatched input '/' expecting StringLiteral near 'inpath' in load statement at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:264) at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:250) at org.apache.hive.jdbc.HiveStatement.runAsyncOnServer(HiveStatement.java:309) at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:250) at org.apache.hive.jdbc.HiveStatement.executeUpdate(HiveStatement.java:448) at org.apache.hive.jdbc.HivePreparedStatement.executeUpdate(HivePreparedStatement.java:119) at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeUpdate(SqlTask.java:305) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:202) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.handle(SqlTask.java:158) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:208) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:5 missing DATA at 'inpath' near 'inpath' in load statement line 1:13 mismatched input '/' expecting StringLiteral near 'inpath' in load statement at org.apache.hive.service.cli.operation.Operation.toSQLException(Operation.java:335) at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:199) at org.apache.hive.service.cli.operation.SQLOperation.runInternal(SQLOperation.java:260) at org.apache.hive.service.cli.operation.Operation.run(Operation.java:247) at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementInternal(HiveSessionImpl.java:541) at org.apache.hive.service.cli.session.HiveSessionImpl.executeStatementAsync(HiveSessionImpl.java:527) at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:78) at org.apache.hive.service.cli.session.HiveSessionProxy.access$000(HiveSessionProxy.java:36) at org.apache.hive.service.cli.session.HiveSessionProxy$1.run(HiveSessionProxy.java:63) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730) at org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:59) at com.sun.proxy.$Proxy42.executeStatementAsync(Unknown Source) at org.apache.hive.service.cli.CLIService.executeStatementAsync(CLIService.java:312) at org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:562) at org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1557) at org.apache.hive.service.rpc.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1542) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.RuntimeException: org.apache.hadoop.hive.ql.parse.ParseException:line 1:5 missing DATA at 'inpath' near 'inpath' in load statement line 1:13 mismatched input '/' expecting StringLiteral near 'inpath' in load statement at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:223) at org.apache.hadoop.hive.ql.parse.ParseUtils.parse(ParseUtils.java:74) at org.apache.hadoop.hive.ql.parse.ParseUtils.parse(ParseUtils.java:67) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:616) at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1826) at org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:1773) at org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:1768) at org.apache.hadoop.hive.ql.reexec.ReExecDriver.compileAndRespond(ReExecDriver.java:126) at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:197) ... 26 common frames omitted ``` ### Version 3.0.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13381
https://github.com/apache/dolphinscheduler/pull/13378
05df0269f6c16c8865e69284d231698e920fe422
606b56403eadc77a46972c51f23365cc227edd38
2023-01-11T09:52:53Z
java
2023-05-22T03:19:30Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,358
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapper.xml"]
[Bug] [DAO] There is a bug with missing a comma in the TaskInstanceMapper.xml.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Missed a comma between 'project_code' and 'task_code'. ![image](https://user-images.githubusercontent.com/4928204/211245590-8756c66d-6000-4115-b966-62515d67cc62.png) ### What you expected to happen This issue will cause a bug with replacing the value of task_code by project_code. So I expect that it can work well. ### How to reproduce See it in the file of TaskInstanceMapper.xml. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13358
https://github.com/apache/dolphinscheduler/pull/13359
2a44a7f36a4be85221703bc3d8d70a650860b31e
4f73fe1bd85c88fa3170b2f48542bf75266702c8
2023-01-09T05:29:11Z
java
2023-01-09T06:43:34Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,353
["deploy/kubernetes/dolphinscheduler/templates/keda-autoscaler-worker.yaml", "deploy/kubernetes/dolphinscheduler/values.yaml", "docs/docs/en/guide/installation/kubernetes.md", "docs/docs/zh/guide/installation/kubernetes.md"]
[Feature][Worker] Use KEDA and HPA for worker auto scaling when deployed in K8S
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description * Part of #13316 ![image](https://user-images.githubusercontent.com/34905992/210498055-3cc0e722-f17e-491d-ad96-bed956f92343.png) ### Use case * When deployed in K8S, DS worker could scale automatically by the trigger users define. * Give an example of trigger based on the number of task in dispatch & running state. ### Related issues * #13316 * #12436 ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13353
https://github.com/apache/dolphinscheduler/pull/13367
e660f7fc2d910628260a9dfa7a771b96e4e61efb
366f999167feb5da65b86b48a010b754572857ef
2023-01-07T14:58:42Z
java
2023-01-14T05:51:15Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,341
["dolphinscheduler-ui/src/common/column-width-config.ts", "dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts"]
[Improvement][UI] The long name of workflow instance and task instance overflow on the table.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description The long name of workflow instance and task instance overflow on the table. They look like this: ![image](https://user-images.githubusercontent.com/4928204/210705001-f4a45583-cde7-4aba-9231-0d1ec9293c3b.png) ![image](https://user-images.githubusercontent.com/4928204/210705006-ebe72e34-6b2a-4736-a048-f44fc95c8a37.png) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13341
https://github.com/apache/dolphinscheduler/pull/13342
fde2c8073e956a50ea36fc370613c3e5db85e176
313ba4444f8949b5335139991cc7d71cc10cd57b
2023-01-05T04:59:45Z
java
2023-01-05T06:40:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,338
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.xml"]
[Bug] [API] when the timing data is not configured with environmental information, the timing management does not display the data
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened when the timing data is not configured with environmental information, the timing management does not display the data ### What you expected to happen Timing management displays data normally. ### How to reproduce when the timing data is not configured with environmental information, the timing management does not display the data ### Anything else when the timing data is not configured with environmental information, the timing management does not display the data ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13338
https://github.com/apache/dolphinscheduler/pull/13339
a074f7e2e6cccc0370e817e784022e86fc2cef04
fde2c8073e956a50ea36fc370613c3e5db85e176
2023-01-04T15:18:37Z
java
2023-01-05T04:15:02Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,310
["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterWaitingStrategy.java", "dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/registry/WorkerWaitingStrategy.java"]
[Bug] [Worker] When registry recover from SUSPENDED to RECONNECTED, the worker will crash
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When worker registry (zookeeper) client recover from SUSPENDED to RECONNECTED, the worker itself will try to restart, but actually the worker is still normally running, then will cause "org.apache.dolphinscheduler.remote.exceptions.RemoteException: NettyRemotingServer bind 1234 fail", and finally cause the worker node hang. Please refer to "Anything else" section for logs. ### What you expected to happen When worker registry (zookeeper) client recover from SUSPENDED to RECONNECTED, the worker itself no need to restart, just do nothing, and of course, will not crash. ### How to reproduce Block the network connection from worker node to zookeeper server 2181 port, when we can see the "client timedout" log, the worker registry client will change to SUSPENDED status, then resume the network connection, then the worker registry client will reconnect to zookeeper server, and status will change to RECONNECTED. Now we can see the exception happen. ### Anything else ``` [INFO] 2022-12-26 11:06:35.672 +0800 org.apache.dolphinscheduler.server.worker.task.WorkerHeartBeatTask:[89] - [WorkflowInstance-0][TaskInstance-0] - Success write worker group heartBeatInfo into registry, workerRegistryPath: /nodes/worker/10.x.x.2:1234 workerHeartBeatInfo: {"startupTime":1671855451894,"reportTime":1672023995663,"cpuUsage":0.01,"memoryUsage":0.72,"loadAverage":0.0,"availablePhysicalMemorySize":2.14,"maxCpuloadAvg":4.0,"reservedMemory":0.03,"diskAvailable":28.47,"serverStatus":0,"processId":5576,"workerHostWeight":100,"workerWaitingTaskCount":0,"workerExecThreadCount":100} [WARN] 2022-12-26 11:06:55.680 +0800 org.apache.zookeeper.ClientCnxn:[1249] - [WorkflowInstance-0][TaskInstance-0] - Client session timed out, have not heard from server in 20008ms for session id 0x1028fe2bbbc003f [WARN] 2022-12-26 11:06:55.683 +0800 org.apache.zookeeper.ClientCnxn:[1292] - [WorkflowInstance-0][TaskInstance-0] - Session 0x1028fe2bbbc003f for server ds-1/10.x.x.1:2181, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. org.apache.zookeeper.ClientCnxn$SessionTimeoutException: Client session timed out, have not heard from server in 20008ms for session id 0x1028fe2bbbc003f at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1250) [INFO] 2022-12-26 11:06:55.785 +0800 org.apache.curator.framework.state.ConnectionStateManager:[252] - [WorkflowInstance-0][TaskInstance-0] - State change: SUSPENDED [WARN] 2022-12-26 11:06:55.786 +0800 org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperConnectionStateListener:[52] - [WorkflowInstance-0][TaskInstance-0] - Registry suspended [INFO] 2022-12-26 11:06:55.787 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerConnectionStateListener:[46] - [WorkflowInstance-0][TaskInstance-0] - Worker received a SUSPENDED event from registry, the current server state is RUNNING [INFO] 2022-12-26 11:06:57.539 +0800 org.apache.zookeeper.ClientCnxn:[1171] - [WorkflowInstance-0][TaskInstance-0] - Opening socket connection to server ds-1/10.x.x.1:2181. [INFO] 2022-12-26 11:06:57.540 +0800 org.apache.zookeeper.ClientCnxn:[1173] - [WorkflowInstance-0][TaskInstance-0] - SASL config status: Will not attempt to authenticate using SASL (unknown error) [INFO] 2022-12-26 11:06:57.543 +0800 org.apache.zookeeper.ClientCnxn:[1005] - [WorkflowInstance-0][TaskInstance-0] - Socket connection established, initiating session, client: /10.x.x.2:57590, server: ds-1/10.x.x.1:2181 [INFO] 2022-12-26 11:06:57.567 +0800 org.apache.zookeeper.ClientCnxn:[1444] - [WorkflowInstance-0][TaskInstance-0] - Session establishment complete on server ds-1/10.x.x.1:2181, session id = 0x1028fe2bbbc003f, negotiated timeout = 30000 [INFO] 2022-12-26 11:06:57.568 +0800 org.apache.curator.framework.state.ConnectionStateManager:[252] - [WorkflowInstance-0][TaskInstance-0] - State change: RECONNECTED [INFO] 2022-12-26 11:06:57.568 +0800 org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperConnectionStateListener:[48] - [WorkflowInstance-0][TaskInstance-0] - Registry reconnected [INFO] 2022-12-26 11:06:57.568 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerConnectionStateListener:[46] - [WorkflowInstance-0][TaskInstance-0] - Worker received a RECONNECTED event from registry, the current server state is RUNNING [WARN] 2022-12-26 11:06:57.569 +0800 org.apache.dolphinscheduler.common.lifecycle.ServerLifeCycleManager:[73] - [WorkflowInstance-0][TaskInstance-0] - The current server status is already running, cannot recover form waiting [INFO] 2022-12-26 11:06:57.569 +0800 org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcServer:[75] - [WorkflowInstance-0][TaskInstance-0] - Worker rpc server starting [ERROR] 2022-12-26 11:06:57.573 +0800 org.apache.dolphinscheduler.remote.NettyRemotingServer:[143] - [WorkflowInstance-0][TaskInstance-0] - NettyRemotingServer bind fail bind(..) failed: Address already in use, exit io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use [ERROR] 2022-12-26 11:06:57.573 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerWaitingStrategy:[104] - [WorkflowInstance-0][TaskInstance-0] - Recover from waiting failed, the current server status is RUNNING, will stop the server org.apache.dolphinscheduler.remote.exceptions.RemoteException: NettyRemotingServer bind 1234 fail at org.apache.dolphinscheduler.remote.NettyRemotingServer.start(NettyRemotingServer.java:144) at org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcServer.start(WorkerRpcServer.java:93) at org.apache.dolphinscheduler.server.worker.registry.WorkerWaitingStrategy.reStartWorkerResource(WorkerWaitingStrategy.java:130) at org.apache.dolphinscheduler.server.worker.registry.WorkerWaitingStrategy.reconnect(WorkerWaitingStrategy.java:97) at org.apache.dolphinscheduler.server.worker.registry.WorkerConnectionStateListener.onUpdate(WorkerConnectionStateListener.java:54) at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperConnectionStateListener.stateChanged(ZookeeperConnectionStateListener.java:49) at org.apache.curator.framework.state.ConnectionStateManager.lambda$processEvents$0(ConnectionStateManager.java:281) at org.apache.curator.framework.listen.MappingListenerManager.lambda$forEach$0(MappingListenerManager.java:92) at org.apache.curator.framework.listen.MappingListenerManager.forEach(MappingListenerManager.java:89) at org.apache.curator.framework.listen.StandardListenerManager.forEach(StandardListenerManager.java:89) at org.apache.curator.framework.state.ConnectionStateManager.processEvents(ConnectionStateManager.java:281) at org.apache.curator.framework.state.ConnectionStateManager.access$000(ConnectionStateManager.java:43) at org.apache.curator.framework.state.ConnectionStateManager$1.call(ConnectionStateManager.java:134) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [INFO] 2022-12-26 11:06:57.577 +0800 org.apache.dolphinscheduler.server.worker.task.WorkerHeartBeatTask:[89] - [WorkflowInstance-0][TaskInstance-0] - Success write worker group heartBeatInfo into registry, workerRegistryPath: /nodes/worker/10.x.x.2:1234 workerHeartBeatInfo: {"startupTime":1671855451894,"reportTime":1672024005673,"cpuUsage":0.01,"memoryUsage":0.72,"loadAverage":0.0,"availablePhysicalMemorySize":2.14,"maxCpuloadAvg":4.0,"reservedMemory":0.03,"diskAvailable":28.47,"serverStatus":0,"processId":5576,"workerHostWeight":100,"workerWaitingTaskCount":0,"workerExecThreadCount":100} [INFO] 2022-12-26 11:07:00.573 +0800 org.apache.dolphinscheduler.server.worker.WorkerServer:[148] - [WorkflowInstance-0][TaskInstance-0] - Worker server is stopping, current cause : Recover from waiting failed, the current server status is RUNNING, will stop the server [INFO] 2022-12-26 11:07:00.594 +0800 org.eclipse.jetty.server.AbstractConnector:[383] - [WorkflowInstance-0][TaskInstance-0] - Stopped ServerConnector@1682e6a{HTTP/1.1, (http/1.1)}{0.0.0.0:1235} [INFO] 2022-12-26 11:07:00.595 +0800 org.eclipse.jetty.server.session:[149] - [WorkflowInstance-0][TaskInstance-0] - node0 Stopped scavenging [INFO] 2022-12-26 11:07:00.596 +0800 org.eclipse.jetty.server.handler.ContextHandler.application:[2368] - [WorkflowInstance-0][TaskInstance-0] - Destroying Spring FrameworkServlet 'dispatcherServlet' [INFO] 2022-12-26 11:07:00.597 +0800 org.eclipse.jetty.server.handler.ContextHandler:[1159] - [WorkflowInstance-0][TaskInstance-0] - Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@6abb7b7d{application,/,[file:///tmp/jetty-docbase.1235.4335247786354365438/],STOPPED} [WARN] 2022-12-26 11:07:00.605 +0800 org.apache.dolphinscheduler.common.model.BaseHeartBeatTask:[69] - [WorkflowInstance-0][TaskInstance-0] - WorkerHeartBeatTask task finished [INFO] 2022-12-26 11:07:00.607 +0800 org.apache.curator.framework.imps.CuratorFrameworkImpl:[998] - [WorkflowInstance-0][TaskInstance-0] - backgroundOperationsLoop exiting [INFO] 2022-12-26 11:07:00.721 +0800 org.apache.zookeeper.ZooKeeper:[1232] - [WorkflowInstance-0][TaskInstance-0] - Session: 0x1028fe2bbbc003f closed [INFO] 2022-12-26 11:07:00.721 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerRegistryClient:[111] - [WorkflowInstance-0][TaskInstance-0] - Worker registry client closed [INFO] 2022-12-26 11:07:00.722 +0800 org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcServer:[99] - [WorkflowInstance-0][TaskInstance-0] - Worker rpc server closing [INFO] 2022-12-26 11:07:00.726 +0800 org.apache.dolphinscheduler.remote.NettyRemotingServer:[212] - [WorkflowInstance-0][TaskInstance-0] - netty server closed [INFO] 2022-12-26 11:07:00.726 +0800 org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcServer:[101] - [WorkflowInstance-0][TaskInstance-0] - Worker rpc server closed [INFO] 2022-12-26 11:07:00.729 +0800 org.apache.zookeeper.ClientCnxn:[568] - [WorkflowInstance-0][TaskInstance-0] - EventThread shut down for session: 0x1028fe2bbbc003f [INFO] 2022-12-26 11:07:00.730 +0800 org.apache.dolphinscheduler.remote.NettyRemotingClient:[334] - [WorkflowInstance-0][TaskInstance-0] - netty client closed [INFO] 2022-12-26 11:07:00.730 +0800 org.apache.dolphinscheduler.service.log.LogClient:[229] - [WorkflowInstance-0][TaskInstance-0] - LogClientService closed [INFO] 2022-12-26 11:07:00.730 +0800 org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcClient:[71] - [WorkflowInstance-0][TaskInstance-0] - Worker rpc client closing [INFO] 2022-12-26 11:07:00.733 +0800 org.apache.dolphinscheduler.remote.NettyRemotingClient:[334] - [WorkflowInstance-0][TaskInstance-0] - netty client closed [INFO] 2022-12-26 11:07:00.733 +0800 org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcClient:[73] - [WorkflowInstance-0][TaskInstance-0] - Worker rpc client closed [WARN] 2022-12-26 11:07:00.733 +0800 org.apache.dolphinscheduler.service.alert.AlertClientService:[76] - [WorkflowInstance-0][TaskInstance-0] - Alert client is already closed [INFO] 2022-12-26 11:07:00.735 +0800 com.zaxxer.hikari.HikariDataSource:[350] - [WorkflowInstance-0][TaskInstance-0] - DolphinScheduler - Shutdown initiated... [INFO] 2022-12-26 11:07:00.745 +0800 com.zaxxer.hikari.HikariDataSource:[352] - [WorkflowInstance-0][TaskInstance-0] - DolphinScheduler - Shutdown completed. [INFO] 2022-12-26 11:07:00.747 +0800 org.apache.dolphinscheduler.service.alert.AlertClientService:[80] - [WorkflowInstance-0][TaskInstance-0] - Alter client closing [INFO] 2022-12-26 11:07:00.748 +0800 org.apache.dolphinscheduler.remote.NettyRemotingClient:[334] - [WorkflowInstance-0][TaskInstance-0] - netty client closed [INFO] 2022-12-26 11:07:00.748 +0800 org.apache.dolphinscheduler.service.alert.AlertClientService:[82] - [WorkflowInstance-0][TaskInstance-0] - Alter client closed [WARN] 2022-12-26 11:07:00.748 +0800 org.apache.dolphinscheduler.common.model.BaseHeartBeatTask:[69] - [WorkflowInstance-0][TaskInstance-0] - WorkerHeartBeatTask task finished [INFO] 2022-12-26 11:07:00.749 +0800 org.apache.dolphinscheduler.server.worker.registry.WorkerRegistryClient:[111] - [WorkflowInstance-0][TaskInstance-0] - Worker registry client closed [INFO] 2022-12-26 11:07:00.749 +0800 org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcServer:[99] - [WorkflowInstance-0][TaskInstance-0] - Worker rpc server closing [INFO] 2022-12-26 11:07:00.749 +0800 org.apache.dolphinscheduler.server.worker.rpc.WorkerRpcServer:[101] - [WorkflowInstance-0][TaskInstance-0] - Worker rpc server closed [INFO] 2022-12-26 11:07:00.749 +0800 org.apache.dolphinscheduler.server.worker.WorkerServer:[155] - [WorkflowInstance-0][TaskInstance-0] - Worker server stopped, current cause: Recover from waiting failed, the current server status is RUNNING, will stop the server ``` ### Version 3.1.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13310
https://github.com/apache/dolphinscheduler/pull/13328
2c952139b43ec0f0df96e29295e6849b09cc66a8
3b980cb06a22fc1a2e917547c98bb8a4a307f90e
2022-12-30T15:48:13Z
java
2023-01-03T11:24:11Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,309
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/impl/K8sTaskExecutor.java"]
[Bug] [K8s Workflow Node] The job on k8s is running, but the node shows failure
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened After the job is submitted to k8s, the node fails. (in fact, the job on k8s is running) And I can't find any error logs. ``` ... ... [INFO] 2022-12-30 16:33:15.955 +0800 - [K8sJobExecutor-examples-68] start to submit job [INFO] 2022-12-30 16:33:16.195 +0800 - [K8sJobExecutor-examples-68] submitted job successfully [INFO] 2022-12-30 16:33:57.990 +0800 - Send task execute result to master, the current task status: TaskExecutionStatus{code=6, desc='failure'} [INFO] 2022-12-30 16:33:57.990 +0800 - Remove the current task execute context from worker cache ... ... ``` Full log ``` [INFO] 2022-12-30 16:33:15.641 +0800 - Begin to pulling task [INFO] 2022-12-30 16:33:15.708 +0800 - Begin to initialize task [INFO] 2022-12-30 16:33:15.741 +0800 - Set task startTime: Fri Dec 30 16:33:15 CST 2022 [INFO] 2022-12-30 16:33:15.783 +0800 - Set task envFile: /opt/dolphinscheduler/conf/dolphinscheduler_env.sh [INFO] 2022-12-30 16:33:15.784 +0800 - Set task appId: 36_68 [INFO] 2022-12-30 16:33:15.833 +0800 - End initialize task [INFO] 2022-12-30 16:33:15.834 +0800 - Set task status to TaskExecutionStatus{code=1, desc='running'} [INFO] 2022-12-30 16:33:15.835 +0800 - TenantCode:root check success [INFO] 2022-12-30 16:33:15.917 +0800 - ProcessExecDir:/tmp/dolphinscheduler/exec/process/root/7826084625920/8058590247072_4/36/68 check success [INFO] 2022-12-30 16:33:15.951 +0800 - Resources:{} check success [INFO] 2022-12-30 16:33:15.951 +0800 - Task plugin: K8S create success [INFO] 2022-12-30 16:33:15.951 +0800 - Success initialized task plugin instance success [INFO] 2022-12-30 16:33:15.951 +0800 - Success set taskVarPool: null [INFO] 2022-12-30 16:33:15.955 +0800 - [K8sJobExecutor-examples-68] start to submit job [INFO] 2022-12-30 16:33:16.195 +0800 - [K8sJobExecutor-examples-68] submitted job successfully [INFO] 2022-12-30 16:33:57.990 +0800 - Send task execute result to master, the current task status: TaskExecutionStatus{code=6, desc='failure'} [INFO] 2022-12-30 16:33:57.990 +0800 - Remove the current task execute context from worker cache [INFO] 2022-12-30 16:33:58.023 +0800 - The current execute mode isn't develop mode, will clear the task execute file: /tmp/dolphinscheduler/exec/process/root/7826084625920/8058590247072_4/36/68 ``` ### What you expected to happen The k8s node is awesome, hope it works ### How to reproduce Version: 3.1.1 Create a workflow, add k8s task nodes, and use a correct image ... Always happens. ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13309
https://github.com/apache/dolphinscheduler/pull/13348
313ba4444f8949b5335139991cc7d71cc10cd57b
ba0a253f09fa55e1100a1f340eca9bde7d88a682
2022-12-30T10:41:29Z
java
2023-01-06T01:44:12Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,287
["docs/docs/zh/guide/project/workflow-definition.md"]
[Doc][Project-workflow-definition.md] Error in workflow-definition.md
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description seems Chinese doc workflow-definition.md, has the same description in Parallel and Serial Wait, need to fix it. ![image](https://user-images.githubusercontent.com/36755957/209751328-1bcfd190-01be-4baf-a0d0-a68b9d581b9b.png) ![image](https://user-images.githubusercontent.com/36755957/209751359-0e86646c-013b-4bb4-9011-2d61baba4f91.png) ### Documentation Links https://dolphinscheduler.apache.org/zh-cn/docs/3.1.2/guide/project/workflow-definition ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13287
https://github.com/apache/dolphinscheduler/pull/13361
4f73fe1bd85c88fa3170b2f48542bf75266702c8
8f7b141fe77e8c04b1919744ebe853de5f341b9c
2022-12-28T03:13:33Z
java
2023-01-10T03:33:42Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,286
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java", "dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz/src/main/java/org/apache/dolphinscheduler/scheduler/quartz/QuartzScheduler.java"]
[Improvement][Scheduler] Use withMisfireHandlingInstructionIgnoreMisfires to handle misfire
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description When we update the scheduler, the quartz will do misfire, since the start time is less then the current data, quartz will believe we have misfired some trigger. When we update the scheduler, we need to change the start time in quartz to avoid this. ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13286
https://github.com/apache/dolphinscheduler/pull/13285
5077fa6aaef436e24615ca2fef9819044df13398
df32ef0efb20641a228b999c625f7c3db989b97b
2022-12-28T03:11:21Z
java
2022-12-28T06:33:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,266
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/vo/ScheduleVo.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Schedule.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.xml", "dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts"]
[Improvement][UI] Support to display extra columns such as 'Worker Group','Environment Name' and 'Alarm Group' on the page of cron manage.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Support to display extra columns such as 'Worker Group','Environment Name' and 'Alarm Group' on the page of cron manage. ![image](https://user-images.githubusercontent.com/4928204/209261717-7ff51b36-312c-4a81-9191-b6425a4b69ba.png) ![image](https://user-images.githubusercontent.com/4928204/209262132-d91f84a1-e13f-405a-8305-d88d583d708a.png) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13266
https://github.com/apache/dolphinscheduler/pull/13267
fb67b085a352c6d8596e5b9d4b33ef370b604dc5
a235d3cd6a0f889b4793f81b07aaa73ba23c2412
2022-12-23T02:59:49Z
java
2022-12-23T07:24:59Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,263
["dolphinscheduler-task-plugin/dolphinscheduler-task-sagemaker/src/main/java/org/apache/dolphinscheduler/plugin/task/sagemaker/PipelineUtils.java"]
[Bug] [Task Plugin] Synchronization status failure in SageMaker task
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Can not stop the task in DolphinScheduler when stopping the task in Sagemaker platform ### What you expected to happen empty ### How to reproduce empty ### Anything else empty ### Version 3.1.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13263
https://github.com/apache/dolphinscheduler/pull/13264
4e09bacb17c5a5d554815be03916960f354d45a1
df491f78cc0830b7fe19cb01581673d5c5dc9cf0
2022-12-22T10:18:18Z
java
2022-12-22T12:17:17Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,262
["dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts", "dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts", "dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts"]
[Improvement][UI] Support to open a new page to visit the detail page after clicking a link.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description I expect that the frontend can support to open a new page to visit the detail page after clicking a link. ![image](https://user-images.githubusercontent.com/4928204/209111645-6cc9d461-4a80-48a5-9c5f-3359c0216b3e.png) ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13262
https://github.com/apache/dolphinscheduler/pull/13265
df491f78cc0830b7fe19cb01581673d5c5dc9cf0
fb67b085a352c6d8596e5b9d4b33ef370b604dc5
2022-12-22T10:16:47Z
java
2022-12-23T02:48:21Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,260
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessDefinition.java"]
[Bug] [API] When querying the list of workflow definitions the api response result lacks the value of user name.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When querying the list of workflow definitions the api response result lacks the value of user name. ![image](https://user-images.githubusercontent.com/4928204/209106718-bdbcd0bd-9621-4235-b175-5ea472d561bd.png) ### What you expected to happen I expect that the user name of workflow definition can be displayed. ### How to reproduce 1.Visit the workflow definition. 2.Look at the column 'Create User' on the table of workflow definitions. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13260
https://github.com/apache/dolphinscheduler/pull/13261
a235d3cd6a0f889b4793f81b07aaa73ba23c2412
a98cae70651af32fe83ad7206388b8fcd9698059
2022-12-22T09:53:01Z
java
2022-12-23T11:22:08Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,253
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkFlowLineageMapper.xml"]
[Improvement] [API] The downstream workflow is started, although it is not online
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When performed complement operation, the downstream workflow is started, although it is not online. ### What you expected to happen Start the downstream workflow when it is online ### How to reproduce Performs the complement operation when set complementDependentMode=ALL_DEPENDENT,downstream workflow is offline. ### Anything else _No response_ ### Version 3.1.2 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13253
https://github.com/apache/dolphinscheduler/pull/13257
04785dc799200d052fa7367ca4a5ebbd9784f036
a75a69f3ec850236128e208351d323767fcba64a
2022-12-22T06:27:14Z
java
2022-12-26T03:58:37Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,248
["dolphinscheduler-ui/src/common/common.ts", "dolphinscheduler-ui/src/common/types.ts", "dolphinscheduler-ui/src/service/modules/process-instances/types.ts", "dolphinscheduler-ui/src/store/project/types.ts", "dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts", "dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts"]
[Bug] [UI] Failed to query task instances by some state of task.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When querying the task instance by a certain task state on the page of task instance the page notified a message that is "query task list paging error". It looks like the image below. ![image](https://user-images.githubusercontent.com/4928204/209040391-cc27e0d4-d25b-4c79-876c-d12f57f1970a.png) ### What you expected to happen I expect that everything is going well. ### How to reproduce 1. Visit the page of task instance. 2. Choose an option of 'Serial wait' in the list of state. 3. And then click the query button. 4. You will see the error. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13248
https://github.com/apache/dolphinscheduler/pull/13251
de6bc56aee6194290c43d21bee15091d0dabf856
4e09bacb17c5a5d554815be03916960f354d45a1
2022-12-22T02:23:11Z
java
2022-12-22T09:17:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,232
["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/WorkflowStartEventHandler.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java"]
[Improvement][Master] Find a word spell error and a comment location error
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description I find a word spell error in WorkflowExecuteRunnable.java when i read the source code. the 'weakup' may be a incorrect word, it may mislead people <img width="974" alt="截屏2022-12-20 18 40 57" src="https://user-images.githubusercontent.com/15382560/208647796-3e37daa3-7ddf-4844-853c-9d74086aee9b.png"> and a comment in follow picture is not express the code block, I think it must move to the 'else' block, it describe the else block's logic <img width="1071" alt="截屏2022-12-20 18 47 01" src="https://user-images.githubusercontent.com/15382560/208649155-0d2041b9-0176-4158-be55-aff6d7cd3e94.png"> ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13232
https://github.com/apache/dolphinscheduler/pull/13233
d795a7a0a33399426fedc8f91098467e4050b68e
d13cd55281e1758613fccb5199334e5415bdf0db
2022-12-20T10:48:18Z
java
2022-12-21T08:22:03Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,227
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml"]
[Bug] [DAO] There's an exception about sql when visiting the page of project list.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When I visited the page of project list the system would throw an exception about PSQLException. <img width="1716" alt="image" src="https://user-images.githubusercontent.com/4928204/208613639-c13b03ff-e5bb-4396-aef1-2c58102c8186.png"> ``` [INFO] 2022-12-20 15:34:35.450 +0800 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[93] - REQUEST TRACE_ID:2575e092-2a4a-4ac9-8f36-e10be1e4b5a9, LOGIN_USER:admin, URI:/dolphinscheduler/projects, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.ProjectController.queryProjectListPaging, ARGS:{searchVal=, pageNo=1, pageSize=10} [ERROR] 2022-12-20 15:34:35.496 +0800 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[53] - login user query project list paging error org.springframework.jdbc.BadSqlGrammarException: ### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: column "u.user_name" must appear in the GROUP BY clause or be used in an aggregate function 位置:116 ### The error may exist in file [/Users/calvin/MyCloud/zhilian/workspace/dolphinscheduler/dolphinscheduler-dao/target/classes/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: SELECT COUNT(*) FROM (SELECT p.id, p.name, p.code, p.description, p.user_id, p.flag, p.create_time, p.update_time, u.user_name AS user_name, count(DISTINCT def.id) AS def_count, count(DISTINCT inst.id) AS inst_running_count FROM t_ds_project p LEFT JOIN t_ds_user u ON u.id = p.user_id LEFT JOIN t_ds_process_definition def ON def.project_code = p.code LEFT JOIN t_ds_process_instance inst ON inst.process_definition_code = def.code AND inst.process_definition_version = def.version AND inst.state = 1 WHERE 1 = 1 AND p.id IN (?, ?) GROUP BY p.id ORDER BY p.id DESC) TOTAL ### Cause: org.postgresql.util.PSQLException: ERROR: column "u.user_name" must appear in the GROUP BY clause or be used in an aggregate function 位置:116 ; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: column "u.user_name" must appear in the GROUP BY clause or be used in an aggregate function 位置:116 at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:79) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:79) at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:91) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441) at com.sun.proxy.$Proxy142.selectList(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForIPage(MybatisMapperMethod.java:121) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:85) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at com.sun.proxy.$Proxy182.queryProjectListPaging(Unknown Source) at org.apache.dolphinscheduler.api.service.impl.ProjectServiceImpl.queryProjectListPaging(ProjectServiceImpl.java:351) at org.apache.dolphinscheduler.api.service.impl.ProjectServiceImpl$$FastClassBySpringCGLIB$$345e6c02.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) at org.apache.dolphinscheduler.api.service.impl.ProjectServiceImpl$$EnhancerBySpringCGLIB$$49769ea1.queryProjectListPaging(<generated>) at org.apache.dolphinscheduler.api.controller.ProjectController.queryProjectListPaging(ProjectController.java:173) at org.apache.dolphinscheduler.api.controller.ProjectController$$FastClassBySpringCGLIB$$1ee40f52.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89) at org.apache.dolphinscheduler.api.aspect.AccessLogAspect.doAround(AccessLogAspect.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) at org.apache.dolphinscheduler.api.controller.ProjectController$$EnhancerBySpringCGLIB$$f8b726cb.queryProjectListPaging(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656) at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:772) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.lang.Thread.run(Thread.java:748) Caused by: org.postgresql.util.PSQLException: ERROR: column "u.user_name" must appear in the GROUP BY clause or be used in an aggregate function 位置:116 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2676) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2366) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:356) at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:490) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:408) at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:181) at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:170) at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64) at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79) at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:64) at com.sun.proxy.$Proxy256.query(Unknown Source) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) at com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor.willDoQuery(PaginationInnerInterceptor.java:135) at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:75) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62) at com.sun.proxy.$Proxy255.query(Unknown Source) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) at sun.reflect.GeneratedMethodAccessor183.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ... 107 common frames omitted ``` ### What you expected to happen This is a very serious bug.I expect that it can be fixed ASAP. ### How to reproduce 1. Download the newest code from the project repository. 2. Launch the system and visit the page of project list. 3. Check out the log file and you will see those exception messages. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13227
https://github.com/apache/dolphinscheduler/pull/13231
b2336b0ce9e3ebbe57a92969c57a613964e5ccf2
915bdf481d23b50c87cb43ab8a85c5dcee1d43ab
2022-12-20T08:02:32Z
java
2022-12-20T09:54:47Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,226
["dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent-timeout.ts"]
[Bug] [UI] Failed to enable DEPENDENT node timeout alarm
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Create a dependent node, turn on the timeout alarm and click OK, reopen the node and find that the timeout alarm has not been turned on。 <img width="659" alt="Snipaste_2022-12-20_10-13-27" src="https://user-images.githubusercontent.com/32809232/208564986-7934f30f-eb62-4d7b-a049-605503d34acd.png"> <img width="667" alt="Snipaste_2022-12-20_10-14-05" src="https://user-images.githubusercontent.com/32809232/208565024-11188b7c-2f46-45f4-85a1-ef701e5c0cbf.png"> ### What you expected to happen I hope the timeout alarm can be fixed ### How to reproduce Create a dependent node, and then turn on the timeout alarm。 ### Anything else no ### Version 3.1.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13226
https://github.com/apache/dolphinscheduler/pull/13234
915bdf481d23b50c87cb43ab8a85c5dcee1d43ab
d795a7a0a33399426fedc8f91098467e4050b68e
2022-12-20T02:16:33Z
java
2022-12-21T08:18:10Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,223
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/constants/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/FileUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/FileUtilsTest.java", "dolphinscheduler-dao/pom.xml", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/TaskCacheUtils.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/utils/TaskCacheUtilsTest.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumer.java", "dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/utils/TaskFilesTransferUtils.java"]
[Improvement][Master] Validate same content of input file when using task cache
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Task cache mechanism is introduced in https://github.com/apache/dolphinscheduler/pull/13194. Cache key can make sure tasks have the same value of property (store resource path in file paramter), but the same resource path doesn't mean the same file contents. Also, the different resource path may have same content. For other types of parameter, the same value of property means the same input, keep logic consistency for file parameter, we should check the same content in resourcePath. Maybe we can add checksum of input file when generating cache key. In addition, i think it's improper to download the whole file in master, we can save checksum in another file when uploading output file, download checksum file when generating cache key. ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13223
https://github.com/apache/dolphinscheduler/pull/13298
8a479927f35daa21713a58212503a899012e4df2
ccad56e88eb21d960baf68b870c7c0dc7b260f63
2022-12-19T04:54:34Z
java
2023-01-03T03:38:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,197
["dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/plugin/DataSourceProcessorProvider.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-procedure/src/main/java/org/apache/dolphinscheduler/plugin/task/procedure/ProcedureTask.java"]
[Bug] [ProceducerTask] Remove datasource in procedure task
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Right now, we use datasource in procedure task, this will cause we cannot use TEMPORARY TABLE in procedure, since the temporary table will be release after the connection session close. But in datasource the session will not be closed, so the temporary will be share in different task. ### What you expected to happen xx ### How to reproduce In different task call the procedure. ``` CREATE PROCEDURE `temporary_table`() BEGIN CREATE TEMPORARY TABLE str_spilt_result ( id BIGINT(20) NOT NULL ); SELECT * from str_spilt_result; END; ``` ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13197
https://github.com/apache/dolphinscheduler/pull/13198
5cd8a02f873c11939288aeae717e04a05732d159
b2336b0ce9e3ebbe57a92969c57a613964e5ccf2
2022-12-15T06:24:58Z
java
2022-12-19T09:14:59Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,187
["dolphinscheduler-task-plugin/dolphinscheduler-task-openmldb/src/main/java/org/apache/dolphinscheduler/plugin/task/openmldb/OpenmldbParameters.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-openmldb/src/main/java/org/apache/dolphinscheduler/plugin/task/openmldb/OpenmldbTask.java"]
[Bug] [Task] OpenMLDB Task can't work
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened The OpenmldbTask will be failed, throw null exception in any situation. ### What you expected to happen OpenmldbTask extends PythonTask, add a new parameter var `openmldbParameters`, and doesn't init the member `pythonParameters`, but after 6e224d0 PythonTask will use `pythonParameter` in `handle()`. So it'll throw the null exception. We should make `OpenmldbParameters` extends `PythonParameters`, to avoid breaking changes in `PythonTask`. ### How to reproduce Add a openmldb task and run ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13187
https://github.com/apache/dolphinscheduler/pull/13190
84b5d810425f7bb23cc5a179d3dedeb295daa06d
43e6ac32ddc468c57633162a5cd442a70f418c18
2022-12-14T07:06:46Z
java
2022-12-14T12:13:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
13,160
["dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts", "dolphinscheduler-ui/src/views/projects/task/components/node/types.ts"]
[Bug] [UI] After modifying a few of fields on a dependent task form and canceling the task modal, these values of fields wouldn't be reset.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened After modifying a few of fields on a dependent task form and canceling the task modal, these values of fields wouldn't be reset. When opening this modal one more time, you can also see those modified values. Open a dependent task modal and choose a new project name for the dependent task: ![image](https://user-images.githubusercontent.com/4928204/207027377-fb5527ee-d2ac-426a-bb1d-f5a8a55ccea4.png) ![image](https://user-images.githubusercontent.com/4928204/207027395-4f06e324-290d-4484-8d26-32ef581303a7.png) Then cancel the modal and open the task again: ![image](https://user-images.githubusercontent.com/4928204/207027407-e056f2d0-fb87-477e-b072-30b329f8ea37.png) ### What you expected to happen When canceling the task modal all modified values should be restored. ### How to reproduce Open a dependent task modal and choose a new project name for the dependent task. And then cancel the modal and open the task again. You'll see this issue. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/13160
https://github.com/apache/dolphinscheduler/pull/13179
e4b9b67255528d1401f031905e8db07bb51aa580
c9053761bd5df6060736d216169a7c8c1a25e597
2022-12-12T10:58:32Z
java
2022-12-13T10:15:00Z