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 | 13,144 | ["dolphinscheduler-ui/src/common/common.ts", "dolphinscheduler-ui/src/common/types.ts", "dolphinscheduler-ui/src/locales/en_US/project.ts", "dolphinscheduler-ui/src/locales/zh_CN/project.ts", "dolphinscheduler-ui/src/views/projects/workflow/instance/components/process-instance-condition.tsx"] | [Bug] [API] Failed when querying based on workflow status | ### 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 query a workflow based on its state the query fails, I figure out it's a missing enum value in the code.
<img width="1652" alt="企业微信截图_33ed92af-871c-4892-9a87-f49fe9cca9d6" src="https://user-images.githubusercontent.com/32809232/206623657-50a08206-6dca-455f-9460-b96204083277.png">
<img width="1680" alt="企业微信截图_aabe923b-1004-4093-94fd-5dbdb28df08b" src="https://user-images.githubusercontent.com/32809232/206623753-e06e70c2-87fc-4bb4-8725-cabfbd7bf63c.png">
### What you expected to happen
xx
### How to reproduce
When the workflow filter type is kill, waiting for thread, waiting for dependency, delay execution, etc., the query will fail
### 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/13144 | https://github.com/apache/dolphinscheduler/pull/13243 | c213c6fe34646a36e9ae422b686b410c0a944ad3 | 3ecb4dbe24fa85b5cb070841b14cb629edd99491 | 2022-12-09T04:28:55Z | java | 2022-12-22T01:21:54Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,140 | ["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java"] | [Improvement][Master] Get varPool from upstream tasks instead of processInstance if dag is incomplete | ### 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 restarting failed task, dag is incomplete, the failed task can not get preTask from dag. But in `getPreVarPool ` method, our implement method is to get the `varPool` from `processInstance` because preTask is empty. This will lead to some unknown errors. For example, ` varPool` in `processInstance` is updated by something else.
I think we can find the actual upstream tasks from the database or other places.
```java
public void getPreVarPool(TaskInstance taskInstance, Set<String> preTask) {
Map<String, Property> allProperty = new HashMap<>();
Map<String, TaskInstance> allTaskInstance = new HashMap<>();
if (CollectionUtils.isNotEmpty(preTask)) {
for (String preTaskCode : preTask) {
Integer taskId = completeTaskMap.get(Long.parseLong(preTaskCode));
if (taskId == null) {
continue;
}
TaskInstance preTaskInstance = taskInstanceMap.get(taskId);
if (preTaskInstance == null) {
continue;
}
String preVarPool = preTaskInstance.getVarPool();
if (StringUtils.isNotEmpty(preVarPool)) {
List<Property> properties = JSONUtils.toList(preVarPool, Property.class);
for (Property info : properties) {
setVarPoolValue(allProperty, allTaskInstance, preTaskInstance, info);
}
}
}
if (allProperty.size() > 0) {
taskInstance.setVarPool(JSONUtils.toJsonString(allProperty.values()));
}
} else {
if (StringUtils.isNotEmpty(processInstance.getVarPool())) {
taskInstance.setVarPool(processInstance.getVarPool());
}
}
}
```
### 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/13140 | https://github.com/apache/dolphinscheduler/pull/13255 | 14ec4a239813be6dfeedb919f5fbff28eb5ec9dc | 2e95a020abb89f1958870bd79dbca41d71adc9c2 | 2022-12-09T01:56:00Z | java | 2022-12-22T07:51:40Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,122 | ["dolphinscheduler-ui/src/views/projects/task/definition/use-table.ts", "dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts", "dolphinscheduler-ui/src/views/projects/workflow/instance/use-table.ts"] | [Improvement][UI] Suggest to add a feature that users can resize the column width of tables like 'Workflow Instance','Task Definition' and 'Task Instance'. | ### 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
Suggest to add a feature that users can resize the column width of tables like 'Workflow Instance','Task Definition' and 'Task Instance'.
### 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/13122 | https://github.com/apache/dolphinscheduler/pull/13123 | 82c86a985e4916b92f90cac273b41d3a26b28a5c | 26b7541d954ba63deb37e89479ab4d648573e8ae | 2022-12-07T07:54:19Z | java | 2022-12-07T09:44:10Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,105 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/TaskDefinitionController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/TaskDefinitionService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TaskDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/TaskDefinitionServiceImplTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionMapper.xml", "dolphinscheduler-ui/src/views/projects/task/definition/batch-task.tsx"] | [Improvement][dolphinscheduler-api] optimization task definition & fix in the task definition list, if one task have more pre task, the task list can't show all 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 the task definition, delete search workflow name filter, and fix in the task definition list, if one task have more pre task, the task list can't show all 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/13105 | https://github.com/apache/dolphinscheduler/pull/13106 | d9f43adafdc6a0db3d17777fa8432122bd2acc9e | cb8d125e0f5c099078af7f1629cbdfeec0692951 | 2022-12-05T15:27:59Z | java | 2022-12-07T01:52:53Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,089 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.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-ui/src/views/projects/workflow/definition/components/use-form.ts"] | [Bug] [Server] Once click online schedule time, task will be automatically scheduled | ### 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
v3.0.2
For a workflow with a schedule time, on the `Cron management` page, when we click offline and then click online, and the task will be automatically scheduled once.
<img width="1135" alt="image" src="https://user-images.githubusercontent.com/18065113/205472202-3131a018-14bf-4016-8e55-bbae9be1ca8e.png">
### What you expected to happen
Expected workflow won't be schedule when just click online
### How to reproduce
we click offline and then click online on the `Cron management` page
### 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/13089 | https://github.com/apache/dolphinscheduler/pull/13092 | df32ef0efb20641a228b999c625f7c3db989b97b | 7497b26979ec1ba5c473c99d8e51a97c91250f25 | 2022-12-04T03:06:54Z | java | 2022-12-28T06:51:59Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,084 | ["dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts"] | [Improvement] [UI] The task instance page, when the host is null, download log button should not be enabled. | ### 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 task instance page, when the host is null, download log button should not be enabled.

Click will throw exception:
`{"code":null,"msg":"task instance is null or host is null","data":null,"failed":true,"success":false}`
### What you expected to happen
The download log button should be disabled like the view button on the left.
### How to reproduce
Make the task instance state `NEED_FAULT_TOLERANCE`
### 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/13084 | https://github.com/apache/dolphinscheduler/pull/13090 | 917df4f6ca9513f0d535f5c3b8ceb372a0ad9966 | 58d21abfa166cb8c93ca4ff511f769dd147b2aff | 2022-12-02T17:35:53Z | java | 2022-12-10T04:34:35Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,066 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TaskDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/TaskDefinitionServiceImplTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/repository/ProcessTaskRelationLogDao.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/repository/impl/ProcessTaskRelationLogDaoImpl.java"] | [Bug] [dolphinscheduler-api] in the task definition list, can't just modify upstream task 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
in the task definition list, can't just modify upstream task list
### What you expected to happen
can modify
### How to reproduce
in the task definition list, select edit, just modify upstream task list
### 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/13066 | https://github.com/apache/dolphinscheduler/pull/12722 | a843e0b96d10dc23907318479b385b95038bcd4d | 8439b5dc69f2a7dfc1043393bbbb21a8277715da | 2022-12-01T03:09:05Z | java | 2023-01-15T11:58:47Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,052 | ["docs/docs/en/guide/task/seatunnel.md", "docs/docs/zh/guide/task/seatunnel.md", "dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/DeployModeEnum.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/EngineEnum.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/SeatunnelTaskChannel.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/self/SeatunnelEngineParameters.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/self/SeatunnelEngineTask.java", "dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-deploy-mode.ts", "dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sea-tunnel.ts"] | [Feature][Task Plugin] Support Apache Seatunnel Connector-V2 | ### 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_
### Use case
_No response_
### Related issues
_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/13052 | https://github.com/apache/dolphinscheduler/pull/13086 | d772f2492b83e38c6615f4e48d6c6253f7ef74bc | 4439c1ec9096bd4ae3a7e4ad7edb939992a4f7ce | 2022-11-30T06:38:46Z | java | 2023-04-08T14:02:19Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,045 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/StateEventType.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/WorkflowStartEventHandler.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/WorkflowStateEventHandler.java"] | [Improvement][Master] add max submit times of 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 submit workflow failure , will resubmit workflow . if have not maximum number of submissions,will cause print a lot log which takes up a lot of resources
### 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/13045 | https://github.com/apache/dolphinscheduler/pull/13051 | e8b20def544a203bb9c927e19dae531b6f98d512 | 701d67c831227ae71d0ce903fe814f37548319c9 | 2022-11-29T12:32:59Z | java | 2023-02-20T06:10:59Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,043 | ["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskRetryStateEventHandler.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java"] | [Bug] [task retry] Clone retry task Instance missing id 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
In WorkflowExecuteRunnable. NewTaskInstance (), lack of the set id field.
task retry causes the NPE to occur.
NPE location: StateWheelExecuteThread. addTaskRetryEvent() set taskInstanceId
### What you expected to happen
The task instance can retry properly
### How to reproduce
task set retry
### 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/13043 | https://github.com/apache/dolphinscheduler/pull/13077 | fed1e85fb833bf5dec9de36b5a539885c2da1ee3 | a7ecc5a8b31d63bb71615d59aeffddc60e59f5aa | 2022-11-29T08:48:45Z | java | 2022-12-05T13:22:51Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,041 | ["docs/docs/en/guide/data-quality.md", "docs/docs/zh/guide/data-quality.md"] | [Bug] [data-quality] data-quality document 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
https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/guide/data-quality.md
<img width="1052" alt="企业微信截图_cf41b4b4-e64e-4fad-86ba-9ba76990cca8" src="https://user-images.githubusercontent.com/19989300/204458147-d3eb1080-2612-4d4c-92c3-592e8f45f15d.png">
**_CheckFormula:Expected-Actual
result should be 9-10 < 0_**
### What you expected to happen
correct the document
### How to reproduce
doc is wrong
### 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/13041 | https://github.com/apache/dolphinscheduler/pull/13110 | 316496211a3904feef97fb22f84b3de607dc251e | 917df4f6ca9513f0d535f5c3b8ceb372a0ad9966 | 2022-11-29T06:49:55Z | java | 2022-12-10T04:23:44Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,024 | ["dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/datasource/AbstractDataSourceProcessor.java", "dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache/dolphinscheduler/plugin/datasource/api/datasource/AbstractDataSourceProcessorTest.java"] | [Bug] [Athena Datasource] datasource other params illegal | ### 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 log
```
[ERROR] 2022-11-28 07:37:52.705 +0000 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[53] - 建立数据源连接失败
java.lang.IllegalArgumentException: datasource other params illegal
at org.apache.dolphinscheduler.plugin.datasource.api.datasource.AbstractDataSourceProcessor.checkOther(AbstractDataSourceProcessor.java:89)
at org.apache.dolphinscheduler.plugin.datasource.api.datasource.AbstractDataSourceProcessor.checkDatasourceParam(AbstractDataSourceProcessor.java:50)
at org.apache.dolphinscheduler.plugin.datasource.api.utils.DataSourceUtils.checkDatasourceParam(DataSourceUtils.java:47)
at org.apache.dolphinscheduler.api.controller.DataSourceController.connectDataSource(DataSourceController.java:218)
at org.apache.dolphinscheduler.api.controller.DataSourceController$$FastClassBySpringCGLIB$$835fdd04.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
```

### What you expected to happen
Add athena datasource normally
### How to reproduce
when add athena datasource .
set other jdbc params.
```
{"s3_staging_dir":"s3://aws-athena-results-ap-south-1/all-logs"}
```
### 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/13024 | https://github.com/apache/dolphinscheduler/pull/13032 | d64004abea8cd18fbfe39437d25497bd8f1dfa27 | 3630b00c9fb61784a676c837f30d2aa776785258 | 2022-11-28T08:07:25Z | java | 2023-03-30T08:15:29Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,018 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProcessInstanceController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/WorkflowInstanceV2Controller.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/TaskInstanceV2ControllerTest.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-linkis/src/main/java/org/apache/dolphinscheduler/plugin/task/linkis/LinkisTask.java", "pom.xml"] | [Bug] [Style] `Wildcard imports check` fails to catch `import static xxx;\n` | ### 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
* `Spotless wildcard imports check` fails to catch `import static xxx;\n`
* https://github.com/apache/dolphinscheduler/pull/12990#discussion_r1033161031
### What you expected to happen
* `import static xxx;\n` should be caught by CI.
### How to reproduce
* See the hyper link above.
### 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/13018 | https://github.com/apache/dolphinscheduler/pull/13067 | 12a6138d3343a489069ddf98c48f61957801b167 | c2ae76c0bd6a115164002cfff3be10e16aa0eeb9 | 2022-11-28T06:21:14Z | java | 2022-12-01T06:15:28Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,010 | ["dolphinscheduler-task-plugin/dolphinscheduler-task-flink-stream/src/test/java/org/apache/dolphinscheduler/plugin/task/flink/FlinkArgsUtilsTest.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-flink/src/main/java/org/apache/dolphinscheduler/plugin/task/flink/FlinkArgsUtils.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-flink/src/main/java/org/apache/dolphinscheduler/plugin/task/flink/FlinkConstants.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-flink/src/test/java/org/apache/dolphinscheduler/plugin/task/flink/FlinkArgsUtilsTest.java", "dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-flink.ts"] | [Bug] [Task] The Flink SQL task page selects the pre-job deployment mode, but the task executed by the worker is the Flink local mode | ### 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 Flink SQL task page selects the pre-job deployment mode, but the task executed by the worker is the Flink local mode.
### What you expected to happen
The Flink SQL task page selects the pre-job deployment mode, and the task executed by the worker is the Flink per-job mode
### How to reproduce
Select the Flink task type, use SQL, select per-job as the deployment mode, execute this task, and view the flink tasks started by the worker.
### 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/13010 | https://github.com/apache/dolphinscheduler/pull/13011 | 1a8811cb419551045d0d05b99116e2d2560d6a6f | ae670e6e1c0c0bcd645ab3e1776eca75b9765b8c | 2022-11-26T14:38:22Z | java | 2022-11-28T02:09:49Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 13,008 | ["dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-dependent.ts", "dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts", "dolphinscheduler-ui/src/views/projects/task/components/node/types.ts"] | [Bug] [Master] When using the complement function, turn on the dependent mode to generate multiple unrelated workflow instances | ### 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 using the complement function, turn on the dependent mode to generate multiple unrelated workflow instances.
I found that the definitionCodeOptions data is included in the parameters of the dependent task node in the database, causing problems for tasks that depend on this workflow definition downstream of the query
<img width="858" alt="image" src="https://user-images.githubusercontent.com/37063904/204091283-f8369a61-0452-47e9-a34e-7ab75df3afcf.png">
### What you expected to happen
Use the complement function to open the dependency model and generate downstream workflow instances that depend on this workflow definition.
### How to reproduce
In a workflow definition with dependent tasks, click the dependent task node, select different workflows for different projects in the original dependency relationship, and click Cancel. Then click Save to view and update the workflow definition interface input parameter contains definitionCodeOptions data
### 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/13008 | https://github.com/apache/dolphinscheduler/pull/13009 | e5f4ee2d643d0c6419c4347a59e327a346eed5e4 | 597ae5ff7ce68251d6194ed757e680e2575cdc71 | 2022-11-26T13:47:54Z | java | 2022-11-27T03:14:00Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,997 | ["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/ProcessInstance.java"] | [Bug] [API] The workflow instance clicks the rerun button, and the end time is the end time of the last instance | ### 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 workflow instance clicks the rerun button, and the end time is the end time of the last instance.
<img width="1181" alt="iShot_2022-11-25_17 00 46" src="https://user-images.githubusercontent.com/37063904/203942380-f4f70834-5540-4302-bbee-1f6e828207fd.png">
### What you expected to happen
When the workflow instance clicks the rerun button, the end time is reset to null.
### How to reproduce
The workflow instance clicks the rerun button and observes the end time of the instance.
### 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/12997 | https://github.com/apache/dolphinscheduler/pull/12998 | d480c271ec7d86b3af1a6132b88bbb2cdcabc558 | f9a0ecbc81a5a63b4265983e41b05281db14b772 | 2022-11-25T09:06:34Z | java | 2022-11-27T07:08:30Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,994 | ["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java"] | [Bug] [Worker] kill process does not take effect | ### 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 execute a shell task, a workflow instance will be generated, click the stop button on the workflow instance, and check the status of the shell task instance on the page is KILL, but I found that the shell task is still executing and has not been Killed.
shell task definition
<img width="639" alt="image" src="https://user-images.githubusercontent.com/37063904/203911534-72c32290-5904-45de-bf45-e0a851e5abf8.png">
shell task instance
<img width="1182" alt="image" src="https://user-images.githubusercontent.com/37063904/203911588-c2cdc9b1-300d-436f-994d-b0df0cbbf09b.png">
shell task instance log
<img width="896" alt="image" src="https://user-images.githubusercontent.com/37063904/203911733-3585fb95-fa89-4449-abb4-cf2443aaf45c.png">
I have killed the task at 02 minutes, and the status of the task instance is KILL, but the task instance log is still executing after 02 minutes, and the execution is successful.
### What you expected to happen
The task is actually killed.
### How to reproduce
Create a workflow definition with only one shell task inside. Execute this workflow definition manually, click the stop button on the generated workflow instance, and view the status and logs of the task instance.
### 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/12994 | https://github.com/apache/dolphinscheduler/pull/12995 | 43719f7c15008f2e72268ce5058069e7c43b67ed | d480c271ec7d86b3af1a6132b88bbb2cdcabc558 | 2022-11-25T05:58:41Z | java | 2022-11-27T06:27:48Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,986 | ["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"] | [Improvement][Alert] Remove default alert 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
* https://github.com/apache/dolphinscheduler/blob/db615ba284de8ab2782ef41ab412286357d77cb6/dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql#L1013-L1015
* Currently DS binds alert plugin instances with id 1 and 2 to `default alert group`, which may cause unexpected behavior.
* We might remove the initialization for default alert group, or find a more appropriate way. WDYT? @caishunfeng @ruanwenjun
### 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/12986 | https://github.com/apache/dolphinscheduler/pull/13114 | 8a152aebc70f57cc400c1cd8b16991817bed0d0e | d9f43adafdc6a0db3d17777fa8432122bd2acc9e | 2022-11-24T05:45:19Z | java | 2022-12-06T15:10:48Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,973 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapper.xml"] | [Improvement][API] The task instance list is sorted by submission 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
The current task instance list is sorted according to the task start time, but some task start times are empty, and this batch of tasks will always be at the top of the task instance list. When there is a large amount of data, it will greatly affect the viewing of data.
<img width="1473" alt="iShot_2022-11-23_11 07 41" src="https://user-images.githubusercontent.com/37063904/203462534-9f33293d-09ba-4066-a0e5-813f29485cf1.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/12973 | https://github.com/apache/dolphinscheduler/pull/12974 | 04ef87d1d9bfc8097ad7ffd6b30e49554c685b01 | 31021730ec78d8de1b55a3471ca713995052105b | 2022-11-23T03:13:32Z | java | 2022-11-24T10:59:53Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,963 | ["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java"] | [Bug] [Master] Dependent task node null pointer exception | ### 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="1395" alt="image" src="https://user-images.githubusercontent.com/37063904/203247835-598e1825-93f8-4eab-832e-374b0b77014b.png">
### What you expected to happen
Dependent task node to check that the status of the upstream task is normal
### How to reproduce
There are two workflow definitions: w1, w2. In the workflow definition w2, use the dependent task node to select the workflow definition w1, and the time is today.
Trigger w1 regularly to generate a w1-1 workflow instance to keep the task running; manually generate a w1-2 workflow instance to keep the task running. A workflow instance of w2 is generated regularly, and a null pointer exception will be reported if the dependent task node.
### 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/12963 | https://github.com/apache/dolphinscheduler/pull/12965 | 31021730ec78d8de1b55a3471ca713995052105b | 50779ea1e6acdbca721dcc3d6331e13687ac9544 | 2022-11-22T07:22:04Z | java | 2022-11-24T11:00:46Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,962 | ["docs/docs/en/guide/task/sqoop.md"] | [Bug] [DOC] fix doc lead CI 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
<img width="1898" alt="image" src="https://user-images.githubusercontent.com/31528124/203250179-44f18ebc-2fe3-4d1a-83ff-6ba028a3a898.png">
### What you expected to happen
empty
### How to reproduce
empty
### Anything else
empty
### 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/12962 | https://github.com/apache/dolphinscheduler/pull/12964 | 2f8f0952fb6e45b84437e9f651096858d856bd96 | bd1efccc9a4f451c30e0c74c9bd5d279167ffef6 | 2022-11-22T07:21:01Z | java | 2022-11-22T07:37:19Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,958 | ["docs/docs/en/guide/parameter/context.md", "docs/docs/zh/guide/parameter/context.md", "docs/img/new_ui/dev/parameter/python_context_param.png", "dolphinscheduler-task-plugin/dolphinscheduler-task-python/src/main/java/org/apache/dolphinscheduler/plugin/task/python/PythonTask.java"] | [Bug] [Task Plugin] Python task can not pass the parameters to downstream 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’t work
### What you expected to happen
empty
### How to reproduce
empty
### 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/12958 | https://github.com/apache/dolphinscheduler/pull/12961 | bd1efccc9a4f451c30e0c74c9bd5d279167ffef6 | 6e224d08a22b0d9e67059bae69087038f7ba7394 | 2022-11-22T06:34:57Z | java | 2022-11-22T08:11:45Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,954 | ["docs/docs/en/guide/task/sqoop.md", "dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz/src/main/java/org/apache/dolphinscheduler/scheduler/quartz/ProcessScheduleTask.java"] | [Bug] [Schedule] When timing triggers execution, the configured workflow-level environment information does not take effect | ### 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 timing triggers execution, the configured workflow-level environment information does not take effect.
### What you expected to happen
When timing triggers execution, the workflow configuration environment information is effective.
### How to reproduce
When timing triggers execution, the configured workflow-level environment information does not take effect.
### 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/12954 | https://github.com/apache/dolphinscheduler/pull/12955 | 3747029cc06cef2c3dd5063b3dc303585627400b | 2f8f0952fb6e45b84437e9f651096858d856bd96 | 2022-11-22T01:42:51Z | java | 2022-11-22T07:35:29Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,943 | ["dolphinscheduler-ui/package.json", "dolphinscheduler-ui/pnpm-lock.yaml", "dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts"] | [Improvement][UI] Suggest to add a feature that users can drag the column of workflow name to resize its width. | ### 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 workflow name on the page of workflow definition could be too long to see its name at times. Although providing the tooltip to see the whole name, it's still kind of less convenient. So I'd suggest to add a feature that users can drag the column of workflow name to resize its width.
<img width="1509" alt="image" src="https://user-images.githubusercontent.com/4928204/202849833-c932f86e-c4f6-4ee8-ad56-0be144b7760d.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/12943 | https://github.com/apache/dolphinscheduler/pull/13006 | 7336afaa65e3c4bb4596081cf0049b5166506a0c | e5f4ee2d643d0c6419c4347a59e327a346eed5e4 | 2022-11-19T12:03:46Z | java | 2022-11-27T03:09:45Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,932 | ["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThreadPool.java"] | [Bug] [Master] when subprocess's processInstance is fail,not notify parent processInstance | ### 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 subprocess's process Instance 's state changed to fail, match the task instance‘s state is still SUBMITTED_SUCCESS in the parent process instance
### What you expected to happen
notify master to change state in parent process instance
### How to reproduce
notify master to change state in parent process instance
### 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/12932 | https://github.com/apache/dolphinscheduler/pull/12933 | d09e02e5a92f0f6a70d053128e280be1143a567b | 3747029cc06cef2c3dd5063b3dc303585627400b | 2022-11-18T06:02:43Z | java | 2022-11-22T07:07:50Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,927 | ["docs/docs/en/guide/parameter/context.md", "docs/docs/zh/guide/parameter/context.md", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/parameters/AbstractParameters.java"] | [Bug] [Worker The parameter setting of the same out type is invalid multiple times. | ### 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 same name out type parameter setting is invalid multiple times( use first)
### What you expected to happen
The same type parameter setting uses the latest value multiple times
### How to reproduce
Use sql to modify values for the same out type multiple times
### 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/12927 | https://github.com/apache/dolphinscheduler/pull/12930 | f5801a0e1c8bebc900d75aab8ca3314bc0410c6b | 560d232cbdea88e3ef1ede51fd55c8eb0e87594d | 2022-11-17T03:50:32Z | java | 2022-12-12T03:07:23Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,916 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/LoggerController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/LoggerService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/LoggerServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/LoggerServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessInstanceServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml"] | [Bug] [Log] User can query or download other user's 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
User can query or download other user's log
### What you expected to happen
There's permission control in loggerService.
### How to reproduce
User (not admin) query the log of a task instance which is created by other user.
<img width="1386" alt="截屏2022-11-16 09 55 30" src="https://user-images.githubusercontent.com/38122586/202098814-7afaea49-0a57-43be-8476-ea56da0a28d2.png">
### 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/12916 | https://github.com/apache/dolphinscheduler/pull/12917 | 3106054ea78a0036069d1860a228723519efab38 | 7336afaa65e3c4bb4596081cf0049b5166506a0c | 2022-11-16T06:14:30Z | java | 2022-11-25T09:59:28Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,908 | ["dolphinscheduler-worker/src/main/bin/start.sh"] | [Bug] [Worker] Execute shell task exception no dolphinscheduler_env.sh file execute permission | ### 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
Execute shell task exception no dolphinscheduler_env.sh file execute permission.

### What you expected to happen
Execute the shell task to execute the dolphinscheduler_env.sh file normally.
### How to reproduce
Restart the worker-server service, execute shell tasks, and view task logs.
### 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/12908 | https://github.com/apache/dolphinscheduler/pull/12909 | 7c90bf01bcd19949f7e3c3a92f7169093ef3700c | 401fb4edd4760abbad5f569446bb421c6f096da1 | 2022-11-15T13:20:21Z | java | 2022-11-17T13:43:35Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,907 | ["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/host/LowerWeightHostManager.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/ServerNodeManager.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/task/MasterHeartBeatTask.java", "dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/task/WorkerHeartBeatTask.java"] | [Improvement][Log] Adjust WorkerHeartBeatTask log level. | ### 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
Please check the following screenshot, i think these heartbeat log should be `debug`, not `info`. Frequent normal heartbeat logs will interfere with user focus


### 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/12907 | https://github.com/apache/dolphinscheduler/pull/12980 | a2ff140f43a19eb0e9661ce6b1dbffe14fcdd11e | 3106054ea78a0036069d1860a228723519efab38 | 2022-11-15T12:56:38Z | java | 2022-11-25T09:37:30Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,896 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/DataSourceServiceTest.java"] | [Improvement][Datasource]It is unnecessary to check the validity when saving the data source | ### 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
It is unnecessary to check the validity when saving the data source.
Eg:
The datasource is only open to the specified worker, but we cannot connect it from API-SERVER.
### 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/12896 | https://github.com/apache/dolphinscheduler/pull/12900 | d02991a2e6332609e6d745d769f5bebbe17ed78f | 528f45acc5a899d96dbe7caca1a05f8174648e2f | 2022-11-14T11:33:54Z | java | 2022-11-17T06:23:12Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,866 | ["dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertSenderService.java"] | [Bug] [Alert] Ignore alert not write info to db | ### 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
Alert warning type does not match instance, will ignore this alert, but not write correct into the back to DB.
### What you expected to happen
When the alert warning type does not match the instance, write the correct info to DB.
### How to reproduce
⬆️
### 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/12866 | https://github.com/apache/dolphinscheduler/pull/12867 | 2dbc79693e99f7a10d8bddeef691d9321dc5f10c | d02991a2e6332609e6d745d769f5bebbe17ed78f | 2022-11-11T07:30:13Z | java | 2022-11-17T06:14:12Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,865 | ["dolphinscheduler-alert/dolphinscheduler-alert-api/src/main/java/org/apache/dolphinscheduler/alert/api/AlertInputTips.java", "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-http/src/main/java/org/apache/dolphinscheduler/plugin/alert/http/HttpAlertChannelFactory.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannelFactory.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-slack/src/main/java/org/apache/dolphinscheduler/plugin/alert/slack/SlackAlertChannelFactory.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-telegram/src/main/java/org/apache/dolphinscheduler/plugin/alert/telegram/TelegramAlertChannelFactory.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-webexteams/src/main/java/org/apache/dolphinscheduler/plugin/alert/webexteams/WebexTeamsAlertChannelFactory.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-wechat/src/main/java/org/apache/dolphinscheduler/plugin/alert/wechat/WeChatAlertChannelFactory.java"] | [Bug] [Alert] translate alert input field tips to chinese when using chinese | ### 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 alert input field tips is in English when the UI using Chinese as language.

### What you expected to happen
the input field tips should be Chinese when using the language
### How to reproduce
check alert instance page
### 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/12865 | https://github.com/apache/dolphinscheduler/pull/12879 | 403c6a6bb6ec9fc380ffd763301891ad57029e2b | 250d81bcf81bc4432f832197e1f96ad440944d5d | 2022-11-11T06:45:13Z | java | 2022-11-14T03:14:14Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,856 | ["dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/UdfFuncMapperTest.java"] | [Improvement][UT] Refactor duplicated code fragment in `UdfFuncMapperTest` | ### 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 ut of UdfFuncMapperTest
### 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/12856 | https://github.com/apache/dolphinscheduler/pull/12857 | 713046b04328edd10c06711a39092f739298c6c6 | 83f9588eb07832f058c3fafe990a997069baf68f | 2022-11-10T07:12:10Z | java | 2022-11-15T14:59:11Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,853 | ["dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/permission/ResourcePermissionCheckServiceTest.java"] | [Improvement][UT] Improve the ut of ResourcePermissionCheckServiceTest | ### 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 ut of ResourcePermissionCheckServiceTest
### 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/12853 | https://github.com/apache/dolphinscheduler/pull/12854 | 27c37b882840e4e373d966858e27793686bdc94c | 20518682bbc1970f3250ece24c35bddf35241a98 | 2022-11-10T06:24:27Z | java | 2022-11-19T07:12:12Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,850 | ["dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/DataSourceMapperTest.java"] | [Improvement][UT] Improve the ut of DataSourceMapperTest | ### 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 ut of DataSourceMapperTest
### 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/12850 | https://github.com/apache/dolphinscheduler/pull/12851 | 2ba5bd47dde2defb90c18dcac4117d19d55b9076 | 7c711e622f8e5c7efbcbbd349aeb5f117ddab792 | 2022-11-10T04:06:09Z | java | 2022-11-12T15:57:40Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,838 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/DataSourceServiceTest.java"] | [Improvement][UT] Improve the ut of datasource | ### 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 ut of datasource
### 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/12838 | https://github.com/apache/dolphinscheduler/pull/12839 | e3cf72cbcd022adb0527b5c22199a851b11be6bf | 813c44b22b3561f4c32524781ef395892512aef8 | 2022-11-09T08:23:10Z | java | 2022-11-14T03:30:10Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,834 | ["dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts"] | [Feature][ui] suggest put status and schedule publish status together in workflow definition list page. | ### 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
suggest put status and schedule publish status together in workflow definition list page.
It is difficult to use, because need drag the progress bar to see schedule publish status.
### 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/12834 | https://github.com/apache/dolphinscheduler/pull/12922 | d803658abd7e09183d6d7a1c611a00cb327b5f28 | c0b03fca21ec40fd15c52f139b3969065aee2a82 | 2022-11-09T04:32:22Z | java | 2022-11-18T15:03:02Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,832 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/WorkerGroupServiceTest.java"] | [Bug] [api] cannot modify 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 issues.
### What happened
cannot modify worker group in worker group manage page. alert worker group already exists.
### What you expected to happen
can modify worker group
### How to reproduce
modify worker group in worker group manage page.
### 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/12832 | https://github.com/apache/dolphinscheduler/pull/12874 | 250d81bcf81bc4432f832197e1f96ad440944d5d | e3cf72cbcd022adb0527b5c22199a851b11be6bf | 2022-11-09T04:00:21Z | java | 2022-11-14T03:20:51Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,828 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/DataSourceController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/DataSourceService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/DataSourceServiceTest.java"] | [Bug] [api] User can query unauthorized datasource | ### 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
User can query unauthorized datasource
### What you expected to happen
User can not query unauthorized datasource
### How to reproduce
1. send GET request `.../dolphinscheduler/dasources/<id>`
2. and get the datasource without permission check
<img width="1916" alt="截屏2022-11-09 11 21 47" src="https://user-images.githubusercontent.com/38122586/200731130-acd4d848-13a3-4ced-9899-2994c2ac741c.png">
### 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/12828 | https://github.com/apache/dolphinscheduler/pull/12830 | 78e5569afd557de547a122e81a3993be012a4ae8 | 80da35e39cae8edd5d228d4d189f1eb3d4013aee | 2022-11-09T03:28:02Z | java | 2023-02-01T02:41:05Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,827 | [".gitignore", ".idea/icon.png"] | [Feature] add icon in Intellijidea and toolbox | ### 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
show icon in Intellijidea and toolbox
like this
<img width="432" alt="image" src="https://user-images.githubusercontent.com/35358675/200730724-f5b7c31b-dec4-40ec-8ec6-4933a603bbe7.png">
<img width="1441" alt="image" src="https://user-images.githubusercontent.com/35358675/200730769-1487405a-c40e-430a-9635-9a5032938ebe.png">
### Use case
_No response_
### Related issues
_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/12827 | https://github.com/apache/dolphinscheduler/pull/12829 | bf74b4280fa7c98ea3ec5c5c995bfe0d2f3710d1 | 5b7a609a0ebbf5c0bf664c68ce4cc2354c78f459 | 2022-11-09T03:25:47Z | java | 2022-11-10T10:56:28Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,812 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java"] | [Bug] [Api] Added param description | ### 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
Added param description in function.
### What you expected to happen
Param description in function lost.
### How to reproduce
ResourceServiceImpl upload.
### 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/12812 | https://github.com/apache/dolphinscheduler/pull/12813 | 23ead4f0e822e0726d586f8a0a4d0820da700fec | 04c6b5e4131c87258e47cdcfb4d5b3f21f9e78e4 | 2022-11-08T05:46:42Z | java | 2022-11-08T13:17:40Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,804 | ["dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/DataAnalysisControllerTest.java"] | [Improvement][UT] Remove the unused method in DataAnalysisControllerTest | ### 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 unused method in DataAnalysisControllerTest
### 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/12804 | https://github.com/apache/dolphinscheduler/pull/12805 | 27c00ed3772113e4eb7c53035360d3e3dbf55e66 | d09e02e5a92f0f6a70d053128e280be1143a567b | 2022-11-08T02:20:11Z | java | 2022-11-21T12:59:30Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,764 | ["docs/docs/en/guide/task/hive-cli.md", "docs/docs/en/guide/task/sql.md", "docs/docs/zh/guide/task/hive-cli.md", "docs/docs/zh/guide/task/sql.md", "docs/img/tasks/demo/hive_cli_from_script.png", "docs/img/tasks/demo/pre_post_sql.png"] | [Doc][hive-sql] hive-sql and hive-cli doc not approperiate | ### 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
problems:
hive in the sql task type, cannot execute multi-statements and use ';'.
hive-cli doc can execute multi-statements, need add execute multi-statements case snapshoot.
### Documentation Links
https://dolphinscheduler.apache.org/zh-cn/docs/latest/user_doc/guide/task/sql.html
https://dolphinscheduler.apache.org/zh-cn/docs/latest/user_doc/guide/task/hive-cli.html
### 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/12764 | https://github.com/apache/dolphinscheduler/pull/12765 | 6c5ab3fb5caa624dcab81906efc606af8d9b0bfb | 9bba4b105c671d7caa3db75a230216ee47915e20 | 2022-11-07T07:24:15Z | java | 2022-11-07T09:39:02Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,763 | ["dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/ProjectMapperTest.java"] | [Improvement][UT] Improve testListAuthorizedProjects() in ProjectMapperTest | ### 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 testListAuthorizedProjects() in ProjectMapperTest
### 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/12763 | https://github.com/apache/dolphinscheduler/pull/12768 | 597ae5ff7ce68251d6194ed757e680e2575cdc71 | 43719f7c15008f2e72268ce5058069e7c43b67ed | 2022-11-07T07:19:56Z | java | 2022-11-27T05:15:38Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,758 | ["dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-config.ts"] | [Improvement][UI] Need to adjust the args of router to allow the edge to be connected with node at its different positions. | ### 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
Need to adjust the args of router to allow the edge to be connected with node at its different positions.
### 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/12758 | https://github.com/apache/dolphinscheduler/pull/12759 | c4fb55588378e43d9cbd7faea271df0a16d004c4 | 4c714cf9c962504e604ffa75d675826b7318c051 | 2022-11-07T05:46:40Z | java | 2022-11-07T06:26:12Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,741 | ["dolphinscheduler-aop/pom.xml", "pom.xml"] | [Bug] [dolphinscheduler-aop] aspectj-maven-plugin version undefined | ### 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 found that during CI/CD, there's a warning because of plugin version undefined, which possibly cause error in the future.
<img width="1022" alt="image" src="https://user-images.githubusercontent.com/45198818/200212472-77cb0661-e71b-4e8c-8130-ddef1788225b.png">
### What you expected to happen
Add plugin version and remove warning.
### How to reproduce
It can be seen in every CICD log😢.
### 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/12741 | https://github.com/apache/dolphinscheduler/pull/12756 | 0e099037bf88b1f3a1011f340914b80eb7cde496 | 6c5ab3fb5caa624dcab81906efc606af8d9b0bfb | 2022-11-07T02:47:12Z | java | 2022-11-07T07:07:07Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,725 | ["dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-config.ts", "dolphinscheduler-ui/src/views/projects/workflow/components/dag/use-canvas-init.ts"] | [Improvement][UI] Make nodes and edges in the DAG more obvious and beautiful. | ### 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 nodes and edges in the DAG are a little bit less obvious. And the font size of the label in the nodes is too small to see it. The edges between two nodes overlap too much. So users can't be able to find their relations easily.
<img width="1724" alt="image" src="https://user-images.githubusercontent.com/4928204/200106349-3d6ddfe3-7c0b-45b2-83a9-8feb2ea6a307.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/12725 | https://github.com/apache/dolphinscheduler/pull/12728 | 169cbe32678ecbb9e8aabfb78dd6b103a48c709a | 27eada79e44856dc89bd1b2a5ad0fa5301af2829 | 2022-11-05T06:43:25Z | java | 2022-11-06T12:04:27Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,716 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessTaskRelationMapper.xml"] | [Bug] [dolphinscheduler-dao] sql grammar 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
sql error

### What you expected to happen
sql syntax is normal
### How to reproduce
no
### 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/12716 | https://github.com/apache/dolphinscheduler/pull/12717 | 04e23ed88f95ea27e2f43e8c17e8081eb33d844f | 913525343e98541b46cbc048058c4b2a67400804 | 2022-11-04T16:21:51Z | java | 2022-11-05T13:44:01Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,706 | ["dolphinscheduler-task-plugin/dolphinscheduler-task-flink/src/main/java/org/apache/dolphinscheduler/plugin/task/flink/FlinkTask.java"] | [Bug] [Flink] Flink SQL cannot run due to missing main jar 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
![Uploading image.png…]()
### What you expected to happen
Flink sql task can work well.
### How to reproduce
submit a flink sql 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/12706 | https://github.com/apache/dolphinscheduler/pull/12705 | 7d0e2cbbb9fcd2e1543f5166f0518eda03afae89 | 2c3cc31a4ce43b3b03b42530d41e21785796ab30 | 2022-11-04T08:40:30Z | java | 2022-11-04T15:02:00Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,700 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml"] | [Improvement][Project] Improve the sql of listAuthorizedProjects | ### 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 sql of listAuthorizedProjects
### 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/12700 | https://github.com/apache/dolphinscheduler/pull/12702 | c3c2dda861e2472b8f282ee889e5d609d0d6b36c | 29a98881679f9a3f307350f6c579583b66dc9ea0 | 2022-11-04T06:34:32Z | java | 2023-07-11T12:12:16Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,697 | ["dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProjectServiceTest.java"] | [Improvement][UT] Improve the ProjectServiceTest | ### 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 ProjectServiceTest
### 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/12697 | https://github.com/apache/dolphinscheduler/pull/12698 | eb4cba8884c8e70d61d6d1aba12f718fae57a3a5 | 7c97febefbe3fc682056591e11b9cb35609cebb2 | 2022-11-04T06:07:54Z | java | 2023-03-01T03:37:52Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,696 | ["docs/docs/en/contribute/log-specification.md", "docs/docs/zh/contribute/log-specification.md", "dolphinscheduler-api/src/main/resources/logback-spring.xml", "dolphinscheduler-standalone-server/src/main/resources/logback-spring.xml"] | [Doc][Contribute] Add examples about how to configure log level for a specific package in DS | ### 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
* DS uses `logback` for default log configurations. For those developers who are not familiar with spring boot logging, it will save them trouble when debugging if we could provide an example in doc about how to configure log level for a specific package in DS, such as `org.springframework.web`.
### 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/12696 | https://github.com/apache/dolphinscheduler/pull/12699 | 00b18ed4228d39718777efde867d2bc6aabc9fff | 6d79414491f38611bebf32d632eb88b4be213e2a | 2022-11-04T03:42:40Z | java | 2022-11-07T02:30:56Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,694 | ["dolphinscheduler-ui/src/views/projects/task/definition/use-task.ts"] | [Bug] [dolphinscheduler-api] This task has pre node, but they are not showing | ### 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
This task has pre node, but they are not showing

### What you expected to happen
show pre node
### How to reproduce
1.create task and pre node
2.in the task define list, click edit
### 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/12694 | https://github.com/apache/dolphinscheduler/pull/12819 | e20e0660764dd57d22ea9e6499d0412a7d2bd256 | edbf5cd3afbc64763f640203439a4f1d1423a450 | 2022-11-04T02:47:32Z | java | 2024-01-29T05:40:21Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,687 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TaskDefinitionServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/vo/TaskDefinitionVo.java"] | [Bug] [dolphinscheduler-api] in the task define,click edit,timeoutStategy status consistent | ### 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
this is null, but not null

### What you expected to happen
same
### How to reproduce
1. create task
2. in the task define, click edit
### 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/12687 | https://github.com/apache/dolphinscheduler/pull/12689 | 04c6b5e4131c87258e47cdcfb4d5b3f21f9e78e4 | 641a2559eafd02d95ced7a88c781c9d38379531a | 2022-11-03T09:57:36Z | java | 2022-11-09T03:48:12Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,684 | ["deploy/kubernetes/dolphinscheduler/templates/svc-dolphinscheduler-api.yaml", "deploy/kubernetes/dolphinscheduler/values.yaml"] | [Bug] [K8s] Deploy failed when change api service type to NodePort | ### 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
Deployed ds on k8s cluster using office document, change api service type to `NodePort`, and set NodePort and failed.
### What you expected to happen
```
service:
## type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer
type: "NodePort"
## clusterIP is the IP address of the service and is usually assigned randomly by the master
clusterIP: ""
## nodePort is the port on each node on which this service is exposed when type=NodePort
nodePort: "31057"
```
```
Error: INSTALLATION FAILED: Service "dolphinscheduler-api" is invalid: spec.ports[1].nodePort: Duplicate value: 31057
```
### How to reproduce
Due https://github.com/apache/dolphinscheduler/pull/10653, `api-port` and `python-api-port` using the same nodeport, will not pass by k8s.
I'll open a PR to fix this bug.
### 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/12684 | https://github.com/apache/dolphinscheduler/pull/12685 | a47b4d0672abfdb6c6b867c8743b6af146671453 | 6766ec04df8bed87425174609e21752844a9ca34 | 2022-11-03T08:38:36Z | java | 2022-11-03T09:47:06Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,671 | ["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/mapper/TaskDefinitionMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionMapper.xml"] | [Bug] [dolphinscheduler-api] when delete workflow, should determine whether there are related tasks | ### 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
start

After deleting the workflow

### What you expected to happen
When deleting a workflow, should determine whether there are related tasks
### How to reproduce
1. create workflow and task
2. delete workflow
3. look task list
### 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/12671 | https://github.com/apache/dolphinscheduler/pull/12681 | e702beced5edb567c5f14bec19be3b1697890145 | 7d0e2cbbb9fcd2e1543f5166f0518eda03afae89 | 2022-11-02T16:22:39Z | java | 2022-11-04T06:40:15Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,667 | ["dolphinscheduler-ui/src/views/projects/list/index.tsx", "dolphinscheduler-ui/src/views/projects/task/definition/batch-task.tsx", "dolphinscheduler-ui/src/views/projects/task/instance/batch-task.tsx", "dolphinscheduler-ui/src/views/projects/task/instance/stream-task.tsx", "dolphinscheduler-ui/src/views/projects/workflow/definition/index.tsx", "dolphinscheduler-ui/src/views/projects/workflow/instance/components/process-instance-condition.tsx"] | [Improvement][UI] The search condition inputs in many pages lack the clearable button. | ### 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 search condition inputs in many pages lack the clearable button. It's not convenient. I expect that the DolphinScheduler can support to use the clearable button to clear the value of the input and search the result one more 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/12667 | https://github.com/apache/dolphinscheduler/pull/12668 | ff59acd02fe6f601a929963d3c5bfefa61e21387 | f889d855fb2229ceab8a4deb3e768ffbdb4d9a55 | 2022-11-02T11:46:35Z | java | 2022-11-02T13:40:39Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,658 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UsersServiceImpl.java"] | [Improvement][Permission] Improve the readability of setPerm() in grantProjectbyCode() | ### 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 setPerm() in grantProjectbyCode()
### 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/12658 | https://github.com/apache/dolphinscheduler/pull/12660 | 7cdb926a5feb6892635e3467f2e9497d99c6776f | c69376e74c1ca85f341eab2b5d707d1997e50806 | 2022-11-02T03:53:56Z | java | 2022-11-03T01:29:04Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,650 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/permission/ResourcePermissionCheckServiceImpl.java"] | [Improvement][Permission] Improve the check of resourcePermissionCheck() | ### 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 check of resourcePermissionCheck()
### 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/12650 | https://github.com/apache/dolphinscheduler/pull/12652 | 1d0f9a7d04f55f5952969cffa7cc74b879ebc6c7 | 44e0935f569d6a9dbf65ef1edaf91bd9e892c558 | 2022-11-02T01:58:03Z | java | 2022-11-03T01:12:56Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,621 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TaskDefinitionServiceImpl.java"] | [Improvement] [ApiServer] Task defination list paging sorted by updateTime not effect | ### 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
List task defination and sorted by update time not effect
### What you expected to happen
List task defination and sorted by update time
### How to reproduce
List task defination and look
### 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/12621 | https://github.com/apache/dolphinscheduler/pull/12622 | 838a0df7839ae0e2c186b9bf52a0bcbcae8e7d80 | 0db1bb6ba8fcd503e215bbbf4a4529d94b2467fb | 2022-10-31T08:44:47Z | java | 2022-12-13T08:35:54Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,604 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java", "dolphinscheduler-ui/src/service/modules/process-definition/index.ts", "dolphinscheduler-ui/src/service/modules/process-instances/index.ts", "dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-toolbar.tsx", "dolphinscheduler-ui/src/views/projects/workflow/instance/components/variables-view.tsx"] | [Improvement][UI] When viewing a workflow definition support to view its all 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
Currently The page of a workflow instance support view its all variables on the toolbar of its DAG. But the page of a workflow definition doesn't support view its variables. This is really inconvenient. So It's indubitable to add the feature.
The page of the workflow definition should be like this:
<img width="1068" alt="image" src="https://user-images.githubusercontent.com/4928204/198817697-876a6b7a-cc1a-4025-b214-8973616e459b.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/12604 | https://github.com/apache/dolphinscheduler/pull/12609 | 064fec88b077513fccfea08105ede968f59096bc | d84f1ef2694d237e4d36604be77c6758a17c5cb4 | 2022-10-29T06:38:52Z | java | 2022-10-30T12:31:40Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,559 | ["docs/docs/en/guide/project/workflow-definition.md", "docs/docs/zh/guide/project/workflow-definition.md"] | [Doc][BUG] Documentation bug lead to CI 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
<img width="1561" alt="image" src="https://user-images.githubusercontent.com/31528124/198186086-0aedcfd6-78d2-41da-aa57-4f272398846e.png">
### 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/12559 | https://github.com/apache/dolphinscheduler/pull/12560 | 9c2a2900121c6a372b306a76874ae364da8b8c08 | 21caec01db0c8f9ae8fe3ec62a2bf3b73f489cb9 | 2022-10-27T03:42:55Z | java | 2022-10-27T04:41:30Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,555 | ["docs/configs/docsdev.js", "docs/docs/en/guide/alert/slack.md", "docs/docs/zh/guide/alert/feishu.md", "docs/docs/zh/guide/alert/slack.md", "docs/img/new_ui/dev/alert/alert_slack.png", "docs/img/new_ui/dev/alert/alert_slack_enable.png", "docs/img/new_ui/dev/alert/alert_slack_new.png", "docs/img/new_ui/dev/alert/alert_slack_webhook_addr.png"] | [Doc][ALERT] Missing Slack alert doc | ### 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
Missing Slack alert doc
### Documentation Links
https://dolphinscheduler.apache.org/zh-cn/docs/latest/user_doc/guide/alert/enterprise-webexteams.html
### 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/12555 | https://github.com/apache/dolphinscheduler/pull/12567 | 883c754951a5b64620e2a4230a46654b31d76c33 | 4e2701b57ef55c93f1f14f348e96a2f7c5fd2177 | 2022-10-27T02:15:15Z | java | 2022-11-01T01:49:05Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,522 | ["script/install.sh"] | [Improvement][script] Add installPath verification for install.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
When installing dolphinscheduler, execute script/install.sh
If the installPath in script/env/install_env.sh is the same as the directory where the current script executes script/install.sh, the files in the installation directory will be deleted.
Although the comments of installPath remind users that the two paths are not consistent, there are still many novice users who make mistakes and cause important files in the installation directory to be deleted
I think a simple check of installPath should be done in script/env/install_env.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/12522 | https://github.com/apache/dolphinscheduler/pull/12523 | 641a2559eafd02d95ced7a88c781c9d38379531a | 72e50b25f1eac15e5a9041c9cae0b7c57aca496e | 2022-10-25T07:53:00Z | java | 2022-11-09T03:50:11Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,504 | ["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.0.2_schema/mysql/dolphinscheduler_ddl.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.2_schema/mysql/dolphinscheduler_dml.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.2_schema/postgresql/dolphinscheduler_ddl.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.2_schema/postgresql/dolphinscheduler_dml.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/mysql/dolphinscheduler_ddl.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/postgresql/dolphinscheduler_ddl.sql"] | [Bug] [api] The same code and version in table t_ds_process_definition_log causes an error in the list interface | ### 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 I edit the workflow, I save it.
The interface response speed is too slow.
Let me think I didn't save it,So I saved it again.
The result saved successfully both times.
But in the t_ds_process_definition_log table, the version values are the same.
Causes the list interface to report an error.

### What you expected to happen
One of the requests reported an error
### How to reproduce
in What happened
### 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/12504 | https://github.com/apache/dolphinscheduler/pull/12503 | 233bbdb09ebb6756a8b8578d4da7ec51820b2873 | 97a0771f21322cb6f711abc2217604f4a5d8e32d | 2022-10-23T04:13:10Z | java | 2022-10-25T06:20:37Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,490 | ["docs/docs/en/guide/project/workflow-definition.md", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/WorkerGroupServiceTest.java"] | [Bug] [API] Before deleting a worker group, check whether there is environment that reference the 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 issues.
### What happened
Before deleting a worker group, check whether there is environment that reference the worker group.
### What you expected to happen
When a worker group is referenced by the environment, the worker group cannot be deleted。
### How to reproduce
1.create worker group
2.create environment ,choose worker group
3.delete worker 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/12490 | https://github.com/apache/dolphinscheduler/pull/12534 | 53340fc07b1e7b6d5f76aeb015fc36eb661e4a32 | 4a13148bfc20ab29c4782d08514326725b435ab9 | 2022-10-22T01:32:58Z | java | 2022-10-27T08:34:08Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,470 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/WorkerGroupService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ExecutorServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/WorkerGroupServiceTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java"] | [Refactor] Migrate all workergroup-related interface functions from ProcessServiceImpl | ### 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
+ This is a part of #12403
### 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/12470 | https://github.com/apache/dolphinscheduler/pull/12493 | 547aa437ab424250dac6b4df3de7a4b1b8af7d98 | ed209bdf82d855a804b68d8833f20595e86bb069 | 2022-10-20T13:08:02Z | java | 2022-10-26T11:18:32Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,466 | ["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"] | [Bug] [Resource] Resource authorization is disabled | ### 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
Resource authorization is disabled
### What you expected to happen
Normal
### How to reproduce
Resource authorization
### Anything else
No
### 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/12466 | https://github.com/apache/dolphinscheduler/pull/12467 | f249f2b257847787605758797669abecf1b782d8 | 606a5aeee5b44b095ddf922e2c8c0de485e56c45 | 2022-10-20T10:47:44Z | java | 2022-11-06T13:15:27Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,457 | ["dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-environment-name.ts"] | [Bug] [Task Definition] cannot change Environment Name when create or edit 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
It's not work when I create or change the task `Environment Name`, and `Environment Name` always use the first Environment of the Worker Group.
### What you expected to happen
`Environment Name` should be changed so that I can use different `Environment Name` from the same `Worker group`.
### How to reproduce
It's simple to reproduce this issue
1. into the `Security -> Environment Manage`, create multiple `Environment Name` that all belongs to one worker group.
2. into the `Project -> Task -> Task Definition`, change the `Environment Name` by create or edit task;
3. save and review the task,and will find it's not work;
### Anything else
### How often does this problem occur?
> every time
### The following instructions may be useful
Our dolphincheduler instance use MySQL database, and found the sql update with wrong contition:
```
# 1
select
id, code...
from t_ds_task_definition
WHERE code = ...
and version = ..
# 2
insert into t_ds_task_definition_log ...
# 3
UPDATE t_ds_task_definition SET code=...
...
WHERE id=?
```
we cann't find the `id value` from the table `t_ds_task_definition`, but found in table `t_ds_task_definition_log`.
### 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/12457 | https://github.com/apache/dolphinscheduler/pull/13148 | b9ef4a717772b448ac97e21a307ad3ea94471a77 | 615b1dbb37b4af1ac933d4b7c608fc6c1ecfcd05 | 2022-10-20T03:10:40Z | java | 2023-02-02T06:53:21Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,451 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/k8s/K8sManager.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ClusterServiceImpl.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/utils/ClusterConfUtils.java"] | [Bug] [k8s] Read the incorrect kubeconfig | ### 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
Read the incorrect kubeconfig from `cluster.getConfig()`
And if the kubeconfig content is wrong, `DefaultKubernetesClient(config)` will automatically reade the kubeconfig from `~/.kube/config` instead.
### What you expected to happen
Read the correct kubeconfig
### How to reproduce
see the code
### 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/12451 | https://github.com/apache/dolphinscheduler/pull/12452 | fdac75137969d3e656e1aa898f7431f9657de50b | 233bbdb09ebb6756a8b8578d4da7ec51820b2873 | 2022-10-19T15:28:50Z | java | 2022-10-25T03:25:30Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,446 | ["dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz/src/main/java/org/apache/dolphinscheduler/scheduler/quartz/ProcessScheduleTask.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java"] | [Improvment] [Style] API Test spotless check 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
found


### What you expected to happen
CI pass
### How to reproduce
N/A
### 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/12446 | https://github.com/apache/dolphinscheduler/pull/12447 | a17923a62b036537d2b21c5100e1038468c56e1d | 0eef2e3e10ca8d20d8a0ad59b0f0674f90ee321c | 2022-10-19T12:46:12Z | java | 2022-10-20T02:31:16Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,439 | ["dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannel.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptSender.java", "dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-script/src/test/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptSenderTest.java", "dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertSenderService.java"] | [Bug] [Alert] Send script alert NPE | ### 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] 2022-10-19 16:41:53.938 +0800 org.apache.dolphinscheduler.alert.AlertSenderService:[272] - send alert error alert data id :48,
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.plugin.alert.script.ScriptSender.executeShellScript(ScriptSender.java:75)
at org.apache.dolphinscheduler.plugin.alert.script.ScriptSender.sendScriptAlert(ScriptSender.java:47)
at org.apache.dolphinscheduler.plugin.alert.script.ScriptAlertChannel.process(ScriptAlertChannel.java:35)
at org.apache.dolphinscheduler.alert.AlertSenderService.alertResultHandler(AlertSenderService.java:252)
at org.apache.dolphinscheduler.alert.AlertSenderService.send(AlertSenderService.java:112)
at org.apache.dolphinscheduler.alert.AlertSenderService.run(AlertSenderService.java:79)
```

### What you expected to happen
can run script alert success.
### How to reproduce
add a script alert plugin without setting user params.

### 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/12439 | https://github.com/apache/dolphinscheduler/pull/12495 | 4aa9d60683e7295dbd3dd3e66618d43610edf9b9 | f5c814f23b93b69aafb4e5a4302b813c9454c5e8 | 2022-10-19T09:27:56Z | java | 2022-10-25T07:11:54Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,429 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java"] | [Bug] [API] The workflow definition and the tenant in the workflow instance are inconsistent | ### 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="680" alt="1666837161777" src="https://user-images.githubusercontent.com/33045461/198175765-4089aa91-437b-4314-8e27-7dad5fc59a3d.png">
<img width="711" alt="1666837141669" src="https://user-images.githubusercontent.com/33045461/198175773-7fee4a5a-1343-4aaf-930e-1f8859c8f268.png">
### What you expected to happen
The workflow definition is consistent with the tenant in the workflow instance.
### How to reproduce
1.create workflow definition
2.run workflow definition
3.click edit workflow
4.click edit wotkflow instance
### 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/12429 | https://github.com/apache/dolphinscheduler/pull/12533 | 2c1583d1941f9b2cdfcfced80db359cb738d8981 | 547aa437ab424250dac6b4df3de7a4b1b8af7d98 | 2022-10-19T02:03:06Z | java | 2022-10-26T08:11:24Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,425 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TenantServiceImpl.java"] | [Bug] [API] If Storge exception, ds can create tenant, but show cannot. | ### 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 we create a new tenant, but storge has some exception such as connect refuse. The UI alert will show create tenant failed, but it will be created in DB and can show in UI. And then use cannot delete this wrong tenant, because cannot delete it in storge.
But due to my PC env, i cannot show the screenshot. But we can check the source code.
**_Create:_**

**_Delete:_**

### What you expected to happen
If db or storge has exception, ds cannot create a tenant.
### How to reproduce
1. Config the `resource.storage.type=HDFS`
2. Create a new tenant
3. Delete this new 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/12425 | https://github.com/apache/dolphinscheduler/pull/12445 | b5193ee4e50e5d0b7464eab3ee331a858151540c | 1384d8f4fa90c9edfbbbd57ae914b7b6840d2b43 | 2022-10-18T14:09:29Z | java | 2022-10-22T03:33:17Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,414 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/lifecycle/ServerLifeCycleManager.java", "dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterWaitingStrategy.java"] | [Bug] [Master and Work] Master and worker 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
first, receive worker crash alert, and master crash.
[crash.log](https://github.com/apache/dolphinscheduler/files/9806747/crash.log)
[worker_crash_log.log](https://github.com/apache/dolphinscheduler/files/9807099/worker_crash_log.log)
Here its the log
```
[INFO] 2022-10-18 05:07:40.516 +0000 org.apache.dolphinscheduler.server.master.runner.StateWheelExecuteThread:[129] - [WorkflowInstance-23201][TaskInstance-0] - Success remove workflow instance from timeout check list
[INFO] 2022-10-18 05:07:40.516 +0000 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThreadPool:[136] - [WorkflowInstance-23201][TaskInstance-0] - Workflow instance is finished.
[INFO] 2022-10-18 05:07:41.565 +0000 org.apache.zookeeper.ClientCnxn:[1171] - [WorkflowInstance-0][TaskInstance-0] - Opening socket connection to server dolphinscheduler/172.16.18.125:2181.
[INFO] 2022-10-18 05:07:41.565 +0000 org.apache.zookeeper.ClientCnxn:[1173] - [WorkflowInstance-0][TaskInstance-0] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
[INFO] 2022-10-18 05:07:41.566 +0000 org.apache.zookeeper.ClientCnxn:[1005] - [WorkflowInstance-0][TaskInstance-0] - Socket connection established, initiating session, client: /172.16.18.125:50356, server: dolphinscheduler/172.16.18.125:2181
[INFO] 2022-10-18 05:07:41.568 +0000 org.apache.zookeeper.ClientCnxn:[1444] - [WorkflowInstance-0][TaskInstance-0] - Session establishment complete on server dolphinscheduler/172.16.18.125:2181, session id = 0x10001031c9e005d, negotiated timeout = 40000
[INFO] 2022-10-18 05:07:41.568 +0000 org.apache.curator.framework.state.ConnectionStateManager:[252] - [WorkflowInstance-0][TaskInstance-0] - State change: RECONNECTED
[INFO] 2022-10-18 05:07:41.568 +0000 org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperConnectionStateListener:[48] - [WorkflowInstance-0][TaskInstance-0] - Registry reconnected
[INFO] 2022-10-18 05:07:41.568 +0000 org.apache.dolphinscheduler.server.master.registry.MasterConnectionStateListener:[47] - [WorkflowInstance-0][TaskInstance-0] - Master received a RECONNECTED event from registry, the current server state is RUNNING
[ERROR] 2022-10-18 05:07:41.568 +0000 org.apache.dolphinscheduler.server.master.registry.MasterWaitingStrategy:[106] - [WorkflowInstance-0][TaskInstance-0] - Recover from waiting failed, the current server status is RUNNING, will stop the server
org.apache.dolphinscheduler.common.lifecycle.ServerLifeCycleException: The current server status is not waiting, cannot recover form waiting
at org.apache.dolphinscheduler.common.lifecycle.ServerLifeCycleManager.recoverFromWaiting(ServerLifeCycleManager.java:68)
at org.apache.dolphinscheduler.server.master.registry.MasterWaitingStrategy.reconnect(MasterWaitingStrategy.java:97)
at org.apache.dolphinscheduler.server.master.registry.MasterConnectionStateListener.onUpdate(MasterConnectionStateListener.java:55)
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:750)
[INFO] 2022-10-18 05:07:41.569 +0000 org.apache.curator.framework.imps.EnsembleTracker:[201] - [WorkflowInstance-0][TaskInstance-0] - New config event received: {}
[INFO] 2022-10-18 05:07:41.574 +0000 org.apache.dolphinscheduler.server.master.task.MasterHeartBeatTask:[70] - [WorkflowInstance-0][TaskInstance-0] - Success write master heartBeatInfo into registry, masterRegistryPath: /nodes/master/172.16.18.125:5678, heartBeatInfo: {"startupTime":1666066687942,"reportTime":1666069617347,"cpuUsage":0.0,"memoryUsage":0.33,"loadAverage":0.0,"availablePhysicalMemorySize":10.51,"maxCpuloadAvg":8.0,"reservedMemory":0.3,"diskAvailable":421.28,"processId":640966}
[INFO] 2022-10-18 05:07:42.554 +0000 org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener:[81] - [WorkflowInstance-0][TaskInstance-0] - worker node deleted : /nodes/worker/default/172.16.18.127:1234
[INFO] 2022-10-18 05:07:42.554 +0000 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[127] - [WorkflowInstance-0][TaskInstance-0] - WORKER node deleted : /nodes/worker/default/172.16.18.127:1234
[INFO] 2022-10-18 05:07:42.558 +0000 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[137] - [WorkflowInstance-0][TaskInstance-0] - path: /nodes/worker/default/172.16.18.127:1234 not exists
[INFO] 2022-10-18 05:07:42.558 +0000 org.apache.dolphinscheduler.server.master.service.FailoverService:[58] - [WorkflowInstance-0][TaskInstance-0] - Worker failover staring, workerServer: 172.16.18.127:1234
[INFO] 2022-10-18 05:07:42.559 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[97] - [WorkflowInstance-0][TaskInstance-0] - Worker[172.16.18.127:1234] failover starting
[INFO] 2022-10-18 05:07:42.559 +0000 org.apache.dolphinscheduler.server.master.registry.ServerNodeManager:[272] - [WorkflowInstance-0][TaskInstance-0] - worker group node : /nodes/worker/default/172.16.18.127:1234 down.
[INFO] 2022-10-18 05:07:42.565 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[109] - [WorkflowInstance-0][TaskInstance-0] - Worker[172.16.18.127:1234] failover there are 4 taskInstance may need to failover, will do a deep check, taskInstanceIds: [24542, 24541, 24540, 24537]
[INFO] 2022-10-18 05:07:42.567 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[131] - [WorkflowInstance-23200][TaskInstance-24542] - Worker[172.16.18.127:1234] failover: begin to failover taskInstance, will set the status to NEED_FAULT_TOLERANCE
[INFO] 2022-10-18 05:07:42.567 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[165] - [WorkflowInstance-23200][TaskInstance-24542] - The failover taskInstance is not master task
[INFO] 2022-10-18 05:07:42.567 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[174] - [WorkflowInstance-23200][TaskInstance-24542] - TaskInstance failover begin kill the task related yarn job
[INFO] 2022-10-18 05:07:42.568 +0000 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThreadPool:[97] - [WorkflowInstance-23200][TaskInstance-24542] - Submit state event success, stateEvent: TaskStateEvent(processInstanceId=23200, taskInstanceId=24542, taskCode=0, status=TaskExecutionStatus{code=8, desc='need fault tolerance'}, type=TASK_STATE_CHANGE, key=null, channel=null, context=null)
[INFO] 2022-10-18 05:07:42.569 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[135] - [WorkflowInstance-23200][TaskInstance-24542] - Worker[172.16.18.127:1234] failover: Finish failover taskInstance
[INFO] 2022-10-18 05:07:42.569 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[131] - [WorkflowInstance-23202][TaskInstance-24541] - Worker[172.16.18.127:1234] failover: begin to failover taskInstance, will set the status to NEED_FAULT_TOLERANCE
[INFO] 2022-10-18 05:07:42.569 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[165] - [WorkflowInstance-23202][TaskInstance-24541] - The failover taskInstance is not master task
[INFO] 2022-10-18 05:07:42.569 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[174] - [WorkflowInstance-23202][TaskInstance-24541] - TaskInstance failover begin kill the task related yarn job
[INFO] 2022-10-18 05:07:42.570 +0000 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThreadPool:[97] - [WorkflowInstance-23202][TaskInstance-24541] - Submit state event success, stateEvent: TaskStateEvent(processInstanceId=23202, taskInstanceId=24541, taskCode=0, status=TaskExecutionStatus{code=8, desc='need fault tolerance'}, type=TASK_STATE_CHANGE, key=null, channel=null, context=null)
[INFO] 2022-10-18 05:07:42.570 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[135] - [WorkflowInstance-23202][TaskInstance-24541] - Worker[172.16.18.127:1234] failover: Finish failover taskInstance
[INFO] 2022-10-18 05:07:42.570 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[131] - [WorkflowInstance-23204][TaskInstance-24540] - Worker[172.16.18.127:1234] failover: begin to failover taskInstance, will set the status to NEED_FAULT_TOLERANCE
[INFO] 2022-10-18 05:07:42.570 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[165] - [WorkflowInstance-23204][TaskInstance-24540] - The failover taskInstance is not master task
[INFO] 2022-10-18 05:07:42.570 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[174] - [WorkflowInstance-23204][TaskInstance-24540] - TaskInstance failover begin kill the task related yarn job
[INFO] 2022-10-18 05:07:42.571 +0000 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThreadPool:[97] - [WorkflowInstance-23204][TaskInstance-24540] - Submit state event success, stateEvent: TaskStateEvent(processInstanceId=23204, taskInstanceId=24540, taskCode=0, status=TaskExecutionStatus{code=8, desc='need fault tolerance'}, type=TASK_STATE_CHANGE, key=null, channel=null, context=null)
[INFO] 2022-10-18 05:07:42.571 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[135] - [WorkflowInstance-23204][TaskInstance-24540] - Worker[172.16.18.127:1234] failover: Finish failover taskInstance
[INFO] 2022-10-18 05:07:42.571 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[131] - [WorkflowInstance-23199][TaskInstance-24537] - Worker[172.16.18.127:1234] failover: begin to failover taskInstance, will set the status to NEED_FAULT_TOLERANCE
[INFO] 2022-10-18 05:07:42.571 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[165] - [WorkflowInstance-23199][TaskInstance-24537] - The failover taskInstance is not master task
[INFO] 2022-10-18 05:07:42.571 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[174] - [WorkflowInstance-23199][TaskInstance-24537] - TaskInstance failover begin kill the task related yarn job
[INFO] 2022-10-18 05:07:43.573 +0000 org.apache.dolphinscheduler.service.log.LogClientService:[206] - [WorkflowInstance-23199][TaskInstance-24537] - Begin to get appIds from worker: 172.16.18.127:1234 taskLogPath: /tmp/dolphinscheduler/worker-server/logs/20221018/7185584338369_7-23199-24537.log
[WARN] 2022-10-18 05:07:43.583 +0000 org.apache.dolphinscheduler.remote.NettyRemotingClient:[369] - [WorkflowInstance-23199][TaskInstance-24537] - connect to Host{address='172.16.18.127:1234', ip='172.16.18.127', port=1234} error
io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: /172.16.18.127:1234
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
at io.netty.channel.unix.Errors.throwConnectException(Errors.java:124)
at io.netty.channel.unix.Socket.finishConnect(Socket.java:251)
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:673)
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:650)
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:530)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:465)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.lang.Thread.run(Thread.java:750)
[INFO] 2022-10-18 05:07:43.588 +0000 org.apache.dolphinscheduler.remote.NettyRemotingClient:[390] - [WorkflowInstance-23199][TaskInstance-24537] - netty client closed
[INFO] 2022-10-18 05:07:43.588 +0000 org.apache.dolphinscheduler.service.log.LogClientService:[81] - [WorkflowInstance-23199][TaskInstance-24537] - logger client closed
[ERROR] 2022-10-18 05:07:43.588 +0000 org.apache.dolphinscheduler.server.utils.ProcessUtils:[216] - [WorkflowInstance-23199][TaskInstance-24537] - Kill yarn job failure, taskInstanceId: 24537
org.apache.dolphinscheduler.remote.exceptions.RemotingException: connect to : Host{address='172.16.18.127:1234', ip='172.16.18.127', port=1234} fail
at org.apache.dolphinscheduler.remote.NettyRemotingClient.sendSync(NettyRemotingClient.java:258)
at org.apache.dolphinscheduler.service.log.LogClientService.getAppIds(LogClientService.java:214)
at org.apache.dolphinscheduler.server.utils.ProcessUtils.killYarnJob(ProcessUtils.java:198)
at org.apache.dolphinscheduler.server.master.service.WorkerFailoverService.failoverTaskInstance(WorkerFailoverService.java:175)
at org.apache.dolphinscheduler.server.master.service.WorkerFailoverService.failoverWorker(WorkerFailoverService.java:134)
at org.apache.dolphinscheduler.server.master.service.FailoverService.failoverServerWhenDown(FailoverService.java:59)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.removeWorkerNodePath(MasterRegistryClient.java:142)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener.handleWorkerEvent(MasterRegistryDataListener.java:82)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener.notify(MasterRegistryDataListener.java:55)
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.lambda$subscribe$1(ZookeeperRegistry.java:142)
at org.apache.curator.framework.recipes.cache.TreeCache.lambda$callListeners$1(TreeCache.java:811)
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.recipes.cache.TreeCache.callListeners(TreeCache.java:807)
at org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:79)
at org.apache.curator.framework.recipes.cache.TreeCache$2.run(TreeCache.java:909)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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:750)
[INFO] 2022-10-18 05:07:43.590 +0000 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThreadPool:[97] - [WorkflowInstance-23199][TaskInstance-24537] - Submit state event success, stateEvent: TaskStateEvent(processInstanceId=23199, taskInstanceId=24537, taskCode=0, status=TaskExecutionStatus{code=8, desc='need fault tolerance'}, type=TASK_STATE_CHANGE, key=null, channel=null, context=null)
[INFO] 2022-10-18 05:07:43.590 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[135] - [WorkflowInstance-23199][TaskInstance-24537] - Worker[172.16.18.127:1234] failover: Finish failover taskInstance
[INFO] 2022-10-18 05:07:43.590 +0000 org.apache.dolphinscheduler.server.master.service.WorkerFailoverService:[143] - [WorkflowInstance-0][TaskInstance-0] - Worker[172.16.18.127:1234] failover finished, useTime:1031ms
[INFO] 2022-10-18 05:07:43.590 +0000 org.apache.dolphinscheduler.server.master.service.FailoverService:[60] - [WorkflowInstance-0][TaskInstance-0] - Worker failover finished, workerServer: 172.16.18.127:1234
[INFO] 2022-10-18 05:07:44.569 +0000 org.apache.dolphinscheduler.server.master.MasterServer:[135] - [WorkflowInstance-0][TaskInstance-0] - Master server is stopping, current cause : Recover from waiting failed, the current server status is RUNNING, will stop the server
[INFO] 2022-10-18 05:07:44.573 +0000 org.quartz.core.QuartzScheduler:[585] - [WorkflowInstance-0][TaskInstance-0] - Scheduler DolphinScheduler_$_geneseeq1666066688472 paused.
[INFO] 2022-10-18 05:07:44.581 +0000 org.eclipse.jetty.server.AbstractConnector:[383] - [WorkflowInstance-0][TaskInstance-0] - Stopped ServerConnector@e07b4db{HTTP/1.1, (http/1.1)}{0.0.0.0:5679}
[INFO] 2022-10-18 05:07:44.581 +0000 org.eclipse.jetty.server.session:[149] - [WorkflowInstance-0][TaskInstance-0] - node0 Stopped scavenging
[INFO] 2022-10-18 05:07:44.583 +0000 org.eclipse.jetty.server.handler.ContextHandler.application:[2368] - [WorkflowInstance-0][TaskInstance-0] - Destroying Spring FrameworkServlet 'dispatcherServlet'
[INFO] 2022-10-18 05:07:44.583 +0000 org.eclipse.jetty.server.handler.ContextHandler:[1159] - [WorkflowInstance-0][TaskInstance-0] - Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@37f71c05{application,/,[file:///tmp/jetty-docbase.5679.2442912892556208592/],STOPPED}
[INFO] 2022-10-18 05:07:44.588 +0000 org.quartz.core.QuartzScheduler:[666] - [WorkflowInstance-0][TaskInstance-0] - Scheduler DolphinScheduler_$_geneseeq1666066688472 shutting down.
[INFO] 2022-10-18 05:07:44.588 +0000 org.quartz.core.QuartzScheduler:[585] - [WorkflowInstance-0][TaskInstance-0] - Scheduler DolphinScheduler_$_geneseeq1666066688472 paused.
[INFO] 2022-10-18 05:07:44.590 +0000 org.quartz.core.QuartzScheduler:[740] - [WorkflowInstance-0][TaskInstance-0] - Scheduler DolphinScheduler_$_geneseeq1666066688472 shutdown complete.
[INFO] 2022-10-18 05:07:44.590 +0000 org.springframework.scheduling.quartz.SchedulerFactoryBean:[847] - [WorkflowInstance-0][TaskInstance-0] - Shutting down Quartz Scheduler
[INFO] 2022-10-18 05:07:44.591 +0000 org.apache.dolphinscheduler.server.master.runner.MasterSchedulerBootstrap:[126] - [WorkflowInstance-0][TaskInstance-0] - Master schedule bootstrap stopping...
[INFO] 2022-10-18 05:07:44.591 +0000 org.apache.dolphinscheduler.server.master.runner.MasterSchedulerBootstrap:[127] - [WorkflowInstance-0][TaskInstance-0] - Master schedule bootstrap stopped...
[INFO] 2022-10-18 05:07:44.592 +0000 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[93] - [WorkflowInstance-0][TaskInstance-0] - MASTER node deleted : /nodes/master/172.16.18.125:5678
[INFO] 2022-10-18 05:07:44.592 +0000 org.apache.dolphinscheduler.server.master.registry.ServerNodeManager:[301] - [WorkflowInstance-0][TaskInstance-0] - master node : /nodes/master/172.16.18.125:5678 down.
[INFO] 2022-10-18 05:07:44.592 +0000 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[108] - [WorkflowInstance-0][TaskInstance-0] - path: /nodes/master/172.16.18.125:5678 not exists
[INFO] 2022-10-18 05:07:44.593 +0000 org.apache.dolphinscheduler.server.master.service.FailoverService:[53] - [WorkflowInstance-0][TaskInstance-0] - Master failover starting, masterServer: 172.16.18.125:5678
[INFO] 2022-10-18 05:07:44.592 +0000 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[176] - [WorkflowInstance-0][TaskInstance-0] - Master node : 172.16.18.125:5678 unRegistry to register center.
[WARN] 2022-10-18 05:07:44.593 +0000 org.apache.dolphinscheduler.common.model.BaseHeartBeatTask:[69] - [WorkflowInstance-0][TaskInstance-0] - MasterHeartBeatTask task finished
[INFO] 2022-10-18 05:07:44.600 +0000 org.apache.curator.framework.imps.CuratorFrameworkImpl:[998] - [WorkflowInstance-0][TaskInstance-0] - backgroundOperationsLoop exiting
[WARN] 2022-10-18 05:07:44.601 +0000 org.apache.dolphinscheduler.server.master.registry.ServerNodeManager:[346] - [WorkflowInstance-0][TaskInstance-0] - current addr:172.16.18.125:5678 is not in active master list
[INFO] 2022-10-18 05:07:44.601 +0000 org.apache.dolphinscheduler.server.master.registry.ServerNodeManager:[349] - [WorkflowInstance-0][TaskInstance-0] - update master nodes, master size: 0, slot: 0, addr: 172.16.18.125:5678
[ERROR] 2022-10-18 05:07:44.604 +0000 org.apache.curator.framework.imps.CuratorFrameworkImpl:[733] - [WorkflowInstance-0][TaskInstance-0] - Background exception was not retry-able or retry gave up
java.lang.IllegalStateException: Client is not started
at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:507)
at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:139)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:649)
at org.apache.curator.framework.imps.WatcherRemovalFacade.getZooKeeper(WatcherRemovalFacade.java:146)
at org.apache.curator.framework.imps.FindAndDeleteProtectedNodeInBackground.performBackgroundOperation(FindAndDeleteProtectedNodeInBackground.java:108)
at org.apache.curator.framework.imps.OperationAndData.callPerformBackgroundOperation(OperationAndData.java:84)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:1008)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:667)
at org.apache.curator.framework.imps.WatcherRemovalFacade.processBackgroundOperation(WatcherRemovalFacade.java:152)
at org.apache.curator.framework.imps.FindAndDeleteProtectedNodeInBackground.execute(FindAndDeleteProtectedNodeInBackground.java:60)
at org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:617)
at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:595)
at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:573)
at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:48)
at org.apache.curator.framework.recipes.locks.StandardLockInternalsDriver.createsTheLock(StandardLockInternalsDriver.java:54)
at org.apache.curator.framework.recipes.locks.LockInternals.attemptLock(LockInternals.java:225)
at org.apache.curator.framework.recipes.locks.InterProcessMutex.internalLock(InterProcessMutex.java:237)
at org.apache.curator.framework.recipes.locks.InterProcessMutex.acquire(InterProcessMutex.java:89)
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.acquireLock(ZookeeperRegistry.java:218)
at org.apache.dolphinscheduler.service.registry.RegistryClient.getLock(RegistryClient.java:217)
at org.apache.dolphinscheduler.server.master.service.MasterFailoverService.failoverMaster(MasterFailoverService.java:112)
at org.apache.dolphinscheduler.server.master.service.MasterFailoverService$$FastClassBySpringCGLIB$$479c980c.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.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.server.master.service.MasterFailoverService$$EnhancerBySpringCGLIB$$f5fc50f2.failoverMaster(<generated>)
at org.apache.dolphinscheduler.server.master.service.FailoverService.failoverServerWhenDown(FailoverService.java:54)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.removeMasterNodePath(MasterRegistryClient.java:112)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener.handleMasterEvent(MasterRegistryDataListener.java:66)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener.notify(MasterRegistryDataListener.java:52)
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.lambda$subscribe$1(ZookeeperRegistry.java:142)
at org.apache.curator.framework.recipes.cache.TreeCache.lambda$callListeners$1(TreeCache.java:811)
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.recipes.cache.TreeCache.callListeners(TreeCache.java:807)
at org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:79)
at org.apache.curator.framework.recipes.cache.TreeCache$2.run(TreeCache.java:909)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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:750)
[ERROR] 2022-10-18 05:07:44.605 +0000 org.apache.dolphinscheduler.server.master.registry.ServerNodeManager:[306] - [WorkflowInstance-0][TaskInstance-0] - MasterNodeListener capture data change and get data failed.
org.apache.dolphinscheduler.registry.api.RegistryException: zookeeper release lock error
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.releaseLock(ZookeeperRegistry.java:246)
at org.apache.dolphinscheduler.service.registry.RegistryClient.releaseLock(RegistryClient.java:221)
at org.apache.dolphinscheduler.server.master.registry.ServerNodeManager.updateMasterNodes(ServerNodeManager.java:325)
at org.apache.dolphinscheduler.server.master.registry.ServerNodeManager.access$900(ServerNodeManager.java:71)
at org.apache.dolphinscheduler.server.master.registry.ServerNodeManager$MasterDataListener.notify(ServerNodeManager.java:302)
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.lambda$subscribe$1(ZookeeperRegistry.java:142)
at org.apache.curator.framework.recipes.cache.TreeCache.lambda$callListeners$1(TreeCache.java:811)
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.recipes.cache.TreeCache.callListeners(TreeCache.java:807)
at org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:79)
at org.apache.curator.framework.recipes.cache.TreeCache$2.run(TreeCache.java:909)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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:750)
Caused by: java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED]
at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:823)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:457)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.delete(CuratorFrameworkImpl.java:477)
at org.apache.curator.framework.recipes.locks.LockInternals.deleteOurPath(LockInternals.java:347)
at org.apache.curator.framework.recipes.locks.LockInternals.releaseLock(LockInternals.java:124)
at org.apache.curator.framework.recipes.locks.InterProcessMutex.release(InterProcessMutex.java:154)
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.releaseLock(ZookeeperRegistry.java:240)
... 17 common frames omitted
[ERROR] 2022-10-18 05:07:44.606 +0000 org.apache.dolphinscheduler.server.master.service.MasterFailoverService:[115] - [WorkflowInstance-0][TaskInstance-0] - Master server failover failed, host:172.16.18.125:5678
org.apache.dolphinscheduler.registry.api.RegistryException: zookeeper release lock error
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.acquireLock(ZookeeperRegistry.java:229)
at org.apache.dolphinscheduler.service.registry.RegistryClient.getLock(RegistryClient.java:217)
at org.apache.dolphinscheduler.server.master.service.MasterFailoverService.failoverMaster(MasterFailoverService.java:112)
at org.apache.dolphinscheduler.server.master.service.MasterFailoverService$$FastClassBySpringCGLIB$$479c980c.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.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.server.master.service.MasterFailoverService$$EnhancerBySpringCGLIB$$f5fc50f2.failoverMaster(<generated>)
at org.apache.dolphinscheduler.server.master.service.FailoverService.failoverServerWhenDown(FailoverService.java:54)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.removeMasterNodePath(MasterRegistryClient.java:112)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener.handleMasterEvent(MasterRegistryDataListener.java:66)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener.notify(MasterRegistryDataListener.java:52)
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.lambda$subscribe$1(ZookeeperRegistry.java:142)
at org.apache.curator.framework.recipes.cache.TreeCache.lambda$callListeners$1(TreeCache.java:811)
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.recipes.cache.TreeCache.callListeners(TreeCache.java:807)
at org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:79)
at org.apache.curator.framework.recipes.cache.TreeCache$2.run(TreeCache.java:909)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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:750)
Caused by: java.lang.IllegalStateException: Client is not started
at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:507)
at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:139)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:649)
at org.apache.curator.framework.imps.WatcherRemovalFacade.getZooKeeper(WatcherRemovalFacade.java:146)
at org.apache.curator.framework.imps.CreateBuilderImpl$18.call(CreateBuilderImpl.java:1223)
at org.apache.curator.framework.imps.CreateBuilderImpl$18.call(CreateBuilderImpl.java:1193)
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:93)
at org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:1190)
at org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:605)
at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:595)
at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:573)
at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:48)
at org.apache.curator.framework.recipes.locks.StandardLockInternalsDriver.createsTheLock(StandardLockInternalsDriver.java:54)
at org.apache.curator.framework.recipes.locks.LockInternals.attemptLock(LockInternals.java:225)
at org.apache.curator.framework.recipes.locks.InterProcessMutex.internalLock(InterProcessMutex.java:237)
at org.apache.curator.framework.recipes.locks.InterProcessMutex.acquire(InterProcessMutex.java:89)
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.acquireLock(ZookeeperRegistry.java:218)
... 29 common frames omitted
[ERROR] 2022-10-18 05:07:44.606 +0000 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[115] - [WorkflowInstance-0][TaskInstance-0] - MASTER server failover failed, host:172.16.18.125:5678
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.releaseLock(ZookeeperRegistry.java:236)
at org.apache.dolphinscheduler.service.registry.RegistryClient.releaseLock(RegistryClient.java:221)
at org.apache.dolphinscheduler.server.master.service.MasterFailoverService.failoverMaster(MasterFailoverService.java:117)
at org.apache.dolphinscheduler.server.master.service.MasterFailoverService$$FastClassBySpringCGLIB$$479c980c.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.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.server.master.service.MasterFailoverService$$EnhancerBySpringCGLIB$$f5fc50f2.failoverMaster(<generated>)
at org.apache.dolphinscheduler.server.master.service.FailoverService.failoverServerWhenDown(FailoverService.java:54)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.removeMasterNodePath(MasterRegistryClient.java:112)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener.handleMasterEvent(MasterRegistryDataListener.java:66)
at org.apache.dolphinscheduler.server.master.registry.MasterRegistryDataListener.notify(MasterRegistryDataListener.java:52)
at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.lambda$subscribe$1(ZookeeperRegistry.java:142)
at org.apache.curator.framework.recipes.cache.TreeCache.lambda$callListeners$1(TreeCache.java:811)
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.recipes.cache.TreeCache.callListeners(TreeCache.java:807)
at org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:79)
at org.apache.curator.framework.recipes.cache.TreeCache$2.run(TreeCache.java:909)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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:750)
[INFO] 2022-10-18 05:07:44.708 +0000 org.apache.zookeeper.ClientCnxn:[568] - [WorkflowInstance-0][TaskInstance-0] - EventThread shut down for session: 0x10001031c9e005d
[INFO] 2022-10-18 05:07:44.708 +0000 org.apache.zookeeper.ZooKeeper:[1232] - [WorkflowInstance-0][TaskInstance-0] - Session: 0x10001031c9e005d closed
[INFO] 2022-10-18 05:07:44.708 +0000 org.apache.dolphinscheduler.server.master.rpc.MasterRPCServer:[114] - [WorkflowInstance-0][TaskInstance-0] - Closing Master RPC Server...
[INFO] 2022-10-18 05:07:44.708 +0000 org.apache.dolphinscheduler.remote.NettyRemotingServer:[212] - [WorkflowInstance-0][TaskInstance-0] - netty server closed
[INFO] 2022-10-18 05:07:44.708 +0000 org.apache.dolphinscheduler.server.master.rpc.MasterRPCServer:[116] - [WorkflowInstance-0][TaskInstance-0] - Closed Master RPC Server...
[WARN] 2022-10-18 05:07:44.709 +0000 org.apache.dolphinscheduler.server.master.processor.queue.StateEventResponseService:[123] - [WorkflowInstance-0][TaskInstance-0] - State event loop service interrupted, will stop this loop
java.lang.InterruptedException: null
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2048)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.dolphinscheduler.server.master.processor.queue.StateEventResponseService$StateEventResponseWorker.run(StateEventResponseService.java:118)
[INFO] 2022-10-18 05:07:44.709 +0000 org.apache.dolphinscheduler.server.master.processor.queue.StateEventResponseService:[130] - [WorkflowInstance-0][TaskInstance-0] - State event loop service stopped
[INFO] 2022-10-18 05:07:44.711 +0000 org.apache.dolphinscheduler.server.master.processor.queue.TaskEventService:[125] - [WorkflowInstance-0][TaskInstance-0] - StateEventResponseWorker stopped
[INFO] 2022-10-18 05:07:44.745 +0000 com.zaxxer.hikari.HikariDataSource:[350] - [WorkflowInstance-0][TaskInstance-0] - DolphinScheduler - Shutdown initiated...
[INFO] 2022-10-18 05:07:44.750 +0000 com.zaxxer.hikari.HikariDataSource:[352] - [WorkflowInstance-0][TaskInstance-0] - DolphinScheduler - Shutdown completed.
```
### What you expected to happen
master and worker works fine
### How to reproduce
please refer to the log
### 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/12414 | https://github.com/apache/dolphinscheduler/pull/12651 | 3ff328c9618038715d59c80ad3dbcaa5fc912e00 | 9e0c9af1a5070b6a55750737aff2026233b26952 | 2022-10-18T05:27:31Z | java | 2022-11-02T06:06:01Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,410 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/permission/ResourcePermissionCheckServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/K8SNamespaceServiceImpl.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/K8sNamespaceMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/K8sNamespaceMapper.xml"] | [Bug] [API] In the workflow definition, the result of the worker list is only default | ### 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 workflow definition, the result of the worker list is only default
### What you expected to happen
In the workflow definition, the result of the worker list is only default
### How to reproduce
In the workflow definition, the list of workers appears fine
### 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/12410 | https://github.com/apache/dolphinscheduler/pull/12411 | 651588c98dbaae2261a2e34044afdbae99d23b60 | 1436ad65fc1e6be5f049a534251a0a4516100109 | 2022-10-18T04:17:51Z | java | 2022-10-21T05:54:28Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,408 | ["dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz/src/main/java/org/apache/dolphinscheduler/scheduler/quartz/ProcessScheduleTask.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java"] | [Bug] [Failed to schedule schedule with parameters] Schedule schedule | ### 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
带有$[yyyyMMdd]的定时参数失败
### What you expected to happen
能执行带参shell
### How to reproduce





### 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/12408 | https://github.com/apache/dolphinscheduler/pull/12419 | 38b643f69b65f4de9dd43809404470934bfadc7b | a8e23008acdebd99811271611a15e83a9a7d8d92 | 2022-10-18T02:17:53Z | java | 2022-10-19T01:43:36Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,396 | ["dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/mysql/dolphinscheduler_ddl.sql", "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_ddl.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.1_schema/postgresql/dolphinscheduler_dml.sql", "dolphinscheduler-dao/src/main/resources/sql/upgrade/3.2.0_schema/postgresql/dolphinscheduler_dml.sql"] | [Bug] [Schedule] Upgraded from version 3.0.x to version 3.1.0, the workflow definition that has been scheduled online is not 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
Upgraded from version 3.0.x to version 3.1.0, the workflow definition that has been scheduled online is not executed
### What you expected to happen
Upgraded from version 3.0.x to version 3.1.0
### How to reproduce
Upgraded from version 3.0.x to version 3.1.0, the workflow definition that has been scheduled online is executed
### 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/12396 | https://github.com/apache/dolphinscheduler/pull/12397 | 4ea7eec7504256ba764a8f60fb496e41eaa4dde6 | c02e08bb3d91d7c7980eb9e90d22c27dd186e8f7 | 2022-10-17T04:24:42Z | java | 2022-10-17T11:45:39Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,395 | ["pom.xml"] | [Migrate][Test] Block explicit import of jUnit 4 library | ### 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
* As we have migrated all unit tests from jUnit 4 -> jUnit5 and removed related jUnit 4 library imports, we need to add a `Spotless` step to check and block such imports like `org.junit.xxx` in the future. Contributors are supposed to import `org.junit.jupiter.xxx` instead.
* This issue is part of #12301.
### 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/12395 | https://github.com/apache/dolphinscheduler/pull/12398 | c02e08bb3d91d7c7980eb9e90d22c27dd186e8f7 | c7e6e827bd2c53f67c7c86053e7fb46f161f0f26 | 2022-10-17T04:09:30Z | java | 2022-10-17T14:02:01Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,391 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/TaskConstants.java"] | [Improvement][API] Workflow definitions that contain logical task nodes support the copy function | ### 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 system does not support the replication function of workflow definition including `CONDITIONS`, `SWITCH`, `SUB_PROCESS`, `DEPENDENT` four task nodes.
<img width="1472" alt="image" src="https://user-images.githubusercontent.com/37063904/196038586-7e802eeb-2063-468f-83ae-430201149712.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/12391 | https://github.com/apache/dolphinscheduler/pull/12392 | b7bd8d780356e055998fd0047be7e2cfea85d59b | 55004bebe032b7212892686d308adca2ac0e2723 | 2022-10-16T13:42:00Z | java | 2022-10-17T02:28:58Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,385 | ["docs/docs/zh/guide/task/spark.md"] | [Doc][Introduction to Functions For Task] Wrong optional parameters of Spark | ### 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
Should be --jars
### Documentation Links
https://dolphinscheduler.apache.org/zh-cn/docs/latest/user_doc/guide/task/spark.html
### 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/12385 | https://github.com/apache/dolphinscheduler/pull/12386 | bc80f3405672a19bcfcf05e1b6a335315cffdb43 | a7256144292d1803fd89107172932599c924db15 | 2022-10-15T08:54:32Z | java | 2022-10-16T04:40:17Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,383 | ["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/expand/CuringGlobalParams.java"] | [Bug] [Service] Condition 'globalParamsMap != null' is always 'true' | ### 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
Condition 'globalParamsMap != null' is always 'true'
### What you expected to happen
Condition judge correctly
### How to reproduce

### 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/12383 | https://github.com/apache/dolphinscheduler/pull/12384 | 1d0d26a416027b9e91d1a21092bb5b4406a757b2 | 934d6d21eb8a8e903b3632d0e2b873ea87d150ff | 2022-10-15T01:52:52Z | java | 2022-10-17T06:52:45Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,377 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/permission/ResourcePermissionCheckServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/K8SNamespaceServiceImpl.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/K8sNamespaceMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/K8sNamespaceMapper.xml"] | [Bug] [api-service] Tenant user run Workflow WorkerGroups can't find admin add other Worker Group 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
version :3.1.0
admin add new Workflow

tenant user hadoop run Workflow

### What you expected to happen
i can Read the The source code find use this api
`dolphinscheduler/worker-groups/all`
WorkerGroupServiceImpl.queryAllGroup

ResourceAcquisitionAndPermissionCheck.userOwnedResourceIdsAcquisition

if use tenant user only return ` Collections.emptySet();` why ??? i can find subsequent worker-groups add ZOOKEEPER `/dolphinscheduler/nodes/worker/`

### How to reproduce
I used to use version 2.0 Tenant user can find admin add new WorkerGroups
How can I discover newly added WorkerGroups
### 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/12377 | https://github.com/apache/dolphinscheduler/pull/12411 | 651588c98dbaae2261a2e34044afdbae99d23b60 | 1436ad65fc1e6be5f049a534251a0a4516100109 | 2022-10-14T05:20:24Z | java | 2022-10-21T05:54:28Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,372 | ["dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/K8sUtils.java"] | [Improvement][k8s] Update the deprecated k8s api | ### 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
Update the deprecated k8s api
### 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/12372 | https://github.com/apache/dolphinscheduler/pull/12373 | 2f37da0dbcbbd887a801c6e922551ce561a606cd | 7b44612f283702f2a25a4d36ffdda015a812a321 | 2022-10-14T03:16:03Z | java | 2022-10-14T08:18:35Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,368 | ["dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxTask.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/test/java/org/apache/dolphinscheduler/plugin/task/datax/DataxTaskTest.java"] | [Bug] [Task plugin] datax task 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
[LOG-PATH]: /opt/dolphinscheduler/worker-server/logs/20221014/7195111179040_2-15-22.log, [HOST]: Host{address='172.16.10.15:1234', ip='172.16.10.15', port=1234}
[INFO] 2022-10-14 08:44:09.886 +0800 - Begin to pulling task
[INFO] 2022-10-14 08:44:09.887 +0800 - Begin to initialize task
[INFO] 2022-10-14 08:44:09.887 +0800 - Set task startTime: Fri Oct 14 08:44:09 CST 2022
[INFO] 2022-10-14 08:44:09.887 +0800 - Set task envFile: /opt/dolphinscheduler/worker-server/conf/dolphinscheduler_env.sh
[INFO] 2022-10-14 08:44:09.887 +0800 - Set task appId: 15_22
[INFO] 2022-10-14 08:44:09.887 +0800 - End initialize task
[INFO] 2022-10-14 08:44:09.888 +0800 - Set task status to TaskExecutionStatus{code=1, desc='running'}
[INFO] 2022-10-14 08:44:09.888 +0800 - TenantCode:root check success
[INFO] 2022-10-14 08:44:09.888 +0800 - ProcessExecDir:/tmp/dolphinscheduler/exec/process/7193666667040/7195111179040_2/15/22 check success
[INFO] 2022-10-14 08:44:09.888 +0800 - Resources:{} check success
[INFO] 2022-10-14 08:44:09.889 +0800 - Task plugin: DATAX create success
[INFO] 2022-10-14 08:44:09.889 +0800 - datax task params {"localParams":[],"resourceList":[],"customConfig":0,"dsType":"MYSQL","dataSource":1,"dtType":"MYSQL","dataTarget":1,"sql":"select id,name from ods.ods_jdx_site","targetTable":"ods_jdx_site_copy1","jobSpeedByte":0,"jobSpeedRecord":1000,"preStatements":[],"postStatements":[],"xms":1,"xmx":1}
[INFO] 2022-10-14 08:44:09.889 +0800 - Success initialized task plugin instance success
[INFO] 2022-10-14 08:44:09.889 +0800 - Success set taskVarPool: null
[ERROR] 2022-10-14 08:44:09.890 +0800 - datax task error
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.addCustomParameters(DataxTask.java:426)
at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.buildShellCommandFile(DataxTask.java:400)
at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.handle(DataxTask.java:157)
at org.apache.dolphinscheduler.server.worker.runner.DefaultWorkerDelayTaskExecuteRunnable.executeTask(DefaultWorkerDelayTaskExecuteRunnable.java:48)
at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable.run(WorkerTaskExecuteRunnable.java:151)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
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)
[ERROR] 2022-10-14 08:44:09.890 +0800 - Task execute failed, due to meet an exception
org.apache.dolphinscheduler.plugin.task.api.TaskException: Execute DataX task failed
at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.handle(DataxTask.java:171)
at org.apache.dolphinscheduler.server.worker.runner.DefaultWorkerDelayTaskExecuteRunnable.executeTask(DefaultWorkerDelayTaskExecuteRunnable.java:48)
at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable.run(WorkerTaskExecuteRunnable.java:151)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
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.NullPointerException: null
at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.addCustomParameters(DataxTask.java:426)
at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.buildShellCommandFile(DataxTask.java:400)
at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.handle(DataxTask.java:157)
... 9 common frames omitted
[INFO] 2022-10-14 08:44:10.900 +0800 - Get a exception when execute the task, will send the task execute result to master, the current task execute result is TaskExecutionStatus{code=6, desc='failure'}
### What you expected to happen
task run success
### How to reproduce
datax task with mysql2mysql
### Anything else
DATAX_HOME=/opt/datax
### 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/12368 | https://github.com/apache/dolphinscheduler/pull/12388 | fccbe5593ad2ceb1899524440858c938ef1ae98c | 3bef85f546e5ebb9d4c91e48c515756286631069 | 2022-10-14T01:02:58Z | java | 2022-10-18T01:03:16Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,364 | ["dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-sidebar.tsx"] | [Bug] [UI] When creating a workflow, click Data Quality or Machine Learning to expand both | ### 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 creating a workflow, click Data Quality or Machine Learning in the sidebar to expand both
<img width="1158" alt="dqandml" src="https://user-images.githubusercontent.com/100667564/195637121-bc6d2b3d-4aad-4931-8d14-4ef5dce2a6c4.png">
### What you expected to happen
When creating a workflow, click Data Quality or Machine Learning in the sidebar to expand the corresponding menu
### How to reproduce
as mentioned above
### 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/12364 | https://github.com/apache/dolphinscheduler/pull/12365 | f0a34cddec5fe9fd0d1de5cd7f6788dda87c5fca | 70aef3ec21aa712f1f499f7b9b56bdb6b803d654 | 2022-10-13T15:19:20Z | java | 2022-10-20T08:46:10Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,356 | ["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java"] | [Bug] [k8s] null exception when submitting k8s task plugin | ### 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
* Null exception in master's log
```
[ERROR] 2022-10-13 15:51:10.327 +0800 TaskLogLogger-class org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor:[135] - Task dd is submitted to priority queue error
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.service.process.ProcessServiceImpl.findConfigYamlByName(ProcessServiceImpl.java:3175)
at org.apache.dolphinscheduler.service.process.ProcessServiceImpl$$FastClassBySpringCGLIB$$9d3e18f9.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.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.service.process.ProcessServiceImpl$$EnhancerBySpringCGLIB$$e4fb2474.findConfigYamlByName(<generated>)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.setK8sTaskRelation(BaseTaskProcessor.java:659)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.getTaskExecutionContext(BaseTaskProcessor.java:329)
at org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor.dispatchTask(CommonTaskProcessor.java:123)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.dispatch(BaseTaskProcessor.java:241)
at org.apache.dolphinscheduler.server.master.runner.task.BaseTaskProcessor.action(BaseTaskProcessor.java:212)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.submitTaskExec(WorkflowExecuteRunnable.java:980)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.submitStandByTask(WorkflowExecuteRunnable.java:1832)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.submitPostNode(WorkflowExecuteRunnable.java:1360)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.call(WorkflowExecuteRunnable.java:695)
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:748)
```
### What you expected to happen
submit k8s task plugin without null exception
### How to reproduce
* create cluster
<img width="1456" alt="截屏2022-10-13 16 03 56" src="https://user-images.githubusercontent.com/38122586/195538282-f36e1fbd-fb2e-4867-8741-7913d2c4f4d4.png">
* create k8s namespace
<img width="1453" alt="截屏2022-10-13 16 04 01" src="https://user-images.githubusercontent.com/38122586/195538294-6107919b-24c1-4e5a-80d6-e0ab85bb38da.png">
* run a k8s task plugin, and failed
<img width="367" alt="image" src="https://user-images.githubusercontent.com/38122586/195538992-f9568903-8ccf-4be9-a57a-50c062ea8605.png">
### Anything else
version: dev, 3.1.0
### 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/12356 | https://github.com/apache/dolphinscheduler/pull/12358 | a8e23008acdebd99811271611a15e83a9a7d8d92 | 97edc7d6523e94ef063aed663c793592ea70d9ff | 2022-10-13T08:06:14Z | java | 2022-10-19T01:49:56Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,355 | ["dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxUtils.java", "dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-datax.ts"] | [Feature][TASK-DATAX] add ```presto``` option under drop down box | ### 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_
### Use case
i'll add ```presto``` option ,so people can choose ```presto```.
### Related issues
_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/12355 | https://github.com/apache/dolphinscheduler/pull/12371 | 7aa8a77fb23252360dcc29721ddc56ed8aae8de8 | b7bd8d780356e055998fd0047be7e2cfea85d59b | 2022-10-13T07:44:53Z | java | 2022-10-16T09:19:29Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,335 | ["dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-hive-cli.ts"] | [Improvement][ui] Make the resources to be reactive in hivecli 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
Make the resources to be reactive.
* related: #12225 and #11882
### 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/12335 | https://github.com/apache/dolphinscheduler/pull/12336 | 9bba4b105c671d7caa3db75a230216ee47915e20 | 58721ba855be07f77d0499d1aa0dcaff68bedc97 | 2022-10-12T08:05:01Z | java | 2022-11-07T10:05:51Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,333 | ["dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/common/CodeEditor.java", "dolphinscheduler-e2e/dolphinscheduler-e2e-core/src/main/java/org/apache/dolphinscheduler/e2e/core/DolphinSchedulerExtension.java", "dolphinscheduler-e2e/dolphinscheduler-e2e-core/src/main/java/org/apache/dolphinscheduler/e2e/core/TestDescription.java", "dolphinscheduler-microbench/pom.xml", "dolphinscheduler-microbench/src/main/java/org/apache/dolphinscheduler/microbench/base/AbstractBaseBenchmark.java"] | [Migration][Test] Migrate all UT cases from jUnit 4 to jUnit 5 in microbench and e2e module | ### 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
* Migrate all UT cases from jUnit 4 to jUnit 5 in microbench and e2e module.
* This issue is a sub-task of #12301
### 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/12333 | https://github.com/apache/dolphinscheduler/pull/12348 | a11892aea0dd16ea04d7a595b186a8ae1f32a9c0 | a17923a62b036537d2b21c5100e1038468c56e1d | 2022-10-12T07:24:18Z | java | 2022-10-19T08:58:42Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,325 | ["dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java"] | [Bug] workflow state is FAILURE when last task node is forbidden | ### 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



for example,a workflow has two nodes and the last node is forbiddened to run,the first node gets error,but the whole workflow is successful.
### What you expected to happen
the whole workflow state is FAILURE
### How to reproduce
create a workflow has two nodes, set the first node throws exception,set the last node forbidden ,then start the workerflow.
The first node gets FAILURE,but the whole workflow is successful.
### 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/12325 | https://github.com/apache/dolphinscheduler/pull/12424 | ba538067f291c4fdb378ca84c02bb31e2fb2d295 | 38b643f69b65f4de9dd43809404470934bfadc7b | 2022-10-12T01:25:02Z | java | 2022-10-19T01:36:47Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,306 | ["dolphinscheduler-ui/src/layouts/content/components/user/use-dropdown.ts", "dolphinscheduler-ui/src/layouts/content/use-dataList.ts", "dolphinscheduler-ui/src/service/modules/login/types.ts", "dolphinscheduler-ui/src/service/modules/users/types.ts", "dolphinscheduler-ui/src/service/service.ts", "dolphinscheduler-ui/src/store/user/types.ts", "dolphinscheduler-ui/src/store/user/user.ts", "dolphinscheduler-ui/src/views/login/use-login.ts", "dolphinscheduler-ui/src/views/password/use-update.ts"] | [Bug] [UI]The password item always is disabled | ### 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

As shown in the figure above,the password item always is disabled.
### What you expected to happen
As shown in the figure below,I checked the source and find that it's disabled because the `securityConfigType` is null, and the `securityConfigType` is null because browser doesn't save it on the local after invoke the method `login()` and the method `getUserInfo()` never return `securityConfigType`.

### How to reproduce
100% reproduce
### 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/12306 | https://github.com/apache/dolphinscheduler/pull/12437 | 70aef3ec21aa712f1f499f7b9b56bdb6b803d654 | 651588c98dbaae2261a2e34044afdbae99d23b60 | 2022-10-11T08:27:02Z | java | 2022-10-21T01:27:50Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,301 | ["dolphinscheduler-microbench/src/main/java/org/apache/dolphinscheduler/microbench/base/AbstractBaseBenchmark.java", "dolphinscheduler-scheduler-plugin/dolphinscheduler-scheduler-quartz/src/main/java/org/apache/dolphinscheduler/scheduler/quartz/ProcessScheduleTask.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java", "pom.xml"] | [Migration][Test] jUnit4 -> jUnit5 UT cases migration | ### 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
* This is part of DSIP-10 #10573
* By this moment, we have added jUnit 5 dependencies #11332 and removed all `Powermock` related code #11405. It is high time that we migrate all the UT cases from jUnit 4 to jUnit 5 and remove the dependency of `junit-vintage-engine` so that there will be one and only one version of unit test cases, which is jUnit5, in the whole project.
### SOP
These two following articles are recommended for you to understand the whole process. In order to keep the instructions brief and concise, I summarize some key points of these two articles as well as add a few extra operations based on practice for your reference:
* https://blogs.oracle.com/javamagazine/post/migrating-from-junit-4-to-junit-5-important-differences-and-benefits
* https://blog.jetbrains.com/idea/2020/08/migrating-from-junit-4-to-junit-5/
BTW, I suggest you perform this SOP below by module or by file, instead of doing it for the whole project. This helps you increase efficiency.
1. Perform basic migration through `Intellij IDE` for the module you choose.

2. Replace `@RunWith(MockitoJUnitRunner.class)` with `@ExtendWith(MockitoExtension.class)` if necessary.
3. Replace `Assert` with `Assertions`.
4. Fix expected exception if necessary.
```java
// jUnit 4
@Test(expected = Exception.class)
public void testThrowsException() throws Exception {
// ...
}
// jUnit 5
@Test
public void testThrowsException() throws Exception {
Assertions.assertThrows(Exception.class, () -> {
//...
});
}
```
6. Fix timeout if necessary.
```java
// jUnit 4
@Test(timeout = 10)
public void testFailWithTimeout() throws InterruptedException {
Thread.sleep(100);
}
// jUnit 5
@Test
void testFailWithTimeout() throws InterruptedException {
Assertions.assertTimeout(Duration.ofMillis(10), () -> Thread.sleep(100));
}
Assertions.assertTimeout(Duration.ofMillis(60000), () -> {});
```
8. Replace `@Ignore` with `@Disable` if necessary.
9. Replace `org.junit.rules.TemporaryFolder` with `org.junit.jupiter.api.io.TempDir` and use `@TempDir` if necessary.
10. Run the UT file you changed to see whether all cases pass successfully.
11. Fix unnecessary stubbings if necessary. This is caused by changing `@Before` into `@BeforeEach`. The recommend method is to use `@MockitoSettings(strictness = Strictness.LENIENT)`. Alternatively, you could either remove the unnecessary stubbings from `@BeforeEach` and only put them where they needed or use `Mockito.lenient().when(......` for `Mockito.when(......` to bypass the `stubbing check`.
12. Global search in your module and make sure all `org.junit.xxxx` has been migrated to `org.junit.jupiter.api.xxx`
### PR Example
* #12299
### Sub-Tasks
We hope to complete all the following sub-tasks ***before Oct. 25th*** because DSIP-10 depends on this issue and all UT cases are supposed to be migrated to jUnit 5 before the start of UT refactoring.
- [x] Migrate all UT cases from jUnit 4 to jUnit 5 in `task-plugin` module: #12299
- [x] Migrate all UT cases from jUnit 4 to jUnit 5 in `alert` and `api` module: #12313
- [x] Migrate all UT cases from jUnit 4 to jUnit 5 in `dao` module: #12319
- [x] Migrate all UT cases from jUnit 4 to jUnit 5 in `data-quality`, `datasource-plugin` and `registry` module: #12322
- [x] Migrate all UT cases from jUnit 4 to jUnit 5 in `master`, `worker` and `remote` module: #12316
- [x] Migrate all UT cases from jUnit 4 to jUnit 5 in `common`, `service` and `spi` module: #12317
- [x] Migrate all UT cases from jUnit 4 to jUnit 5 in `microbench` and `e2e` module: #12333
- [x] Block explicit imports of jUnit 4 library. #12395
### 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/12301 | https://github.com/apache/dolphinscheduler/pull/12450 | 0eef2e3e10ca8d20d8a0ad59b0f0674f90ee321c | 0a6e8af864423dac2aff279bf56f6f1ee95e95b9 | 2022-10-10T12:48:52Z | java | 2022-10-20T04:12:17Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,293 | ["dolphinscheduler-api-test/dolphinscheduler-api-test-case/src/test/resources/docker/file-manage/common.properties", "dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/resources/docker/file-manage/common.properties"] | [Improvement] Update the common.properties in api-test-case and e2e-case | ### 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
Update the common.properties in api-test-case and e2e-case
### 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/12293 | https://github.com/apache/dolphinscheduler/pull/12295 | 0a6e8af864423dac2aff279bf56f6f1ee95e95b9 | 666849abe001e131ec4096a60c8c18136656233d | 2022-10-10T07:37:16Z | java | 2022-10-20T04:31:03Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,289 | ["deploy/kubernetes/dolphinscheduler/values.yaml"] | [Improvement][k8s] update the common.properties 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
update the common.properties in values.yaml
such as `resource.alibaba.cloud.access.key.id`
### 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/12289 | https://github.com/apache/dolphinscheduler/pull/12290 | 501119bbb61bed5b70e47b4ad5a66d48553395db | 6332fee2b5bf8939df1db1b12f6eef444251573c | 2022-10-10T06:16:55Z | java | 2022-10-12T07:55:36Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,284 | ["docs/docs/en/guide/installation/pseudo-cluster.md", "docs/docs/zh/guide/installation/pseudo-cluster.md"] | [Doc][Installation] Wrong version of zookeeper | ### 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
Should be 3.8.0 at least.
### Documentation Links
https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/installation/pseudo-cluster.html
### 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/12284 | https://github.com/apache/dolphinscheduler/pull/12288 | d9ac1fa0f70322de4985285231058f6a2e353325 | ef328d9cea8bff50ccbc70b5f27acc01bab6274a | 2022-10-10T02:06:43Z | java | 2022-10-10T07:08:07Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,279 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UsersServiceImpl.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/config/StoreConfiguration.java"] | [Bug] [API] When creating a user and throwing an exception the user can be created successfully. | ### 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
Currently when creating a user in DolphinScheduler the API will create the resource directory at the same time. Sometimes the settings of storage is not correct, so the process of creating the resource file will throw an exception. But the strategy of rollback didn't work. It's because that the annotation of '@Transactional' just deal with the exception of the RuntimeException type by default.


### What you expected to happen
When creating a user and throwing an exception the user shouldn't be created successfully.
### How to reproduce
First of all you should modify the file of 'common.properties' to set a few settings of resource storage like:
```
resource.storage.type=HDFS
resource.storage.upload.base.path=/dolphinscheduler
resource.hdfs.root.user=calvin
resource.hdfs.fs.defaultFS=hdfs://xxxxxx:8020
```
To make sure the user 'calvin' has no permissions to access the resource file '/dolphinscheduler'.
And then to create a new user you will see this problem.
### 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/12279 | https://github.com/apache/dolphinscheduler/pull/12281 | 7bf49a71795c4aa7e9544ce794e99b74950ccbf2 | b4947b471cad5d4b939f5a5f4a978c786c4decdc | 2022-10-09T09:58:03Z | java | 2022-10-10T01:34:32Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,274 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"] | [Bug] [Workflow Definition] copy workflow 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
press copy workflow button get an error. here's log

`[ERROR] 2022-10-09 06:18:41.012 +0000 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[53] - 复制工作流错误
org.springframework.dao.DuplicateKeyException:
### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "t_ds_schedules_pkey"
Detail: Key (id)=(2) already exists.
### The error may exist in org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.java (best guess)
### The error may involve org.apache.dolphinscheduler.dao.mapper.ScheduleMapper.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO t_ds_schedules ( id, process_definition_code, start_time, end_time, timezone_id, crontab, failure_strategy, warning_type, create_time, update_time, user_id, release_state, warning_group_id, process_instance_priority, worker_group, environment_code ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
### Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "t_ds_schedules_pkey"
Detail: Key (id)=(2) already exists.
; ERROR: duplicate key value violates unique constraint "t_ds_schedules_pkey"
Detail: Key (id)=(2) already exists.; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "t_ds_schedules_pkey"
Detail: Key (id)=(2) already exists.
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:247)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:91)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
at com.sun.proxy.$Proxy138.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:59)`
### What you expected to happen
successfully copy workflow
### How to reproduce
just press copy workflow
### Anything else
user pg as database
### 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/12274 | https://github.com/apache/dolphinscheduler/pull/12280 | 98a8b5383edf695811b64f6d871e8783e4a60003 | 18ef0a66cb91d9dfe6406f8ade6cfb2cff36492e | 2022-10-09T06:23:55Z | java | 2022-10-11T02:53:25Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,266 | ["docs/docs/en/about/glossary.md", "docs/docs/zh/about/glossary.md"] | [Improvement][Doc] some descriptions are unclear in glossary.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

### 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/12266 | https://github.com/apache/dolphinscheduler/pull/12282 | b4947b471cad5d4b939f5a5f4a978c786c4decdc | 9b1ee1516f2be0323bae4b1238c495e3d8efbb24 | 2022-10-09T01:50:32Z | java | 2022-10-10T01:37:15Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 12,257 | ["docs/docs/en/guide/data-quality.md", "docs/docs/zh/guide/data-quality.md", "dolphinscheduler-data-quality/pom.xml"] | [Bug] [Data Quality] No main class set in JAR | ### 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
1. DS Version: 3.1.0
2. Data Quality , datasource clickhouse check null
3. Spark Submit Missing main class
the following logs:
[LOG-PATH]: /opt/dolphinscheduler/worker-server/logs/20221007/7133023937376_2-25-29.log, [HOST]: Host{address='192.168.66.190:1234', ip='192.168.66.190', port=1234}
[INFO] 2022-10-07 15:53:04.851 +0000 - Begin to pulling task
[INFO] 2022-10-07 15:53:04.855 +0000 - Begin to initialize task
[INFO] 2022-10-07 15:53:04.855 +0000 - Set task startTime: Fri Oct 07 15:53:04 UTC 2022
[INFO] 2022-10-07 15:53:04.856 +0000 - Set task envFile: /opt/dolphinscheduler/worker-server/conf/dolphinscheduler_env.sh
[INFO] 2022-10-07 15:53:04.856 +0000 - Set task appId: 25_29
[INFO] 2022-10-07 15:53:04.856 +0000 - End initialize task
[INFO] 2022-10-07 15:53:04.857 +0000 - Set task status to TaskExecutionStatus{code=1, desc='running'}
[INFO] 2022-10-07 15:53:04.858 +0000 - TenantCode:xichen check success
[INFO] 2022-10-07 15:53:04.859 +0000 - ProcessExecDir:/opt/ds_base_dir/exec/process/7120503728992/7133023937376_2/25/29 check success
[INFO] 2022-10-07 15:53:04.859 +0000 - Resources:{} check success
[INFO] 2022-10-07 15:53:04.860 +0000 - Task plugin: DATA_QUALITY create success
[INFO] 2022-10-07 15:53:04.860 +0000 - data quality task params {"localParams":[],"resourceList":[],"ruleId":6,"ruleInputParameter":{"check_type":"0","comparison_type":1,"comparison_name":"10","failure_strategy":"0","operator":"4","src_connector_type":4,"src_datasource_id":1,"src_field":"c1_name","src_table":"dim_app_content","threshold":"10"},"sparkParameters":{"deployMode":"local","driverCores":1,"driverMemory":"512M","executorCores":2,"executorMemory":"2G","numExecutors":2,"others":"--conf spark.yarn.maxAppAttempts=1"}}
[INFO] 2022-10-07 15:53:04.872 +0000 - Success initialized task plugin instance success
[INFO] 2022-10-07 15:53:04.872 +0000 - Success set taskVarPool: null
[INFO] 2022-10-07 15:53:04.873 +0000 - data quality task command: **${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 /opt/dolphinscheduler/worker-server/libs/dolphinscheduler-data-quality-3.1.0.jar "{\"name\":\"$t(uniqueness_check)\",\"env\":{\"type\":\"batch\",\"config\":null},\"readers\":[{\"type\":\"JDBC\",\"config\**":{\"database\":\"tech\",\"password\":\"123456\",\"driver\":\"ru.yandex.clickhouse.ClickHouseDriver\",\"user\":\"default\",\"output_table\":\"tech_dim_app_content\",\"table\":\"dim_app_content\",\"url\":\"jdbc:clickhouse://ch001:8123/tech\"} }],\"transformers\":[{\"type\":\"sql\",\"config\":{\"index\":1,\"output_table\":\"duplicate_items\",\"sql\":\"SELECT c1_name FROM tech_dim_app_content group by c1_name having count(*) > 1\"} },{\"type\":\"sql\",\"config\":{\"index\":2,\"output_table\":\"duplicate_count\",\"sql\":\"SELECT COUNT(*) AS duplicates FROM duplicate_items\"} }],\"writers\":[{\"type\":\"JDBC\",\"config\":{\"database\":\"ds\",\"password\":\"123456\",\"driver\":\"com.mysql.cj.jdbc.Driver\",\"user\":\"root\",\"table\":\"t_ds_dq_execute_result\",\"url\":\"jdbc:mysql://127.0.0.1:3306/ds?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false\",\"sql\":\"select 0 as rule_type,'$t(uniqueness_check)' as rule_name,0 as process_definition_id,25 as process_instance_id,29 as task_instance_id,duplicate_count.duplicates AS statistics_value,10 AS comparison_value,1 AS comparison_type,0 as check_type,10 as threshold,4 as operator,0 as failure_strategy,'hdfs://mycluster:8020/user/xichen/data_quality_error_data/0_25_ch' as error_output_path,'2022-10-07 15:53:04' as create_time,'2022-10-07 15:53:04' as update_time from duplicate_count \"} },{\"type\":\"JDBC\",\"config\":{\"database\":\"ds\",\"password\":\"123456\",\"driver\":\"com.mysql.cj.jdbc.Driver\",\"user\":\"root\",\"table\":\"t_ds_dq_task_statistics_value\",\"url\":\"jdbc:mysql://127.0.0.1:3306/ds?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false\",\"sql\":\"select 0 as process_definition_id,29 as task_instance_id,6 as rule_id,'1SYYJMCZZRKHUDNCCFM4ZRXJRQUM4DPPSQW5QMYGOLU=' as unique_code,'duplicate_count.duplicates'AS statistics_name,duplicate_count.duplicates AS statistics_value,'2022-10-07 15:53:04' as data_time,'2022-10-07 15:53:04' as create_time,'2022-10-07 15:53:04' as update_time from duplicate_count\"} },{\"type\":\"hdfs_file\",\"config\":{\"path\":\"hdfs://mycluster:8020/user/xichen/data_quality_error_data/0_25_ch\",\"input_table\":\"duplicate_items\"} }]}"
[INFO] 2022-10-07 15:53:04.873 +0000 - tenantCode user:xichen, task dir:25_29
[INFO] 2022-10-07 15:53:04.873 +0000 - create command file:/opt/ds_base_dir/exec/process/7120503728992/7133023937376_2/25/29/25_29.command
[INFO] 2022-10-07 15:53:04.874 +0000 - command : #!/bin/sh
BASEDIR=$(cd `dirname $0`; pwd)
cd $BASEDIR
source /opt/dolphinscheduler/worker-server/conf/dolphinscheduler_env.sh
${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 /opt/dolphinscheduler/worker-server/libs/dolphinscheduler-data-quality-3.1.0.jar "{\"name\":\"$t(uniqueness_check)\",\"env\":{\"type\":\"batch\",\"config\":null},\"readers\":[{\"type\":\"JDBC\",\"config\":{\"database\":\"tech\",\"password\":\"123456\",\"driver\":\"ru.yandex.clickhouse.ClickHouseDriver\",\"user\":\"default\",\"output_table\":\"tech_dim_app_content\",\"table\":\"dim_app_content\",\"url\":\"jdbc:clickhouse://ch001:8123/tech\"} }],\"transformers\":[{\"type\":\"sql\",\"config\":{\"index\":1,\"output_table\":\"duplicate_items\",\"sql\":\"SELECT c1_name FROM tech_dim_app_content group by c1_name having count(*) > 1\"} },{\"type\":\"sql\",\"config\":{\"index\":2,\"output_table\":\"duplicate_count\",\"sql\":\"SELECT COUNT(*) AS duplicates FROM duplicate_items\"} }],\"writers\":[{\"type\":\"JDBC\",\"config\":{\"database\":\"ds\",\"password\":\"123456\",\"driver\":\"com.mysql.cj.jdbc.Driver\",\"user\":\"root\",\"table\":\"t_ds_dq_execute_result\",\"url\":\"jdbc:mysql://127.0.0.1:3306/ds?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false\",\"sql\":\"select 0 as rule_type,'$t(uniqueness_check)' as rule_name,0 as process_definition_id,25 as process_instance_id,29 as task_instance_id,duplicate_count.duplicates AS statistics_value,10 AS comparison_value,1 AS comparison_type,0 as check_type,10 as threshold,4 as operator,0 as failure_strategy,'hdfs://mycluster:8020/user/xichen/data_quality_error_data/0_25_ch' as error_output_path,'2022-10-07 15:53:04' as create_time,'2022-10-07 15:53:04' as update_time from duplicate_count \"} },{\"type\":\"JDBC\",\"config\":{\"database\":\"ds\",\"password\":\"123456\",\"driver\":\"com.mysql.cj.jdbc.Driver\",\"user\":\"root\",\"table\":\"t_ds_dq_task_statistics_value\",\"url\":\"jdbc:mysql://127.0.0.1:3306/ds?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true&allowLoadLocalInfile=false&autoDeserialize=false&allowLocalInfile=false&allowUrlInLocalInfile=false\",\"sql\":\"select 0 as process_definition_id,29 as task_instance_id,6 as rule_id,'1SYYJMCZZRKHUDNCCFM4ZRXJRQUM4DPPSQW5QMYGOLU=' as unique_code,'duplicate_count.duplicates'AS statistics_name,duplicate_count.duplicates AS statistics_value,'2022-10-07 15:53:04' as data_time,'2022-10-07 15:53:04' as create_time,'2022-10-07 15:53:04' as update_time from duplicate_count\"} },{\"type\":\"hdfs_file\",\"config\":{\"path\":\"hdfs://mycluster:8020/user/xichen/data_quality_error_data/0_25_ch\",\"input_table\":\"duplicate_items\"} }]}"
[INFO] 2022-10-07 15:53:04.878 +0000 - task run command: sudo -u xichen sh /opt/ds_base_dir/exec/process/7120503728992/7133023937376_2/25/29/25_29.command
[INFO] 2022-10-07 15:53:04.878 +0000 - process start, process id is: 26016
[INFO] 2022-10-07 15:53:07.238 +0000 - process has exited, execute path:/opt/ds_base_dir/exec/process/7120503728992/7133023937376_2/25/29, processId:26016 ,exitStatusCode:1 ,processWaitForStatus:true ,processExitValue:1
[INFO] 2022-10-07 15:53:07.241 +0000 - Send task execute result to master, the current task status: TaskExecutionStatus{code=6, desc='failure'}
[INFO] 2022-10-07 15:53:07.241 +0000 - Remove the current task execute context from worker cache
[INFO] 2022-10-07 15:53:07.241 +0000 - The current execute mode isn't develop mode, will clear the task execute file: /opt/ds_base_dir/exec/process/7120503728992/7133023937376_2/25/29
[INFO] 2022-10-07 15:53:07.242 +0000 - Success clear the task execute file: /opt/ds_base_dir/exec/process/7120503728992/7133023937376_2/25/29
[INFO] 2022-10-07 15:53:07.879 +0000 - -> 2022-10-07 23:53:06,923 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "main" org.apache.spark.SparkException: No main class set in JAR; please specify one with --class.
at org.apache.spark.deploy.SparkSubmit.error(SparkSubmit.scala:972)
at org.apache.spark.deploy.SparkSubmit.prepareSubmitEnvironment(SparkSubmit.scala:492)
at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:898)
at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:180)
at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:203)
at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:90)
at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1043)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1052)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
[INFO] 2022-10-07 15:53:07.881 +0000 - FINALIZE_SESSION
### What you expected to happen
[Data Quality] No main class set in JAR
### How to reproduce
[Data Quality] No main class set in JAR
### 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/12257 | https://github.com/apache/dolphinscheduler/pull/13360 | 366f999167feb5da65b86b48a010b754572857ef | e39bf59b4b76f7f163e398695d901d5fe729a9da | 2022-10-07T16:02:23Z | java | 2023-01-14T06:50:50Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.