status
stringclasses
1 value
repo_name
stringclasses
13 values
repo_url
stringclasses
13 values
issue_id
int64
1
104k
updated_files
stringlengths
11
1.76k
title
stringlengths
4
369
body
stringlengths
0
254k
issue_url
stringlengths
38
55
pull_url
stringlengths
38
53
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
6,701
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java"]
[Bug] [API] Query worker group list ,paging 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 When worker group number has been added more than 10,page size is 10,paging is error:there is no second page. ### What you expected to happen Increase worker group number more than 10,paging is correct. ### How to reproduce Increase worker group number more than 10. ### Anything else _No response_ ### 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/6701
https://github.com/apache/dolphinscheduler/pull/6704
5e923971bfc49f6705b25ed4bbeb214904d3291f
d4d59b0627237e73f6ca1762882938beee596e34
2021-11-05T07:45:27Z
java
2021-11-05T12:23:20Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,694
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HeartBeat.java", "dolphinscheduler-registry-plugin/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistry.java", "dolphinscheduler-registry-plugin/dolphinscheduler-registry-zookeeper/src/test/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperRegistryTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/host/LowerWeightHostManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryDataListener.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/ServerNodeManager.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/register/ListenerManager.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/register/SubscribeListener.java"]
[Feature][Master] Reduce the refresh resource interval of LowerWeight
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Now the refresh resource interval of LowerWeight is 5s, it means that Master sync worker weight every 5s. When Worker send heartbeat every second, I want that Master can get it more timely, which can make smoother task running. ### Use case Reduce the refresh resource interval of LowerWeight ### 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/6694
https://github.com/apache/dolphinscheduler/pull/6695
5855c936a4a3daafcc12b408a46b8e8470ec34c4
72daba58cd378a347e9657b994bb631c0704fc2a
2021-11-04T10:36:25Z
java
2021-11-05T11:10:36Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,689
["dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/plugin/DolphinPluginManagerConfig.java"]
[Bug] [Standalone Server] DolphinPluginManagerConfig get maven sttings does not check file exists
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened i created a pr #6626 to fix #6625, but if forget to check if `the settings.xml` in the code. I feel very sorry about this~ if `~/.m2/settings.xml` or `${MAVEN_HOME}/conf/settings.xml` does not exists, will cause FileNotFound exception ### What you expected to happen check file exists ### How to reproduce * remove ~/.m2/settings.xml and the start the server ### Anything else _No response_ ### 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/6689
https://github.com/apache/dolphinscheduler/pull/6691
66fbcae9ddd6c0ca925c24ef01345fc793d85586
71047db39ea97373411a674ab0f3efe647f28a9d
2021-11-04T02:18:15Z
java
2021-11-04T12:17:53Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,684
["repository/dolphinscheduler/dolphinscheduler-ui/.gitignore"]
[Feature][Directory] Remove empty directory
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description I find this directory is not used, right? It might be better to remove this empty directory, if this is needed, we may need to add description. https://github.com/apache/dolphinscheduler/tree/dev/repository/dolphinscheduler/dolphinscheduler-ui ### 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/6684
https://github.com/apache/dolphinscheduler/pull/6685
2e7036529c356b35ed99ea46f7ffefe66ec2a916
cbb623bfa0e44419e6f1e21ea64c86cd33df3560
2021-11-03T14:44:31Z
java
2021-11-04T05:22:01Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,673
[".github/ISSUE_TEMPLATE/bug-report.yml", ".github/ISSUE_TEMPLATE/feature-request.yml", ".github/actions/lable-on-issue", ".github/workflows/issue_robot.yml", ".github/workflows/stale.yml", ".gitmodules", ".licenserc.yaml"]
[Bug] [community] Stale bot will close issue/pr unexpected
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Our stale bot will close our issue/PR unexpected, this situation would make our missing user feedback. Something information for you: * When issue not activity(no comment or labels add) for 14 days will mark as `stale`, and it would close for next 3 days. Issue with label `Waiting for reply`, `new feature`, `DSIP` would not close * But when user create `bug` or `feature` issue and maintainer without answer for 17 days, it will be close to, I think this is not the behavior we want. **Solution:** Maybe we should add labels `Waiting for reply` when use create bug or feature issue. * Another unexpected situation is when maintainer answer user issue at first time, and user add addition information but maintainer would not answer for 17 days is also would be close. **Solution:** I am not sure how to cover this situation, maybe we should see other repo how to handle it. ### What you expected to happen See above ### How to reproduce See above ### Anything else _No response_ ### 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/6673
https://github.com/apache/dolphinscheduler/pull/6676
a269e3df7612a017dab6b8ff473720b53d96ad0d
5855c936a4a3daafcc12b408a46b8e8470ec34c4
2021-11-03T06:40:00Z
java
2021-11-05T10:35:41Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,660
["dolphinscheduler-registry-plugin/dolphinscheduler-registry-zookeeper/src/main/java/org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperConfiguration.java", "dolphinscheduler-service/src/main/resources/registry.properties"]
[Improvement][Server] Change the registry session timeout
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Now the default registry timeout is 1s, which is short for zk, and it will be reset a negotiated timeout by zk server, because `zk.minSessionTimeout = 2 * tickTimeout` and `zk.maxSessionTimeout = 20 * tickTimeout`. I think the default session timeout param should be improved to control by client better, not only for zk. Now the defaule hearbeat interval is 10s, So maybe the registry session timeout should set to 30s. BTW, `Curator.DEFAULT_SESSION_TIMEOUT_MS = 60 * 1000` and `Curator.DEFAULT_CONNECTION_TIMEOUT_MS = 15 * 1000`. ### 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/6660
https://github.com/apache/dolphinscheduler/pull/6663
1165afbdd17cf072c434020376d653b5f411fdd6
1ebab356f3e431237524537a6fedd26590ff24ce
2021-11-02T04:21:49Z
java
2021-11-04T14:31:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,653
["dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/utils/Host.java"]
[Bug] [Server] Netty client create too many channel and make busy network
### 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: dev When after the stress test, I found the busy network between master and worker, but no any log. And then I dump the network package and found many heartbeat report. ![c5c20ffb4c6220c43924557b0478fd5](https://user-images.githubusercontent.com/11962619/139615061-c16f141f-e8a3-412c-9364-7f3418ccc5a9.png) I try to run the test method, which use netty client to send many commands, and the channel created number is equal to the commands number. When debug, I found that the key of map to manage channels is Host, a Object without override hashcode and equals. ### What you expected to happen Netty client create less channel. ### How to reproduce Run the test method, which use netty client to send many commands. ### Anything else _No response_ ### 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/6653
https://github.com/apache/dolphinscheduler/pull/6654
3a8b80971ba4b23b8e919ad04e074bd273c40c9a
daca3baf6662b9bcf3de856722ece79aad753773
2021-11-01T02:55:40Z
java
2021-11-01T04:18:39Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,649
["dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/js/conf/home/store/projects/actions.js"]
[Bug] [UI] When entering the project management page through different links, the front-end storage project is not switched
### 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 branch : dev When I enter the project management interface through different links(different project), the front-end storage project is not switched. ![image](https://user-images.githubusercontent.com/35388422/139579266-045c424c-b5ed-4939-8f16-fdc10a3f9ac6.png) ![image](https://user-images.githubusercontent.com/35388422/139579292-519fd6b1-5e6d-4c22-bc41-3762145007fc.png) ### What you expected to happen Project can be switched normally. ### How to reproduce 1. Open two browser windows 2. Enter different project links for each window ### Anything else _No response_ ### 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/6649
https://github.com/apache/dolphinscheduler/pull/6650
1144360257cc901c70962971a0777930dcb39e3c
a728c85a92faff6539daa86defa5206f986d38a9
2021-10-31T10:59:38Z
java
2021-11-06T02:12:01Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,640
["dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/CommandType.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/HostUpdateCommand.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/HostUpdateResponseCommand.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/WorkerServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/HostUpdateProcessor.java"]
[Bug] [WorkerServer] PROCESS_HOST_UPDATE_REQUST command not support
### 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: 2.0.0-alpha When Master server restart, the worker receive PROCESS_HOST_UPDATE_REQUST command but not support. ### What you expected to happen Worker can handle this command type normally. ### How to reproduce run the task and restart the master server. ### Anything else _No response_ ### 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/6640
https://github.com/apache/dolphinscheduler/pull/6642
dd6ed36f65d2add3bf8e31cad24ab25f4606c9d9
8850baff07cc5174a57a0560cbeeb1a3368a4dca
2021-10-29T12:27:51Z
java
2021-10-31T13:10:51Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,638
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java"]
[Bug] [MasterServer] task state no change when failover worker
### 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: 2.0-alpha The task state is always running when I stop the worker. I try to debug in failoverWorker and found the judge conditions error. ### What you expected to happen After stop the worker, the task will change state and no always running. ### How to reproduce run a long time task and stop the worker. ### Anything else _No response_ ### 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/6638
https://github.com/apache/dolphinscheduler/pull/6639
8850baff07cc5174a57a0560cbeeb1a3368a4dca
ae0b18f3a3284357f7533c015086cd65f27caca5
2021-10-29T10:43:07Z
java
2021-10-31T13:12:55Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,620
[".github/ISSUE_TEMPLATE/bug-report.yml"]
[Feature][community] Add version selection button for our bug template
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description I find out we do not have version selection bottom in our bug report template. It will save maintainer time to have version selection, unless their have to ask reporter, such as https://github.com/apache/dolphinscheduler/issues/6613#issuecomment-952944539 ### 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/6620
https://github.com/apache/dolphinscheduler/pull/6793
60457284286b06007c06a1efef7f9706ca848320
0f92a1f54118d91c7c01e6618e3c232faf59d476
2021-10-27T13:47:25Z
java
2021-11-13T08:47:42Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,613
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java"]
[Bug] [Master] A bug on task retry mechanism
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened There are process nodes at the same level in the process, a failed error retry "node1_fail_retry" node (the actual task scenario may fail for the first time, and the task runs successfully after retry), and a failed "node2_fail" node; The current phenomenon is that after the "node2_fail" node fails, the process is in the failure state, and the "node1_fail_retry" node will not retry the task (the retry state may be successful) and the subsequent tasks will not run; Because the "node2_fail" node fails and the "errorTaskList" in the "MasterExecThread" is not empty, in the "processFailed()" method, "hasFailedTask()" returns true. When the FailureStrategy is CONTINUE, "activetasknode = 0", "processFailed()" returns false, causing the process instance state to change to failed. ![8](https://user-images.githubusercontent.com/39785282/139018718-881ecc96-010f-4e95-9844-2f75fa8cb4bb.png) ### What you expected to happen I think it is wrong not to retry the process node at the same level if it fails, because the actual task scenario may fail for the first time, run successfully after retrying, and then continue to run the downstream node. ### How to reproduce 1. Create a new process 2. Create a process node relationship as shown in the figure. The node "node1_fail_retry" is set error retry. The node "node2_fail" fails directly. Nodes "node3", "node4" and "node5 "can be created arbitrarily 3. Online process and runprocess ![11](https://user-images.githubusercontent.com/39785282/139022256-6b54c0c7-948c-4319-bf1a-c072754ce912.png) <img width="878" alt="22" src="https://user-images.githubusercontent.com/39785282/139022278-1eae4ae2-d935-429a-b861-3232733f73f1.png"> ### Anything else _No response_ ### 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/6613
https://github.com/apache/dolphinscheduler/pull/6843
880c1d28ff7f334fd50b2376655f1a884fcb496a
94f6c5c27ee88d5ec6f7f3856b2bc2aebab738e8
2021-10-27T07:45:37Z
java
2021-11-14T17:05:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,600
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/_source/referenceFromTask.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskDefinition/index.vue", "dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js", "dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue", "dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Feature][API+UI] edit DAG as 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 there would be a high resource occupancy when one DAG contains too many tasks. Using the list page to edit DAG could solve this problem ### 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/6600
https://github.com/apache/dolphinscheduler/pull/6762
94f6c5c27ee88d5ec6f7f3856b2bc2aebab738e8
36c19748a6da24f23f59db7d08d61004e6dcbac5
2021-10-25T13:21:06Z
java
2021-11-15T05:54:28Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,597
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Feature][Install] Upgrade dolphinscheduler version 1. X to version 2.0
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description we want upgrade dolphinscheduler from version 1.x to 2.0 1. some db table structure changes. 2. some definition data need to be translated ### 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/6597
https://github.com/apache/dolphinscheduler/pull/6858
44b24cd3df8a42f0809beb019baacd072ef800f7
1160b53940c8cc4457b1604514c5c6ba1a13b153
2021-10-25T08:59:23Z
java
2021-11-15T12:27:19Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,593
["sql/dolphinscheduler_postgre.sql"]
[Bug] [DAO] t_ds_error_command miss `message` in pgsql
### 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 insert into t_ds_error_command error because `message` field is not exist. ### What you expected to happen insert into t_ds_error_command successfully. ### How to reproduce run command fail and it will move to error command. ### Anything else _No response_ ### 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/6593
https://github.com/apache/dolphinscheduler/pull/6594
e15668097a2f73fd137b8adbe79f4150886c59f9
adf49e6a5f102094007fff245824f6885990cff8
2021-10-22T10:50:49Z
java
2021-10-25T01:30:55Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,582
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/task/ConditionTaskProcessor.java"]
[Bug] [Master] condition task fail when log show it's result is success
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened the condition task log show: `the conditions task depend result : SUCCESS`, but task state is failed. ### What you expected to happen condition task state is right. ### How to reproduce use condition task in your dag. ### Anything else _No response_ ### 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/6582
https://github.com/apache/dolphinscheduler/pull/6583
9b1984c2449538e5f0e547297762fdafc5e0211c
b642e9ca546d8ea21bbd9f193ff6ff9729037f75
2021-10-21T10:59:46Z
java
2021-10-21T11:27:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,572
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/dto/DagDataSchedule.java"]
[Bug] [API] import processDefinition report json parse 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 [ERROR] 2021-10-20 20:40:03.391 org.apache.dolphinscheduler.common.utils.JSONUtils:[167] - parse list exception! com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.apache.dolphinscheduler.api.dto.DagDataSchedule` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator) at [Source: (String)"[{"processDefinition":{"id":73,"code":818174268579840,"name":"hello-shell-2","version":1,"releaseState":"OFFLINE","projectCode":724559144984576,"description":"","globalParams":"[]","globalParamList":[],"globalParamMap":{},"createTime":"2021-10-16 23:44:57","updateTime":"2021-10-16 23:44:57","flag":"YES","userId":1,"userName":null,"projectName":null,"locations":"[{\"taskCode\":818173332135936,\"x\":202,\"y\":376}]","scheduleReleaseState":null,"timeout":0,"tenantId":-1,"tenantCode":null,"modifyBy""[truncated 1139 chars]; line: 1, column: 3] (through reference chain: java.util.ArrayList[0]) at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67) at com.fasterxml.jackson.databind.DeserializationContext.reportBadDefinition(DeserializationContext.java:1592) ### What you expected to happen It can be import successfully ### How to reproduce Export a processDefinition and then import it ### Anything else _No response_ ### 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/6572
https://github.com/apache/dolphinscheduler/pull/6573
251255009a857656abf0fe7776b5ae4d68eb4cf7
095e2e206a8d428a0048baa38704a3de3a1e037b
2021-10-20T13:33:36Z
java
2021-10-20T15:45:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,566
["dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue"]
[Bug] [UI] import process definition url 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 import process definition url error ![image](https://user-images.githubusercontent.com/87303815/138070966-89ca2768-095d-4745-8dc0-a52f36183a90.png) ### What you expected to happen Import succeeded ### How to reproduce ![image](https://user-images.githubusercontent.com/87303815/138071084-1246a7dd-449e-4f15-8fd9-48897cff0275.png) ### Anything else _No response_ ### 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/6566
https://github.com/apache/dolphinscheduler/pull/6567
5dfb0163c2095905aa0969a9c856e61812db729b
fa102afad0609b623aa60f1f2452f0007f71e431
2021-10-20T09:50:59Z
java
2021-10-20T10:58:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,563
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/switch.vue"]
[Bug] [API] Switch node cannot get branch flow
### 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. switch node cannot get the branch flows. 2. save the switch node, but the conditions donot save. ![image](https://user-images.githubusercontent.com/29528966/138046176-bf27bcc4-0bc5-4080-9341-e802dfc6e9ff.png) ### What you expected to happen switch node can get the branch flows. ### How to reproduce create a switch node, add conditions, branch flow. save switch node. ### Anything else _No response_ ### 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/6563
https://github.com/apache/dolphinscheduler/pull/6565
09657d8576cd04d7008f78c295c872f7b4a9c5c3
5dfb0163c2095905aa0969a9c856e61812db729b
2021-10-20T07:21:54Z
java
2021-10-20T08:55:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,543
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/EventExecuteService.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/queue/PeerTaskInstancePriorityQueue.java"]
[Bug] [Master] process instance state is always running when failure task exists
### 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 process instance state is always running when failure task exists. the failure task setting: retry times: 1, retry interval: 1 minute ### What you expected to happen the process instance state is failed when failed task exists. ### How to reproduce process instance state is always running when failure task exists. the failure task setting: retry times: 1, retry interval: 1 minute ### Anything else _No response_ ### 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/6543
https://github.com/apache/dolphinscheduler/pull/6547
ba4cb9d22ad02ba4927fd23ea811c82639261e69
52a550b6aefa5652f17b7bbc9e056a83efa23c8a
2021-10-15T08:39:19Z
java
2021-10-15T10:04:04Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,537
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/runner/TaskExecuteThread.java"]
[Bug] [Task] task log using 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 ![image](https://user-images.githubusercontent.com/16631152/137439540-4594a679-f489-4b76-bab6-da562e8035bd.png) ### What you expected to happen Business logs should not be handed over to task-logger ### How to reproduce no ### Anything else _No response_ ### 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/6537
https://github.com/apache/dolphinscheduler/pull/6538
52a550b6aefa5652f17b7bbc9e056a83efa23c8a
de61d65af2fff9f129a3f3c4889328e104f7d2ad
2021-10-15T06:01:08Z
java
2021-10-15T12:27:24Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,529
["dolphinscheduler-task-plugin/dolphinscheduler-task-python/src/main/java/org/apache/dolphinscheduler/plugin/task/python/PythonCommandExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-python/src/main/java/org/apache/dolphinscheduler/plugin/task/python/PythonTask.java"]
[Bug] [Task] Failed to get environment variables when I used the python 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 I didn't get environment variables that is set in the file 'dolphinscheduler_env.sh" when I was running a python task. The Python script is as follows: ![image](https://user-images.githubusercontent.com/4928204/137266244-5b054db2-6658-4f09-beaf-40121ab281c4.png) But the result was not what I want. The detail information is as follows: ``` 2021-10-14 14:43:15.919 INFO 86302 --- [-Execute-Thread] o.a.d.p.t.python.PythonCommandExecutor : tenantCode :calvin, task dir:/tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50 2021-10-14 14:43:15.919 INFO 86302 --- [-Execute-Thread] o.a.d.p.t.python.PythonCommandExecutor : generate command file:/tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50/py_36_50.command 2021-10-14 14:43:15.919 INFO 86302 --- [-Execute-Thread] o.a.d.p.t.python.PythonCommandExecutor : #-*- encoding=utf8 -*- import os import sys print("Python version:%s\n" %(sys.version)) print("HADOOP_HOME=%s\n" %(os.getenv('HADOOP_HOME'))) print("HADOOP_CONF_DIR=%s\n" %(os.getenv('HADOOP_CONF_DIR'))) print("SPARK_HOME1=%s\n" %(os.getenv('SPARK_HOME1'))) print("SPARK_HOME2=%s\n" %(os.getenv('SPARK_HOME2'))) print("PYTHON_HOME=%s\n" %(os.getenv('PYTHON_HOME'))) print("JAVA_HOME=%s\n" %(os.getenv('JAVA_HOME'))) print("HIVE_HOME=%s\n" %(os.getenv('HIVE_HOME'))) print("FLINK_HOME=%s\n" %(os.getenv('FLINK_HOME'))) print("JAVA_HOME=%s\n" %(os.getenv('JAVA_HOME'))) print("DATAX_HOME=%s\n" %(os.getenv('DATAX_HOME'))) print("PATH=%s\n" %(os.getenv('PATH'))) 2021-10-14 14:43:15.926 INFO 86302 --- [-Execute-Thread] [taskAppId=TASK-806053553881088_2-36-50] : task run command: sudo -u calvin python /tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50/py_36_50.command 2021-10-14 14:43:15.930 INFO 86302 --- [-Execute-Thread] [taskAppId=TASK-806053553881088_2-36-50] : process start, process id is: 86802 2021-10-14 14:43:16.297 INFO 86302 --- [-Execute-Thread] [taskAppId=TASK-806053553881088_2-36-50] : process has exited, execute path:/tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50, processId:86802 ,exitStatusCode:0 ,processWaitForStatus:true ,processExitValue:0 2021-10-14 14:43:16.298 INFO 86302 --- [-Execute-Thread] o.a.d.s.worker.runner.TaskExecuteThread : task instance id : 50,task final status : SUCCESS 2021-10-14 14:43:16.298 INFO 86302 --- [-Execute-Thread] o.a.d.s.worker.runner.TaskExecuteThread : develop mode is: false 2021-10-14 14:43:16.301 INFO 86302 --- [-Execute-Thread] o.a.d.s.worker.runner.TaskExecuteThread : exec local path: /tmp/dolphinscheduler/exec/process/723800319311872/806053553881088_2/36/50 cleared. 2021-10-14 14:43:16.931 INFO 86302 --- [skLogInfo-36_50] [taskAppId=TASK-806053553881088_2-36-50] : -> welcome to use bigdata scheduling system... Python version:2.7.16 (default, Jun 18 2021, 03:23:53) [GCC Apple LLVM 12.0.5 (clang-1205.0.19.59.6) [+internal-os, ptrauth-isa=deploy HADOOP_HOME=None HADOOP_CONF_DIR=None SPARK_HOME1=None SPARK_HOME2=None PYTHON_HOME=None JAVA_HOME=None HIVE_HOME=None FLINK_HOME=None JAVA_HOME=None DATAX_HOME=None PATH=/usr/local/Cellar/pyenv/1.2.16/libexec:/usr/local/Cellar/pyenv/1.2.16/libexec:/usr/local/opt/nvm/versions/node/v12.4.0/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/calvin/.pyenv/shims:/usr/local/bin:/usr/local/cuda/bin:/Users/calvin/opt/hadoop-2.6.5/bin:/Users/calvin/redis-4.0.8/src:/Users/calvin/btrace/bin:/Library/java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/bin:/usr/local/opt/maven3/bin:/Users/calvin/phantomjs-2.1.1/bin:/Users/calvin/sysdir/apache-flume-1.7.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/opt/apache-tinkerpop-gremlin-console-3.4.3/bin:/usr/local/Cellar/postgresql@10/10.11/bin:/usr/local/sbin:/opt/gradle/gradle-7.2/bin:/opt/javacc-javacc-7.0.10/scripts 2021-10-14 14:43:16.931 INFO 86302 --- [skLogInfo-36_50] [taskAppId=TASK-806053553881088_2-36-50] : FINALIZE_SESSION ``` ### What you expected to happen I expect that I can get environment variables in the python script. ### How to reproduce 1. First you can create a python task and set the script content as follows: ``` import os import sys print("Python version:%s\n" %(sys.version)) print("HADOOP_HOME=%s\n" %(os.getenv('HADOOP_HOME'))) print("HADOOP_CONF_DIR=%s\n" %(os.getenv('HADOOP_CONF_DIR'))) print("SPARK_HOME1=%s\n" %(os.getenv('SPARK_HOME1'))) print("SPARK_HOME2=%s\n" %(os.getenv('SPARK_HOME2'))) print("PYTHON_HOME=%s\n" %(os.getenv('PYTHON_HOME'))) print("JAVA_HOME=%s\n" %(os.getenv('JAVA_HOME'))) print("HIVE_HOME=%s\n" %(os.getenv('HIVE_HOME'))) print("FLINK_HOME=%s\n" %(os.getenv('FLINK_HOME'))) print("JAVA_HOME=%s\n" %(os.getenv('JAVA_HOME'))) print("DATAX_HOME=%s\n" %(os.getenv('DATAX_HOME'))) print("PATH=%s\n" %(os.getenv('PATH'))) ``` 2. And then You save it and run this task manually. 3. Finally you will see the result without environment variables in the 'dolphinscheduler_env.sh'; ### Anything else _No response_ ### 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/6529
https://github.com/apache/dolphinscheduler/pull/6531
4d0869fcc085f7b4d8af2182bb8b16b70ff6482c
8200bc14526364fa1908b1df82befc984b0419aa
2021-10-14T07:01:47Z
java
2021-10-18T09:33:16Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,523
["dolphinscheduler-ui/src/js/conf/home/store/security/actions.js"]
[Bug] [API] Failed to authorize resource
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Failed to authorize resource ### What you expected to happen Failed to authorize resource ### How to reproduce authorize resource report 'authorize-resource-tree' failed ### Anything else _No response_ ### 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/6523
https://github.com/apache/dolphinscheduler/pull/6524
50f1766903f27ce0960e133b30cf394187e8c5c1
8606cbd493eba950d3e5b95d8c8f891e669a48e8
2021-10-13T15:33:27Z
java
2021-10-13T16:31:23Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,514
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/pom.xml", "pom.xml"]
[Bug] [Task] Task load class fail
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ![image](https://user-images.githubusercontent.com/16631152/136983008-88168ba2-8c03-40ee-a246-b7dae3bfd4fc.png) ### What you expected to happen normal run ### How to reproduce run ShellCommandExecutor and When Use Commons-Lang Class ### Anything else no ### 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/6514
https://github.com/apache/dolphinscheduler/pull/6513
a80fca70f7f325aad8eda2fdc1fe64b2a7d2f04f
bddf3e6f2c811c3ae6623bb588414173f0132c57
2021-10-12T15:16:03Z
java
2021-10-13T02:30:49Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,505
["ambari_plugin/common-services/DOLPHIN/1.3.0/package/scripts/params.py", "ambari_plugin/common-services/DOLPHIN/1.3.3/package/scripts/params.py", "docker/docker-swarm/config.env.sh", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/DataSourceServiceTest.java", "dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/datasource/mysql/MysqlDatasourceProcessor.java", "dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache/dolphinscheduler/plugin/datasource/api/datasource/mysql/MysqlDatasourceProcessorTest.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/task/TaskConstants.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/utils/Constants.java"]
[Feature][Dao] Upgrade com.mysql.jdbc.Driver
### 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 Since we have upgraded the mysql connector to 8.0.15 #6484, it's necessary to use `com.mysql.cj.jdbc.Driver` the `com.mysql.jdbc.Driver` has been deprecated. Also note if we need to modify the current connection parameters, e.g. `useSSL=false` ### 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/6505
https://github.com/apache/dolphinscheduler/pull/6708
653eae24195957b01d1a911aada020372d1742e6
861aaaf9712ec7141417a270710a7941438245d9
2021-10-12T06:49:53Z
java
2021-11-18T00:39:11Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,497
["dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/task/request/TaskRequest.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/ShellCommandExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-python/src/main/java/org/apache/dolphinscheduler/plugin/task/python/PythonCommandExecutor.java"]
[Bug] [Task] Shell task can not use user defined environment correctly
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened branch:dev When submitting a Shell task, the task cannot correctly obtain and set user-defined environment variables ### What you expected to happen Shell task could obtain user-defined when created and could wite the user-defined env config to the `command file` correctly ### How to reproduce * create a new env * create a task with the newly created env * execute the task * see task log, the env is not used correctly ### Anything else # How often does problem occur? always # Why this problem occur ? * When submit a task, the work obtain a `Command` from DB and get `TaskExecutionContext` from the command. * Then transform `TaskExecutionContext` to `TaskRequest`, TaskExecutionContext` contains a field named `environmentConfig` * to stored user-defined env, but `TaskRequest` **NOT** contains the field, so the user-defined env lost. * When a `ShellCommandExecutor` created, it only get the dolphinscheduler's system env file and execute `source` command to set the env, but **DO NOT** set the user-defined env. ### 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/6497
https://github.com/apache/dolphinscheduler/pull/6509
fea7874f95028325f52300949295260cafab4a64
a80fca70f7f325aad8eda2fdc1fe64b2a7d2f04f
2021-10-11T09:10:35Z
java
2021-10-12T09:47:04Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,486
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"]
[Bug] [UI] update process instance 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 branch: dev update process instance error: miss some required parameters. ![image](https://user-images.githubusercontent.com/29528966/136700807-74b9d1e9-516b-4a7b-a27a-a10cc48b965a.png) ![image](https://user-images.githubusercontent.com/29528966/136700821-f574ee8d-bf6e-4422-93e6-7465e9b2c429.png) ![image](https://user-images.githubusercontent.com/29528966/136700831-553a184d-5364-4111-ae70-a1f2c908e426.png) ### What you expected to happen update process instance normally. ### How to reproduce run a process definition. edit the process instance and 'save' process instance ### Anything else _No response_ ### 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/6486
https://github.com/apache/dolphinscheduler/pull/6487
7459ee2531beff236b1f15bd99f1c6f678153a57
eb21a1763e43ee5b1cb418a0835b0bf1d13e295e
2021-10-10T14:49:34Z
java
2021-10-10T15:18:07Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,483
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/datasource/SpringConnectionFactory.java", "pom.xml", "tools/dependencies/known-dependencies.txt"]
[Bug] [MasterServer] With MySQL 8.0, Druid make thread blocked to wait lock when load class
### 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 `"MasterEventExecution" #130 daemon prio=5 os_prio=0 tid=0x00007f3590024000 nid=0x355414 waiting for monitor entry [0x00007f35843fe000] java.lang.Thread.State: BLOCKED (on object monitor) at java.lang.ClassLoader.loadClass(ClassLoader.java:404) - waiting to lock <0x0000000740022240> (a java.lang.Object) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.alibaba.druid.util.Utils.loadClass(Utils.java:212) at com.alibaba.druid.util.MySqlUtils.getLastPacketReceivedTimeMs(MySqlUtils.java:372) at com.alibaba.druid.pool.DruidAbstractDataSource.testConnectionInternal(DruidAbstractDataSource.java:1471) at com.alibaba.druid.pool.DruidDataSource.recycle(DruidDataSource.java:1938) at com.alibaba.druid.pool.DruidPooledConnection.recycle(DruidPooledConnection.java:324) at com.alibaba.druid.pool.DruidPooledConnection.close(DruidPooledConnection.java:269) at org.springframework.jdbc.datasource.DataSourceUtils.doCloseConnection(DataSourceUtils.java:360) at org.springframework.jdbc.datasource.DataSourceUtils.doReleaseConnection(DataSourceUtils.java:347) at org.springframework.jdbc.datasource.DataSourceUtils.releaseConnection(DataSourceUtils.java:314) at org.mybatis.spring.transaction.SpringManagedTransaction.close(SpringManagedTransaction.java:115) at org.apache.ibatis.executor.BaseExecutor.close(BaseExecutor.java:90) at org.apache.ibatis.session.defaults.DefaultSqlSession.close(DefaultSqlSession.java:263) at org.mybatis.spring.SqlSessionUtils.closeSqlSession(SqlSessionUtils.java:195) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:448) at com.sun.proxy.$Proxy90.selectOne(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:159) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:89) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61) at com.sun.proxy.$Proxy95.selectById(Unknown Source) at org.apache.dolphinscheduler.service.process.ProcessService.findProcessInstanceById(ProcessService.java:379) at org.apache.dolphinscheduler.service.process.ProcessService$$FastClassBySpringCGLIB$$ed138739.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687) at org.apache.dolphinscheduler.service.process.ProcessService$$EnhancerBySpringCGLIB$$f0a248d9.findProcessInstanceById(<generated>) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.updateProcessInstanceState(WorkflowExecuteThread.java:1085) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:839) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskFinished(WorkflowExecuteThread.java:384) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskStateChangeHandler(WorkflowExecuteThread.java:353) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.stateEventHandler(WorkflowExecuteThread.java:302) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.handleEvents(WorkflowExecuteThread.java:250) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:231) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)` branch: dev database: mysql 8.0.21 The MasterServer jstack show that when druid load class, many threads is blocked to wait lock. I found that when I change durid config like that: `spring.datasource.testOnBorrow=false spring.datasource.testOnReturn=false` can solve this problem, but I think it's not the right way. See druid issue: https://github.com/alibaba/druid/issues/3808. Maybe we should upgrade the mysql connector version and druid version. ### What you expected to happen thread not blocked by druid when loadClass. ### How to reproduce run by complete data mode, and use jstack MasterServer ### Anything else _No response_ ### 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/6483
https://github.com/apache/dolphinscheduler/pull/6484
eb21a1763e43ee5b1cb418a0835b0bf1d13e295e
c8ee2df2164308a20bb9234ac719c03f4652f433
2021-10-10T07:54:04Z
java
2021-10-10T16:40:49Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,478
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ExecutorServiceTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/quartz/cron/CronUtils.java"]
[Bug] [API & SERVICE] Missing history data in complement data 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 1.I have an hourly workflow,the crontab is :"0 0 * * * ? *" 我有一个每小时运行的工作流,crontab 是 :"0 0 * * * ? *" 2. I want to add history data 我去补一个历史数据,数据范围是0点到3点59分 <img width="646" alt="aba7791b47ff5b28599a8f6885eeb52" src="https://user-images.githubusercontent.com/50513095/136656656-e0730af4-d6bc-4835-956a-4881a639230e.png"> 3.the history data of 2021-10-09 03:00:00 not works 03点的数据没有运行 ![image](https://user-images.githubusercontent.com/50513095/136656707-89cbc19e-e022-4f3c-b1e5-c62c8a14ea7d.png) ### What you expected to happen I want the data of 2021-10-09 03:00:00 is works 我想要3点的数据执行 ### How to reproduce <img width="646" alt="fd5559070e8152804b241e41a2938b3" src="https://user-images.githubusercontent.com/50513095/136656799-6a19fe41-300e-4ea1-b27b-a680233a76a6.png"> ### Anything else _No response_ ### 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/6478
https://github.com/apache/dolphinscheduler/pull/6491
e091801e05c8e9243ec96f76a2e7cc1f1f5cecab
88690462b4b93f8df01ba1952374cdf00c02eda5
2021-10-09T11:53:38Z
java
2021-10-11T12:03:25Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,474
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Improvement] [MasterServer] schedule time for process instance optimization
### 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 branch: dev When I use arthas to trace methods by complete data mode, I found that ProcessService.constructProcessInstance is slow because three point: - getScheduleTime, which seems like to handle in api is better; - complete data type handle, delete all the valid tasks when complement data; - initComplementDataParam, the schedule time again; ### What you expected to happen construct process instance is more quickly without needless DB operation; ### How to reproduce use arthas to trace ProcessService.constructProcessInstance ### Anything else _No response_ ### 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/6474
https://github.com/apache/dolphinscheduler/pull/6477
ea493534df7b924220c9c1e7f6529f548d3912c9
e091801e05c8e9243ec96f76a2e7cc1f1f5cecab
2021-10-09T09:23:27Z
java
2021-10-11T07:13:38Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,472
["dolphinscheduler-dist/src/main/provisio/dolphinscheduler.xml"]
[Bug] [Task] The dist generated package is missing some task plugins
### 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 dist generated package is missing some task plugins,such as mr, sqoop, etc. ### What you expected to happen The dist module generation package contains all task plugins. ### How to reproduce The dist module configuration generates missing task plugins. ### Anything else _No response_ ### 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/6472
https://github.com/apache/dolphinscheduler/pull/6473
59daf3c837c4f9ef99d0f67044cd8129ee30a547
7459ee2531beff236b1f15bd99f1c6f678153a57
2021-10-09T07:23:03Z
java
2021-10-09T13:35:28Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,471
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Feature][Master] Cache Process definition in master
### 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 order to reduce the db query times, cache process definitions in master. procesDefinitionCacheMaps: {key: code-version, value: processDefintion} ### 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/6471
https://github.com/apache/dolphinscheduler/pull/6511
bddf3e6f2c811c3ae6623bb588414173f0132c57
cea8ae69916039b55e84482b5c0703f3c62ef9c5
2021-10-09T06:08:19Z
java
2021-10-13T03:36:27Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,467
[".github/workflows/stale.yml"]
[Feature][CI] Add stale bot for issues and PR
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Add stale bot for issues and PR, which for issues and PR has not recent activity for a long time, allow bot to automatically mark issues and PRs as stale or event close them. It could reduce maintenance time for our community ### Use case Automatically mark issues and PRs as stale or event close them ### 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/6467
https://github.com/apache/dolphinscheduler/pull/6468
cbeedba3e2cfdf80553da0d798fc71aaa448c6e0
03aaef0fe6548e828144e6e5ac8ceb8bd6b650ad
2021-10-08T14:30:58Z
java
2021-10-28T05:43:02Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,461
["sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql"]
[Bug] [SQL] sql script upgrade 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 Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE t_ds_task_definition drop INDEX `task_unique`; END IF; END' at line 1 ### What you expected to happen sql script ### How to reproduce sql script upgrade ### Anything else _No response_ ### 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/6461
https://github.com/apache/dolphinscheduler/pull/6462
b642e9ca546d8ea21bbd9f193ff6ff9729037f75
28004c3b05d4644cce2b649e45ae35ef7c19d2d5
2021-10-08T09:44:27Z
java
2021-10-22T02:30:52Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,459
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/quartz/cron/CronUtils.java"]
[Bug] [Master] Complemente data 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 complement data error when start_date=end_date ### What you expected to happen complement the start_date when start_date = end_date ### How to reproduce complement data error when start_date=end_date ### Anything else _No response_ ### 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/6459
https://github.com/apache/dolphinscheduler/pull/6460
a8baa9553fd64d1414c204c6ba95019b7376f771
a502e643bcf9a321385485dd98e7e95056ed5eae
2021-10-08T07:58:42Z
java
2021-10-08T08:56:33Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,455
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/processor/StateEventProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/task/CommonTaskProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/task/SubTaskProcessor.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Bug] [Master] Cannot stop sub process 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 cannot stop the sub process tasks. ### What you expected to happen stop the tasks normally ### How to reproduce start a process. kill the process ### Anything else _No response_ ### 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/6455
https://github.com/apache/dolphinscheduler/pull/6458
4d69685ba1f9ecc8595dffc13194ec902531ed51
a8baa9553fd64d1414c204c6ba95019b7376f771
2021-10-08T02:35:44Z
java
2021-10-08T06:08:12Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,445
["dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java"]
[Improvement][Standalone] Run h2 in daemon mode
### 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 standalone, we use h2 as the database. If the creation table sql is wrong, it will throw an exception, but the server will keep running. It's better to stop. ### 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/6445
https://github.com/apache/dolphinscheduler/pull/6446
4fbee7dc4b178b13c4a795fa848a86ec94c5cd27
6529f92883dfd62cdc7241acba8cb16e4fa60a36
2021-10-04T02:00:47Z
java
2021-10-06T02:15:36Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,438
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/builder/TaskExecutionContextBuilder.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/runner/TaskExecuteThread.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/queue/entity/TaskExecutionContext.java"]
[Improvement][Worker] remove meaningless DB query
### 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 meaningless DB query org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread In the process of task kill, it will query the DB to obtain the task instance object, but this judgment does not make any sense. In fact, the relevant context is already clear, so there is no need to query from DB. ### 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/6438
https://github.com/apache/dolphinscheduler/pull/6440
d284e44d52f75bd6c5f5756d9b7ae4a5af24fadc
ea2a8d26a0d42683309b8bda9ef24f4daaab266b
2021-10-01T17:01:38Z
java
2021-10-02T05:09:00Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,431
[".github/mergeable.yml"]
[Feature][dev] Make sure to synchronize change for sql file
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description When developer change sql files in https://github.com/apache/dolphinscheduler/tree/dev/sql, sometime they would forgot change `H2` sql file. Standalone server could not start when this happen. Maybe we should * (better) Add bot ensure those file change synchronize * Add check list when contributor create PR in [PR template][1] [1]: https://github.com/apache/dolphinscheduler/blob/dev/.github/PULL_REQUEST_TEMPLATE.md ### 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/6431
https://github.com/apache/dolphinscheduler/pull/6465
28f871e58b10262788275d74ba1c8bdc31ad6708
98f466e09e2260e247ba1aed3c80a2fcc81fc817
2021-09-30T10:04:01Z
java
2021-11-10T06:50:05Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,428
["style/intellij-java-code-style.xml"]
[Bug] [dev] Code style different between review dog and Intellij configure
### 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 Following the [submit guide][1], I run formatter by using `Ctrl+L` in Intellij and push to upsteam, the commit is https://github.com/apache/dolphinscheduler/pull/6269/commits/bb9f050fdf87c91f1dfe8ad6d9e91f3875475abe, but it failed in our reviewdog CI, see [ci run][2]. It means that our auto formatter and reviewdog checker have different rule. what reivewdog accept format is ```java @ComponentScan(value = "org.apache.dolphinscheduler", excludeFilters = { @ComponentScan.Filter(type = FilterType.REGEX, pattern = { "org.apache.dolphinscheduler.server.master.*", "org.apache.dolphinscheduler.server.worker.*", "org.apache.dolphinscheduler.server.monitor.*", "org.apache.dolphinscheduler.server.log.*" }) }) ``` but our auto formatter is ```java @ComponentScan(value = "org.apache.dolphinscheduler", excludeFilters = { @ComponentScan.Filter(type = FilterType.REGEX, pattern = { "org.apache.dolphinscheduler.server.master.*", "org.apache.dolphinscheduler.server.worker.*", "org.apache.dolphinscheduler.server.monitor.*", "org.apache.dolphinscheduler.server.log.*" }) }) ``` [1]: https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html [2]: https://github.com/apache/dolphinscheduler/actions/runs/1287112918 ### What you expected to happen Auto formatter and reviewdog should in the same rule ### How to reproduce Create new java code contain `@ComponentScan(value = "org.apache.dolphinscheduler"` and create new PR ### Anything else _No response_ ### 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/6428
https://github.com/apache/dolphinscheduler/pull/6432
a502e643bcf9a321385485dd98e7e95056ed5eae
a3119330b70ffed8fe01da0776a14678db52b9fb
2021-09-30T07:50:58Z
java
2021-10-08T16:29:13Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,424
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/config.js", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue"]
[Feature][UI] sort the task plugin order.
### 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 sort the task plugin order: move the waterdrop to the end. ### 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/6424
https://github.com/apache/dolphinscheduler/pull/6425
a9d805d79117047e571deeb52fbf96531c19674b
9c07c7d7ed3bf9387b2e9986a56be560595018a1
2021-09-30T03:24:33Z
java
2021-09-30T10:23:42Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,412
["dolphinscheduler-task-plugin/dolphinscheduler-task-api/pom.xml"]
[BUG][Task-API]load codec class fail
### 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 codec-related classes, the NoClassDefFoundError is caused due to the exclusion of related packages ERROR] 2021-09-29 12:18:56.119 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[216] - task scheduler failure java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64 at org.apache.dolphinscheduler.plugin.task.datasource.PasswordUtils.<clinit>(PasswordUtils.java:38) at org.apache.dolphinscheduler.plugin.task.datasource.mysql.MysqlDatasourceProcessor.getConnection(MysqlDatasourceProcessor.java:126) at org.apache.dolphinscheduler.plugin.task.datasource.DatasourceUtil.getConnection(DatasourceUtil.java:59) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:181) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.handle(SqlTask.java:152) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:202) 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:748) Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base64 at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at org.apache.dolphinscheduler.spi.plugin.DolphinPluginClassLoader.loadClass(DolphinPluginClassLoader.java:81) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 11 common frames omitted ### What you expected to happen normal run ### How to reproduce Run a SQL task. The data source uses MySql or others that require a password encoder. ### Anything else _No response_ ### 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/6412
https://github.com/apache/dolphinscheduler/pull/6411
ea6503b99742ab72d99527edb3abdad398bee83e
1843e986f5af15e92f80fa756cfe229dcc2b8c1e
2021-09-29T06:36:45Z
java
2021-09-29T08:03:06Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,408
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ResourcesServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/ResourceMapperTest.java"]
[Feature][API] the private function 'checkResourceExists' should remove the userId condition
### 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 private function 'checkResourceExists' should remove the userId condition; If we want to check the resouce exists or not, we should not user the userId condition. Because the resource was created by user, it's userId was the user who created it. If we user the userID '0', It won't take effect. ### 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/6408
https://github.com/apache/dolphinscheduler/pull/6409
86c85114b23317b9f791e091101fa6289e9d6b7c
3a8b80971ba4b23b8e919ad04e074bd273c40c9a
2021-09-29T04:44:58Z
java
2021-10-31T13:26:48Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,367
["dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java"]
[Bug] [Plugin TIS] Misuseing PowerMockito.spy lead to UT faild
### 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 Plugin TIS TestCase , by misuseing PowerMockito.spy lead to UT faild [https://github.com/apache/dolphinscheduler/pull/6363/checks](https://github.com/apache/dolphinscheduler/pull/6363/checks) ``` Error: Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.786 s <<< FAILURE! - in org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest Error: testInit(org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest) Time elapsed: 0.531 s <<< ERROR! java.lang.IllegalArgumentException: name argument cannot be null at org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest.before(TISTaskTest.java:71) Error: testGetTISConfigParams(org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest) Time elapsed: 0.001 s <<< ERROR! java.lang.IllegalArgumentException: name argument cannot be null at org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest.before(TISTaskTest.java:71) Error: testHandle(org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest) Time elapsed: 0.001 s <<< ERROR! java.lang.IllegalArgumentException: name argument cannot be null at org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest.before(TISTaskTest.java:71) ``` ### What you expected to happen make the UT pass ### How to reproduce for fix this bug ,shoud remote PowerMockito.spy() invoking ### Anything else _No response_ ### 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/6367
https://github.com/apache/dolphinscheduler/pull/6387
cdcbe84c8a1bb1e5286568f42d2eb2ff530dbe6a
a62a7a7216fe2021d1516b6d7370598123cced37
2021-09-27T03:24:56Z
java
2021-09-28T03:38:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,366
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java"]
[Bug] [API][service] checkResourceExists function use the magic number userId '0'
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened when the resource exactly exists,but the userId is not '0', the function will not take effect. ### What you expected to happen the resources should be operate by the loginUser, sow the userId should be the loginUser's id ### How to reproduce the resources should be operate by the loginUser, sow the userId should be the loginUser's id ### Anything else _No response_ ### 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/6366
https://github.com/apache/dolphinscheduler/pull/6368
545173faa31e477f9487e98611f1951cf43efa2b
7413b578410a53c4839920edfdf98ac89344b959
2021-09-27T02:48:04Z
java
2021-09-27T08:58:26Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,353
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java"]
[Bug] [Master] dispatch task to worker very slowly
### 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 branch: dev i find master dispatch tasks to worker slowly . mysql> select count(*),state from t_ds_task_instance group by state; +----------+-------+ | count(*) | state | +----------+-------+ | 15347 | 7 | | 12 | 1 | +----------+-------+ 2 rows in set (0.01 sec) mysql> select count(*),state from t_ds_process_instance group by state; +----------+-------+ | count(*) | state | +----------+-------+ | 892 | 7 | | 12109 | 1 | +----------+-------+ ### What you expected to happen Optimize the speed of dispatch task ### How to reproduce create a dag ![image](https://user-images.githubusercontent.com/29528966/134792830-967b6674-52c8-4241-a02e-c4c23b593904.png) schedule the dag '0 * * * * ? *' run the dag with 'complement data' you will find the process_instance count: 12109 but the task (state=1) number is 12 This phenomenon is not normal ### Anything else _No response_ ### 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/6353
https://github.com/apache/dolphinscheduler/pull/6375
b2a2fbda1d25c4eb18cf58ceb6d062b74855cedd
67094d0f7f1803e263e73a0164ecbbd829c57129
2021-09-26T03:49:00Z
java
2021-09-27T11:31:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,352
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"]
[Bug] [ApiServer] override the old process definition when I use the copy workflow feature
### 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 branch: dev When I try to copy workflow form process definition `python001`, it doesn't create a new process definition but update the old one with name like `python001_copy_20210926112401233`. ### What you expected to happen create a new process definition instead of an override. ### How to reproduce just create a process definition and copy it. ### Anything else _No response_ ### 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/6352
https://github.com/apache/dolphinscheduler/pull/6357
58eb20a11b7b47c53960f211f83549582fd53072
c56daede2f9812e88b2ea4a5f5ab4436782b171c
2021-09-26T03:43:30Z
java
2021-09-26T08:36:54Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,347
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerService.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Bug] [Master] the first schedule_time is error in complement data
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened schedule_time is set error: command_param: {"complementEndDate":"2021-09-21 00:26:00","complementStartDate":"2021-09-21 00:24:00"} schedule_time: 2021-09-21 00:24:00 cron: 0 * * * * ? * ### What you expected to happen the schedule_time is set OK. schedule_time: 2021-09-21 00:25:00 ### How to reproduce complement data cron : 0 * * * * ? * complement data some date, you would find some errors in schedule_time. ### Anything else _No response_ ### 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/6347
https://github.com/apache/dolphinscheduler/pull/6351
b71f6aea7af899da41bd958caa30d68d89a9aec4
20a3741b249b871ffdf975de111244e6c68f3f07
2021-09-25T08:58:23Z
java
2021-09-26T03:55:57Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,336
["dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapperTest.java"]
[Bug] [UT] UT failed in DAO module
### 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 run the UT in `TaskInstanceMapperTest`, it failed. The `process_definition_code` is null. ```java ### SQL: INSERT INTO t_ds_process_instance ( warning_group_id, timeout, executor_id, max_try_times, tenant_id, command_param, run_times, process_definition_version ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ? ) ### Cause: java.sql.SQLException: Field 'process_definition_code' doesn't have a default value ; Field 'process_definition_code' doesn't have a default value; nested exception is java.sql.SQLException: Field 'process_definition_code' doesn't have a default value ``` ### What you expected to happen UT execute success. ### How to reproduce Execute TaskInstanceMapperTest. ### Anything else _No response_ ### 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/6336
https://github.com/apache/dolphinscheduler/pull/6435
ea2a8d26a0d42683309b8bda9ef24f4daaab266b
4fbee7dc4b178b13c4a795fa848a86ec94c5cd27
2021-09-24T10:36:04Z
java
2021-10-03T15:25:06Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,323
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/EventExecuteService.java"]
[Bug] [MasterServer] make CPU 100% even without 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 branch: dev master-server make CPU high even without task. because EventExecuteService run loop without sleep. ### What you expected to happen low CPU usage when idle ### How to reproduce run master-server and observe CPU usage. ### Anything else _No response_ ### 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/6323
https://github.com/apache/dolphinscheduler/pull/6324
c3324cc101b39eb789cccd9dee7e3cc5aae8722b
89cc045961477168ac8ff74c5d6604b606214775
2021-09-24T02:13:49Z
java
2021-09-24T08:19:02Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,320
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"]
[Bug] [API] batch delete process definition bug
### 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 batch delete process definition fail ### What you expected to happen batch delete process definition success ### How to reproduce batch delete process definition ### Anything else _No response_ ### 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/6320
https://github.com/apache/dolphinscheduler/pull/6321
c4375a54c167f8e96d80c3cc67ad0a607ba2ef7b
99f593cf42d6abd4312c74511f60ac8a2eeafb25
2021-09-23T12:44:06Z
java
2021-09-23T14:43:15Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,306
["dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/task/TaskConstants.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractTaskExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/util/LoggerUtils.java"]
[Bug] [Worker] task log path generated 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 task log path generated error. ### What you expected to happen task log-path in db is different with worker. ### How to reproduce run a process definition. you will find the shell-task's log-path in db is different with the worker. worker log-path: logs/definition_id/instance_id/task_instance_id.log db-path: /logs/definition_code/instance_code/task_instance_id.log ### Anything else _No response_ ### 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/6306
https://github.com/apache/dolphinscheduler/pull/6311
0b53adeb07df72a9b888566092642a77dfccf65d
163a0696a4ee71a44e02054caef9b78387a9e3b2
2021-09-23T06:09:23Z
java
2021-09-23T08:51:58Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,302
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process/ProcessServiceTest.java"]
[Bug] [API] Add a new task to an existing workflow, and the task is lost
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened Add a new task to an existing workflow, and the task is lost ### What you expected to happen Tasks are added normally ### How to reproduce Update process definition, then add task ### Anything else _No response_ ### 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/6302
https://github.com/apache/dolphinscheduler/pull/6307
b8ed7e6f2d38aefdf4902253416c91e2cc02f8eb
0b53adeb07df72a9b888566092642a77dfccf65d
2021-09-23T02:56:34Z
java
2021-09-23T07:06:49Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,301
["dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"]
[Bug] [UI] The task instance successfully enforces the failed task and reports an 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 ![image](https://user-images.githubusercontent.com/42576980/134448048-bc16a578-e513-437d-b15e-756379dfcb04.png) ### What you expected to happen Forced success will succeed ### How to reproduce Force successful operation for failed tasks ### Anything else _No response_ ### 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/6301
https://github.com/apache/dolphinscheduler/pull/6305
91150628385bbac709d7e0030ae042e5e0cc396b
b8ed7e6f2d38aefdf4902253416c91e2cc02f8eb
2021-09-23T02:53:07Z
java
2021-09-23T06:26:15Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,298
["dolphinscheduler-server/src/main/resources/config/install_config.conf", "install.sh"]
[Bug] [Server] Task plugin dir should be included in install and config file
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened If we followed the doc to deploy cluster, we will find the worker cannot find the task plugin because the task plugin dir is empty by default ### What you expected to happen Related info should be added in the install file ### How to reproduce just follow the doc to deploy a cluster DS ### Anything else _No response_ ### 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/6298
https://github.com/apache/dolphinscheduler/pull/6299
f5dde9fb5e59adf61e6283951c99569ff35d4141
d184ebda1e7fff1250858386debb7a2a0435bb78
2021-09-23T01:55:42Z
java
2021-09-29T03:36:51Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,292
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/process/ResourceInfo.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process/ProcessServiceTest.java"]
[Bug] [Task] Spark task execute failed due to 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 branch: dev when execute spark task, a NullPointerException occurs due to `mainJar ` has no `resourceName` field. it is because the master only saves `resourceId` of `mainJar` in the database, when the worker fetch task data from database, it does not query resource information, so the `mainJar ` field of `SparkParameters` is like this: ```json {"id": 1} ``` `res` and `resourceName` are lost, and became `null` value in the object. this causes NPE when execute `mainJar.getResourceName()` method ### What you expected to happen spark task execute successfully ### How to reproduce create a new spark task, and run it ### Anything else _No response_ ### 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/6292
https://github.com/apache/dolphinscheduler/pull/6295
35312fd498bf5f2059b0e77b68f557c388870310
c4375a54c167f8e96d80c3cc67ad0a607ba2ef7b
2021-09-22T12:03:42Z
java
2021-09-23T14:23:17Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,286
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessTaskRelationLogMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessTaskRelationLogMapper.xml"]
[Bug] [API] Delete processDefinitionVersion bug
### 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 deleting the workflow version, the workflow relationship of the corresponding version should be deleted. Only this version of the workflow will now be deleted. ### What you expected to happen When deleting the workflow version, the workflow relationship of the corresponding version will be deleted. ### How to reproduce Operate deleteProcessDefinitionVersion ### Anything else _No response_ ### 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/6286
https://github.com/apache/dolphinscheduler/pull/6287
51e27bb4b64e8270d135dad7fd277124a43761c8
8980b7027a30f75445882280e5872b49985a5188
2021-09-21T07:16:14Z
java
2021-09-21T14:35:50Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,284
["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/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TaskDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessInstanceServiceTest.java"]
[Bug] [API] Api transaction 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 Api transaction does not take effect, such as processDefiniton create/update api ### What you expected to happen Transaction operations should work ### How to reproduce The second step-in table operation failed. The first step-in table operation will not be rolled back ### Anything else _No response_ ### 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/6284
https://github.com/apache/dolphinscheduler/pull/6288
7e8febed4de0c27f67bf67811d2314762dce2733
d7160874e4f086fafff8675123cb8de7f46cffc1
2021-09-21T04:24:18Z
java
2021-09-22T12:38:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,279
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java"]
[Bug] [Master] Parallel tasks would be Irregularly submitted twice
### 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 parallels tasks in one DAG, run the dag, the tasks would be Irregularly submitted twice. ### What you expected to happen tasks in one DAG should be submitted once. ### How to reproduce 10 parallel tasks in one DAG. run the DAG, find the tasks submit history, you would find some tasks are submitted twice. ### Anything else _No response_ ### 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/6279
https://github.com/apache/dolphinscheduler/pull/6280
7098855ee0f004b2d291a33f2740ca36edd64dbf
b71967b017f0d4c50f5837a3173ba0f35bf2c077
2021-09-20T04:24:39Z
java
2021-09-21T04:04:31Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,277
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Bug] [Master] tasks submit time 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 branch : dev 10 parallel processing tasks in one DAG, run the DAG, you would find the task's submit-time interval is 5 seconds. ### What you expected to happen the parallel processing tasks submit-time should be the same. ### How to reproduce 10 parallel processing tasks in one DAG. run the dag check the submit-time of the tasks. ### Anything else _No response_ ### 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/6277
https://github.com/apache/dolphinscheduler/pull/6278
540fd9dc0844a4e44dc5485d6001eb0dd18c8257
649723132bc8276ef221c37e7014c0cf6772be60
2021-09-20T04:03:32Z
java
2021-09-20T06:57:53Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,245
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionLogMapper.xml"]
[Bug] [API] TaskDefinitionLog save error when creating a workflow
### 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 ## branch: dev ### when i want to create a workflow, i click the save button, but the back-end reported an exception: ```text 2021-09-17 15:23:01.231 ERROR 57816 --- [tp1516958404-78] o.a.d.a.exceptions.ApiExceptionHandler : 创建工作流错误 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'taskDefinition' not found. Available parameters are [taskDefinitionLogs, param1] at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:78) ~[mybatis-spring-2.0.2.jar:2.0.2] at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440) ~[mybatis-spring-2.0.2.jar:2.0.2] at com.sun.proxy.$Proxy10.insert(Unknown Source) ~[na:na] at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:271) ~[mybatis-spring-2.0.2.jar:2.0.2] at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:58) ~[mybatis-plus-core-3.2.0.jar:3.2.0] at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61) ~[mybatis-plus-core-3.2.0.jar:3.2.0] at com.sun.proxy.$Proxy133.batchInsert(Unknown Source) ~[na:na] at org.apache.dolphinscheduler.service.process.ProcessService.saveTaskDefine(ProcessService.java:2205) ~[classes/:na] at org.apache.dolphinscheduler.service.process.ProcessService$$FastClassBySpringCGLIB$$ed138739.invoke(<generated>) ~[classes/:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.apache.dolphinscheduler.service.process.ProcessService$$EnhancerBySpringCGLIB$$29c15cf5.saveTaskDefine(<generated>) ~[classes/:na] at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.createTaskDefinition(ProcessDefinitionServiceImpl.java:249) ~[classes/:na] at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.createProcessDefinition(ProcessDefinitionServiceImpl.java:199) ~[classes/:na] at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl$$FastClassBySpringCGLIB$$e8e34ed9.invoke(<generated>) ~[classes/:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) ~[spring-tx-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl$$EnhancerBySpringCGLIB$$9efa77d5.createProcessDefinition(<generated>) ~[classes/:na] at org.apache.dolphinscheduler.api.controller.ProcessDefinitionController.createProcessDefinition(ProcessDefinitionController.java:130) ~[classes/:na] at org.apache.dolphinscheduler.api.controller.ProcessDefinitionController$$FastClassBySpringCGLIB$$dc9bf5db.invoke(<generated>) ~[classes/:na] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.apache.dolphinscheduler.api.aspect.AccessLogAspect.doAround(AccessLogAspect.java:87) ~[classes/:na] at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_292] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_292] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) ~[spring-aop-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.apache.dolphinscheduler.api.controller.ProcessDefinitionController$$EnhancerBySpringCGLIB$$e38856c1.createProcessDefinition(<generated>) ~[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_292] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_292] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_292] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_292] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) ~[spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) ~[spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) ~[spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.1.19.RELEASE.jar:5.1.19.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84) [swagger-bootstrap-ui-1.9.3.jar:na] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53) [swagger-bootstrap-ui-1.9.3.jar:na] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:97) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.1.19.RELEASE.jar:5.1.19.RELEASE] at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) [jetty-security-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) [jetty-servlet-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:766) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.Server.handle(Server.java:516) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) [jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) ~[jetty-server-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) ~[jetty-io-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[jetty-io-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~[jetty-io-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) ~[jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) ~[jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) ~[jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) ~[jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) ~[jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) ~[jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020] at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) ~[jetty-util-9.4.33.v20201020.jar:9.4.33.v20201020] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_292] Caused by: org.apache.ibatis.binding.BindingException: Parameter 'taskDefinition' not found. Available parameters are [taskDefinitionLogs, param1] at org.apache.ibatis.binding.MapperMethod$ParamMap.get(MapperMethod.java:212) ~[mybatis-3.5.2.jar:3.5.2] at org.apache.ibatis.reflection.wrapper.MapWrapper.get(MapWrapper.java:45) ~[mybatis-3.5.2.jar:3.5.2] at org.apache.ibatis.reflection.MetaObject.getValue(MetaObject.java:122) ~[mybatis-3.5.2.jar:3.5.2] at org.apache.ibatis.reflection.MetaObject.metaObjectForProperty(MetaObject.java:145) ~[mybatis-3.5.2.jar:3.5.2] at org.apache.ibatis.reflection.MetaObject.getValue(MetaObject.java:115) ~[mybatis-3.5.2.jar:3.5.2] at com.baomidou.mybatisplus.core.MybatisDefaultParameterHandler.setParameters(MybatisDefaultParameterHandler.java:220) ~[mybatis-plus-core-3.2.0.jar:3.2.0] at org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:94) ~[mybatis-3.5.2.jar:3.5.2] at org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:64) ~[mybatis-3.5.2.jar:3.5.2] at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_292] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_292] at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) ~[mybatis-3.5.2.jar:3.5.2] at com.sun.proxy.$Proxy17.parameterize(Unknown Source) ~[na:na] at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.prepareStatement(MybatisSimpleExecutor.java:99) ~[mybatis-plus-core-3.2.0.jar:3.2.0] at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doUpdate(MybatisSimpleExecutor.java:53) ~[mybatis-plus-core-3.2.0.jar:3.2.0] at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.2.jar:3.5.2] at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197) ~[mybatis-3.5.2.jar:3.5.2] at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184) ~[mybatis-3.5.2.jar:3.5.2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_292] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_292] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_292] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_292] at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426) ~[mybatis-spring-2.0.2.jar:2.0.2] ... 116 common frames omitted ``` ### What you expected to happen Create workflow should success. ### How to reproduce 1. create a project 2. create a new workflow 3. add a node 4. save the workflow 5. the error occurs ### Anything else _No response_ ### 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/6245
https://github.com/apache/dolphinscheduler/pull/6246
fced3892ee20d64c3eafe187cbd94508ac339a98
58da46b1291aa8bd2b6e73b3455a09188f40e145
2021-09-17T07:25:01Z
java
2021-09-17T09:07:04Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,228
["dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/index.vue"]
[Bug] [ui] When I create a new queue in the yarn queue, clicking New queue again will echo the last newly created queue value
### 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 create a new queue in the yarn queue, clicking New queue again will echo the last newly created queue value ![image](https://user-images.githubusercontent.com/39329477/133537702-eef9347b-3398-4dce-ab3b-0803368b0e67.png) ### What you expected to happen Clicking New queue again will not echo the last new queue value ### How to reproduce Create a yarn queue twice in a row ### Anything else -- ### 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/6228
https://github.com/apache/dolphinscheduler/pull/6264
7a321505cfa622761941d0aa0f0e2b01893e7867
22277517c5a7f27bfa57aff8eadc81dd963c588c
2021-09-16T02:09:48Z
java
2021-09-22T03:06:15Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,219
["dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue"]
[Bug] [User] modify user's information and DS's page shows wrong information at the frond-end
### 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 branch:dev when I modify some users' information and ds's page shows wrong information at the frond-end which is strange . ### What you expected to happen the user admin who logs on don't change to other users when he modify some users' information ### How to reproduce 1、create two new users ![image](https://user-images.githubusercontent.com/39773194/133393258-c1549b4d-7161-4694-8e03-9e307b6a07f5.png) 2、modify the information of one of them ![image](https://user-images.githubusercontent.com/39773194/133393204-3644ddbd-9f17-4ca3-b7da-72299b701b8e.png) 3、click the Edit button and the problem goes on. ![image](https://user-images.githubusercontent.com/39773194/133393375-bd2a3308-5d58-4152-9189-3c2ff6d20c63.png) ### Anything else _No response_ ### 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/6219
https://github.com/apache/dolphinscheduler/pull/6341
67094d0f7f1803e263e73a0164ecbbd829c57129
cdcbe84c8a1bb1e5286568f42d2eb2ff530dbe6a
2021-09-15T08:07:00Z
java
2021-09-27T15:31:06Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,214
["sql/dolphinscheduler_h2.sql"]
[Bug] [Server] StandaloneServer can't save workflow correctly
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When use StandaloneServer, after creating a workflow in a project and click save button, the Web page show success information. but no workflow appears on the list. ### What you expected to happen Should show the workflow after we create and save it. the log is : ```text org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: Method queryTotal execution error of sql : SELECT COUNT(1) FROM t_ds_process_definition td LEFT JOIN (SELECT process_definition_code, release_state AS schedule_release_state FROM t_ds_schedules GROUP BY process_definition_code, release_state) sc ON sc.process_definition_code = td.code LEFT JOIN t_ds_user tu ON td.user_id = tu.id WHERE td.project_code = ? .... Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "process_definition_code" not found; SQL statement: CREATE FORCE VIEW ( SELECT "process_definition_code", "release_state" AS "schedule_release_state" FROM "public"."t_ds_schedules" GROUP BY "process_definition_code", "release_state" ) AS SELECT "process_definition_code", "release_state" AS "schedule_release_state" FROM "public"."t_ds_schedules" GROUP BY "process_definition_code", "release_state" [42122-200] ``` ### How to reproduce 1. Start StandaloneServer. 2. Login dolphinscheduler and create a project. 3. Create a workflow in the project we created right now. 4. Add some node in the workflow 5. Click save button to save the workflow 6. The web page show success message, but exception appears in the IDE. ### Anything else _No response_ ### 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/6214
https://github.com/apache/dolphinscheduler/pull/6215
6aafa81affca5fcab05c94cbcc94738c5f271e6b
a1e447d39969362b5b380b6b802ce47d961bde51
2021-09-15T02:39:04Z
java
2021-09-16T13:18:03Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,208
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/model/TaskNode.java"]
[Bug] [Master] json parse error in sub process
### 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 branch : dev running a sub process, json parse error in sub process ![image](https://user-images.githubusercontent.com/29528966/133248693-467afe92-1310-441d-b929-2bc4b25810b7.png) ### What you expected to happen sub process run successfully. ### How to reproduce run a sub process. ### Anything else _No response_ ### 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/6208
https://github.com/apache/dolphinscheduler/pull/6211
ac943bca6a3146ea23bdbfe85a09eac68da73945
8694b9c8f989eb5c6b0792e5901cba2a207cdcf0
2021-09-14T11:24:11Z
java
2021-09-15T02:29:26Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,194
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Bug] [Server] Master build dag 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 Perform multi version tasks ![image](https://user-images.githubusercontent.com/42576980/133109069-2b465273-4ebb-4f83-b9b4-ae0f8bce473d.png) ### What you expected to happen Normal execution ### How to reproduce Perform multi version tasks ### Anything else _No response_ ### 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/6194
https://github.com/apache/dolphinscheduler/pull/6195
7029062f4c2f247e9eac333e28e36e66b03fb435
71e2c8808b3a0871619af4968dfaaa423a90b4c6
2021-09-13T15:09:21Z
java
2021-09-14T03:46:47Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,170
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/store/projects/actions.js"]
[Bug] [UI] Delete project 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 Delete project error ### What you expected to happen Delete workflow normally ### How to reproduce ![Snipaste_2021-09-11_13-08-08](https://user-images.githubusercontent.com/56899730/132937088-0fd626c4-c6f6-42bb-8661-d334b3dfe70f.PNG) ### Anything else -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/6170
https://github.com/apache/dolphinscheduler/pull/6174
5dcfad98492c3e0f2e9f53381428de3d15d60c67
b71f6aea7af899da41bd958caa30d68d89a9aec4
2021-09-11T05:17:36Z
java
2021-09-25T03:58:48Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,166
["dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/task/AbstractTask.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java", "dolphinscheduler-task-plugin/dolphinscheduler-task-python/src/main/java/org/apache/dolphinscheduler/plugin/task/python/PythonTask.java"]
[Bug] [task-plugin] Python Task execute 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 In the newest dev version, python task is not migrated complete. When I execute python task in workflow, ds throws NullPointerException. ### What you expected to happen Python task execute correctly. ### How to reproduce - Add a python task into work flow. - Type simple script, just like`print('Hello')` - Then execute the work flow ### Anything else _No response_ ### 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/6166
https://github.com/apache/dolphinscheduler/pull/6167
ea2a9dbcb2ca3f4be2da6a4f300e988640e72219
0715be34d5b4c553396374679ccb23fedc4c27a0
2021-09-10T15:02:37Z
java
2021-09-11T04:25:24Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,152
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessTaskRelationLogMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessTaskRelationMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionLogMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionMapper.xml", "pom.xml", "sql/dolphinscheduler_postgre.sql"]
[Bug][Server] Manual execution of workflow exception
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** Exception 1: ``` insert into t_ds_task_definition (code, `name`, version, description, project_code, user_id, task_type, task_params, flag, task_priority, worker_group, fail_retry_times, fail_retry_interval, timeout_flag, timeout_notify_strategy, timeout, delay_time, resource_ids, create_time, update_time) values (?,?,?,?, ?,?,?,?, ?,?,?,?, ?,?,?,?, ?,?,?,?) ### Cause: java.sql.SQLException: Field 'environment_code' doesn't have a default value ``` Exception 2: ``` insert into t_ds_task_instance ### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'environment_code' in 'field list' ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 'environment_code' in 'field list' ``` Exception 3: Master-Server the TASK_EXECUTE_RESPONSE and TASK_EXECUTE_ACK processor class error
https://github.com/apache/dolphinscheduler/issues/6152
https://github.com/apache/dolphinscheduler/pull/6209
c1496d8a74ef69253d1873602a467ca61876bbfb
5fead427f227bd6261b677fff600e4f913462c5e
2021-09-09T10:38:28Z
java
2021-09-16T07:07:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,147
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/SnowFlakeUtils.java"]
[Bug] The genTaskCodeList interface returns the same code
Multiple requests to the genTaskCodeList interface within a short period of time may respond with the same code ![image](https://user-images.githubusercontent.com/87303815/132617237-b53dd19d-603d-4ffe-9364-e69357175f6f.png) 短时间内(≈1s)多次请求`/dolphinscheduler/projects/{projectCode}/task-definition/gen-task-codes`接口,可能返回相同的code
https://github.com/apache/dolphinscheduler/issues/6147
https://github.com/apache/dolphinscheduler/pull/6150
cca48d0a9249917f7dc2ecef1cad67e93e227555
e8ddc9103dbc6d0e69b5a1e10c43606ba84f7009
2021-09-09T03:31:10Z
java
2021-09-09T14:01:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,146
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/SnowFlakeUtils.java"]
[Bug] Save workflow error
I created a workflow as follows: ![image](https://user-images.githubusercontent.com/87303815/132616260-4e0be953-ecfe-497a-86ed-a5c0fe8ba404.png) I got an error when i clicked the save btn: ![image](https://user-images.githubusercontent.com/87303815/132616620-89a34a31-f6e4-4bab-9c5f-168c10b92907.png) **Which version of Dolphin Scheduler:** version: 2.0.0 branch: dev **Additional context** The request params: [request.txt](https://github.com/apache/dolphinscheduler/files/7133138/request.txt)
https://github.com/apache/dolphinscheduler/issues/6146
https://github.com/apache/dolphinscheduler/pull/6150
cca48d0a9249917f7dc2ecef1cad67e93e227555
e8ddc9103dbc6d0e69b5a1e10c43606ba84f7009
2021-09-09T03:19:57Z
java
2021-09-09T14:01:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,137
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/ServerNodeManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/registry/WorkerRegistryClient.java"]
[Bug][Master] worker cannot be found if worker start earlier than master.
branch : dev phenomenon: 1 start worker 2 start master 3 start a process instance 4 master cannot find the worker ![image](https://user-images.githubusercontent.com/29528966/132493045-689ed026-b1ae-474e-9479-b71ce4220671.png) then i restart the master, this problem disappeared!
https://github.com/apache/dolphinscheduler/issues/6137
https://github.com/apache/dolphinscheduler/pull/6232
5fead427f227bd6261b677fff600e4f913462c5e
fa0b86ac824fe88acecb64178de87529ad9f2627
2021-09-08T10:25:33Z
java
2021-09-16T07:08:00Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,135
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/DataSourceController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProjectController.java", "sql/dolphinscheduler_mysql.sql"]
[Bug][API]the interface of 'authed project' is missed.
branch: [dev] "authed-project" in API module is missed ![image](https://user-images.githubusercontent.com/29528966/132490379-e40c3df0-74c0-4bf8-8f5b-adfbbff96666.png)
https://github.com/apache/dolphinscheduler/issues/6135
https://github.com/apache/dolphinscheduler/pull/6136
9d7f70bca777177c14efb3d32e469a54951f4a6b
edb8f3c435a052bdd622b5a9a7c4ce995f5705b5
2021-09-08T10:09:49Z
java
2021-09-08T12:47:54Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,038
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.scss"]
[Bug][Ui] Width of "SQL Statement" in Dag FormLineModal will be shrunk if sql line is too long
**Describe the bug** Width of "SQL Statement" in Dag FormLineModal will be shrunk if sql line is too long **To Reproduce** Steps to reproduce the behavior, for example: 1. Go to page of create definition 2. Add a sql node 3. input 'ALTER TABLE ods.ods_tz_h5ubt_log_realtime add if not exists partition(dt='${dt_1}')' in Sql Statement 4. See error **Expected behavior** Width of "SQL Statement" in Dag FormLineModal will not be shrunk if sql line is too long **Screenshots** ![Screen Shot 2021-08-26 at 10 32 54 AM](https://user-images.githubusercontent.com/23090803/130896689-f04ae670-fc50-4d26-9d14-95b305e01f4c.png) **Which version of Dolphin Scheduler:** -[1.3.8-release]
https://github.com/apache/dolphinscheduler/issues/6038
https://github.com/apache/dolphinscheduler/pull/6040
e0eea995200f673d6406ec62c464c77f1d5b6171
e866d1be86464d812551e8c38ba60767a204c82e
2021-08-26T03:02:30Z
java
2021-08-31T08:27:45Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,024
["dolphinscheduler-dist/src/main/assembly/dolphinscheduler-bin.xml"]
[Improvement][dist] Remove useless packaging commands
**Describe the question** Remove useless packaging commands **What are the current deficiencies and the benefits of improvement** In the common module, there is no Src / main / resources / bin directory, but the dist module will still execute relevant commands when packaging, which is unreasonable **Which version of DolphinScheduler:** -[1.3.7-release] **Describe alternatives you've considered** Remove the dolphinscheduler-common / src / main / resources / bin directory packaging command in dolphinscheduler -bin.xml in dist module
https://github.com/apache/dolphinscheduler/issues/6024
https://github.com/apache/dolphinscheduler/pull/6029
7b8579310f5b11c3e8195b85873eaa920d11bc58
67dde65d3207d325d344e472a4be57286a1d379d
2021-08-23T07:13:29Z
java
2021-08-25T11:27:16Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,951
["dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningInstance/_source/createWarningInstance.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Improvement][UI] When creating an alarm instance, the alarm instance name input box prompts optimization
**Describe the question** When creating an alarm instance, the alarm instance name input box prompts optimization. ![image](https://user-images.githubusercontent.com/37063904/128328874-a8da326f-5b05-44e5-b8a0-b5208d02ab18.png) **Which version of DolphinScheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/5951
https://github.com/apache/dolphinscheduler/pull/7770
7395b980d3d76646dada5b7e9220d946b154001e
0dfbbc89839b790ab5e0a3208496a4ab6fe0f359
2021-08-05T09:39:03Z
java
2022-01-04T01:13:20Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,904
["sql/dolphinscheduler_mysql.sql", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql"]
[Bug][upgrade]dev branch upgrade mysql sql script error
**Describe the bug** ``` IF NOT EXISTS (SELECT 1 FROM information_schema.COLUMNS WHERE TABLE_NAME='t_ds_datasource' AND TABLE_SCHEMA=(SELECT DATABASE()) AND COLUMN_NAME ='t_ds_datasource_name_UN') ``` Create index type statement error **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/5904
https://github.com/apache/dolphinscheduler/pull/5821
8db1b042b2523bd3b6ed363303283308ea14b2cc
0075523fdd7f170a626634ebe41c0cef4c36feaf
2021-07-28T04:34:10Z
java
2021-07-28T09:22:39Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,876
["sql/dolphinscheduler_h2.sql", "sql/dolphinscheduler_mysql.sql", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql"]
[Bug][SQL] Suggest to increase the max length of the field resource_ids in the table t_ds_task_definition.
**Describe the bug** When I saved a shell task that used many resource files ,the service threw PSQLException. **To Reproduce** Steps to reproduce the behavior, for example: 1. Create a shell task and select many resource files. 2. Save the workflow, you would see that again. If you don't , maybe you would do well to pick more resource files. **Expected behavior** Expect to increase the max length of the field resource_ids in the table t_ds_task_definition. **Screenshots** ![image](https://user-images.githubusercontent.com/4928204/126594849-07126f10-9031-43d2-a2ce-50ce9771d1f1.png) ![image](https://user-images.githubusercontent.com/4928204/126594860-5e38dc77-32d2-4d67-9cfe-e9424b8b07d3.png) **Which version of Dolphin Scheduler:** -[dev] **Additional context** Exception stack trace: ``` [INFO] 2021-07-22 11:51:07.658 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[75] - REQUEST TRANCE_ID:0702204b-58c0-4f0f-8b4b-dbfef2be63cc, LOGIN_USER:admin, URI:/dolphinscheduler/users/list-paging, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.UsersController.queryUserList, ARGS:{searchVal=jiang.hua, pageNo=1, pageSize=10} [INFO] 2021-07-22 11:51:07.682 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[75] - REQUEST TRANCE_ID:55caab3c-e003-4925-88c9-172dd2318d7c, LOGIN_USER:admin, URI:/dolphinscheduler/projects/feature-works/process/update, METHOD:POST, HANDLER:org.apache.dolphinscheduler.api.controller.ProcessDefinitionController.updateProcessDefinition, ARGS:{connects=[], name=jianghua_test, description=test, locations={"tasks-24242":{"name":"restore_from_checkpoint_test123","targetarr":"","nodenumber":"0","x":-800,"y":-900,"color":"#1297DC"}}, id=8, releaseState=OFFLINE, projectName=feature-works, processDefinitionJson={"tasks":[{"id":"tasks-24242","code":491450867713,"version":27,"name":"restore_from_checkpoint_test123","desc":null,"type":"SHELL","runFlag":"NORMAL","loc":null,"maxRetryTimes":3,"retryInterval":1,"params":{"resourceList":[{"id":157},{"id":158},{"id":162},{"id":164},{"id":166},{"id":168},{"id":160},{"id":161},{"id":159},{"id":163},{"id":165},{"id":167},{"id":95},{"id":97},{"id":98},{"id":99},{"id":100},{"id":104},{"id":105},{"id":106},{"id":107},{"id":116},{"id":94},{"id":96},{"id":101},{"id":102},{"id":103},{"id":108},{"id":109},{"id":110},{"id":112},{"id":113},{"id":114},{"id":115},{"id":117},{"id":170},{"id":171},{"id":172},{"id":120},{"id":121},{"id":123},{"id":125},{"id":127},{"id":129},{"id":131},{"id":133},{"id":135},{"id":137},{"id":139},{"id":141},{"id":147},{"id":148},{"id":149},{"id":150},{"id":151},{"id":152},{"id":134},{"id":136},{"id":118},{"id":119},{"id":122},{"id":124},{"id":126},{"id":128},{"id":130},{"id":132},{"id":138},{"id":140},{"id":142},{"id":143},{"id":144},{"id":145},{"id":146},{"id":169},{"id":76},{"id":77},{"id":78}],"localParams":[{"prop":"task.name","direct":"IN","type":"VARCHAR","value":"restore_from_checkpoint_test.sql","deleteScript":"-n"},{"prop":"task.script.file","direct":"IN","type":"VARCHAR","value":"Projects/feature-works/tasks/stream/jianghua_test/restore_from_checkpoint_test.sql","deleteScript":"-f"},{"prop":"task.execution.parallel","direct":"IN","type":"VARCHAR","value":"3","deleteScript":"-p"},{"prop":"task.execution.slots","direct":"IN","type":"VARCHAR","value":"10","deleteScript":"-s"},{"prop":"task.execution.yjm","direct":"IN","type":"VARCHAR","value":"4096m","deleteScript":"-j"},{"prop":"task.execution.ytm","direct":"IN","type":"VARCHAR","value":"4096m","deleteScript":"-w"},{"prop":"task.instance.id","direct":"IN","type":"VARCHAR","value":"${system.task.instance.id}"},{"prop":"task.execute.path","direct":"IN","type":"VARCHAR","value":"${system.task.execute.path}"}],"rawScript":"chmod +x ${task.execute.path}/${datamax.home}/${datamax.version}/bin/*\n\n${task.execute.path}/${datamax.home}/${datamax.version}/bin/start.sh -m ${run.mode} -n ${task.name} -f ${task.script.file} -p ${task.execution.parallel} -s ${task.execution.slots} -j ${task.execution.yjm} -w ${task.execution.ytm} -r ${repository.home} -b ${task.execute.path} -c ${datamax.home}/${datamax.version}/lib/${datamax.core.jar} -l ${flink.home}/${flink.version} -e ${profile.home}/${run.mode}"},"preTasks":[],"preTaskNodeList":[],"extras":null,"depList":[],"dependence":{},"conditionResult":{"successNode":[""],"failedNode":[""]},"taskInstancePriority":"MEDIUM","workerGroup":"default","timeout":{"enable":false,"strategy":null,"interval":0},"delayTime":0}],"globalParams":[{"prop":"repository.home","direct":"IN","type":"VARCHAR","value":"/data/online/datamax-repository"},{"prop":"run.mode","direct":"IN","type":"VARCHAR","value":"stream"},{"prop":"flink.home","direct":"IN","type":"VARCHAR","value":"./flink/"},{"prop":"datamax.home","direct":"IN","type":"VARCHAR","value":"./datamax/"},{"prop":"datamax.core.jar","direct":"IN","type":"VARCHAR","value":"platform-on-flink_1.13.0-2.0-SNAPSHOT.jar"},{"prop":"flink.version","direct":"IN","type":"VARCHAR","value":"1.13.0"},{"prop":"datamax.version","direct":"IN","type":"VARCHAR","value":"2.0.0"},{"prop":"profile.home","direct":"IN","type":"VARCHAR","value":"./profile/prod"},{"prop":"root.home","direct":"IN","type":"VARCHAR","value":"/data/online/datamax-repository"},{"prop":"current.date","direct":"IN","type":"VARCHAR","value":"${system.biz.curdate}"}],"timeout":0,"tenantId":4}} [ERROR] 2021-07-22 11:51:07.697 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[46] - 更新工作流定义错误 org.springframework.dao.DataIntegrityViolationException: ### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) ### The error may exist in org/apache/dolphinscheduler/dao/mapper/TaskDefinitionMapper.java (best guess) ### The error may involve org.apache.dolphinscheduler.dao.mapper.TaskDefinitionMapper.updateById-Inline ### The error occurred while setting parameters ### SQL: UPDATE t_ds_task_definition SET fail_retry_times=?, flag=?, code=?, task_priority=?, update_time=?, task_params=?, user_id=?, version=?, timeout=?, task_type=?, timeout_flag=?, create_time=?, project_code=?, fail_retry_interval=?, name=?, delay_time=?, worker_group=?, resource_ids=? WHERE id=? ### Cause: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) ; ERROR: value too long for type character varying(255); nested exception is org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:104) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:74) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440) at com.sun.proxy.$Proxy101.update(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:287) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:63) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61) at com.sun.proxy.$Proxy122.updateById(Unknown Source) at org.apache.dolphinscheduler.service.process.ProcessService.updateTaskDefinition(ProcessService.java:2156) at org.apache.dolphinscheduler.service.process.ProcessService.handleTaskDefinition(ProcessService.java:2282) at org.apache.dolphinscheduler.service.process.ProcessService.saveProcessDefinition(ProcessService.java:2212) at org.apache.dolphinscheduler.service.process.ProcessService$$FastClassBySpringCGLIB$$ed138739.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687) at org.apache.dolphinscheduler.service.process.ProcessService$$EnhancerBySpringCGLIB$$d02bc54d.saveProcessDefinition(<generated>) at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.updateProcessDefinition(ProcessDefinitionServiceImpl.java:418) at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl$$FastClassBySpringCGLIB$$e8e34ed9.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687) at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl$$EnhancerBySpringCGLIB$$4564e02d.updateProcessDefinition(<generated>) at org.apache.dolphinscheduler.api.controller.ProcessDefinitionController.updateProcessDefinition(ProcessDefinitionController.java:242) at org.apache.dolphinscheduler.api.controller.ProcessDefinitionController$$FastClassBySpringCGLIB$$dc9bf5db.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) at org.apache.dolphinscheduler.api.aspect.AccessLogAspect.doAround(AccessLogAspect.java:86) at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) at org.apache.dolphinscheduler.api.controller.ProcessDefinitionController$$EnhancerBySpringCGLIB$$22f5b91d.updateProcessDefinition(<generated>) at sun.reflect.GeneratedMethodAccessor622.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633) at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:97) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:766) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) at java.lang.Thread.run(Thread.java:748) Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308) at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441) at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365) at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:143) at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:132) at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497) at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) at sun.reflect.GeneratedMethodAccessor431.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63) at com.sun.proxy.$Proxy177.update(Unknown Source) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doUpdate(MybatisSimpleExecutor.java:54) at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197) at sun.reflect.GeneratedMethodAccessor505.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426) ... 111 common frames omitted ``` **Requirement or improvement** - I suggest to add some validation to check fields in the form.
https://github.com/apache/dolphinscheduler/issues/5876
https://github.com/apache/dolphinscheduler/pull/6457
6495a204f3f5520f3ebce8b939f1254ee676facc
ba4cb9d22ad02ba4927fd23ea811c82639261e69
2021-07-22T06:00:38Z
java
2021-10-14T07:31:06Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,830
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue"]
[Improvement][Web] Improve the selection style in dag edit dialog
*For better global communication, please give priority to using English description, thx! * **Describe the question** When we want to select all or part of the text in the input box, because the selected background color is too similar to the original background color, users often think that the text cannot be selected ![db6deb90d479ae54c0a0f89a0c8a1c838bc149d4](https://user-images.githubusercontent.com/52202080/125908608-abec7fec-2c45-47f4-a8ba-a23a4a60abbf.gif) **Which version of DolphinScheduler:** latest dev branch **Describe alternatives you've considered** A clear and concise description of any alternative improvement solutions you've considered.
https://github.com/apache/dolphinscheduler/issues/5830
https://github.com/apache/dolphinscheduler/pull/5829
bca92157a088c78d245ff60dfee2504ea8716c6a
8db1b042b2523bd3b6ed363303283308ea14b2cc
2021-07-16T07:23:41Z
java
2021-07-27T15:54:07Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,825
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/resourceTree.js", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/flink.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/mr.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/waterdrop.vue"]
[Bug][WEB] the resource tree in the process definition of latest dev branch can't display correctly.
A clear and concise description of what the bug is. When we add multiple resources to a existed process definition and reopen the edit page, the resource list would't show as expected and throws an undefined exception. ![image](https://user-images.githubusercontent.com/52202080/125821430-b869c06d-dcac-4033-906a-9bf48377c766.png) **Which version of Dolphin Scheduler:** latest dev
https://github.com/apache/dolphinscheduler/issues/5825
https://github.com/apache/dolphinscheduler/pull/5826
5e343d3fd21ceb2bf141e7b70524b5b3eb5fb87b
6964c090c7a1cb3d1d69f5fe70ca3025df9b4be3
2021-07-15T16:27:00Z
java
2021-07-20T12:48:58Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,795
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/DateUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/DateUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/http/HttpTask.java"]
[Improvement][Server] The starttime field in the HttpTask log is not displayed as expected.
*For better global communication, please give priority to using English description, thx! * *Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.* **Describe the question** ![image](https://user-images.githubusercontent.com/52202080/125186281-0e512680-e25c-11eb-8d5c-59d54640709d.png) ```java long costTime = System.currentTimeMillis() - startTime; logger.info("startTime: {}, httpUrl: {}, httpMethod: {}, costTime : {}Millisecond, statusCode : {}, body : {}, log : {}", DateUtils.format2Readable(startTime), httpParameters.getUrl(), httpParameters.getHttpMethod(), costTime, statusCode, body, output); public static String format2Readable(long ms) { long days = MILLISECONDS.toDays(ms); long hours = MILLISECONDS.toDurationHours(ms); long minutes = MILLISECONDS.toDurationMinutes(ms); long seconds = MILLISECONDS.toDurationSeconds(ms); return String.format("%02d %02d:%02d:%02d", days, hours, minutes, seconds); } ``` The API `format2Readable` is intended to display the execution time of a task more friendly, such as how many days and hours it has been executed. It's better to convert the timestamp to a formatted time according to a specified `DateTimeFormatter` **Which version of DolphinScheduler:** latest dev branch **Describe alternatives you've considered** A clear and concise description of any alternative improvement solutions you've considered.
https://github.com/apache/dolphinscheduler/issues/5795
https://github.com/apache/dolphinscheduler/pull/5796
16986c3c651af38469c6d4cb03a587fd174c9a9b
7bffe0ac85b0147210facdeedc531026b0022e6f
2021-07-11T07:49:32Z
java
2021-07-12T06:31:48Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,778
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/SchedulerService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/SchedulerServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/SchedulerControllerTest.java", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"]
[Feature][JsonSplit-api]schedule list、preview、delete interface
from #5498 Change the request parameter projectName to projectCode,including the front end and controller interface
https://github.com/apache/dolphinscheduler/issues/5778
https://github.com/apache/dolphinscheduler/pull/5779
72535a47e3dafc68c457996ea6e01b8da17685aa
d2a9e05a664a9bf12a29ae1873183b0173c0bf49
2021-07-09T08:56:03Z
java
2021-07-12T02:21:17Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,773
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/JSONUtils.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/LoggerUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ParamUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/ShellCommandExecutor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/shell/ShellTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/ParamUtilsTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/shell/ShellCommandExecutorTest.java"]
[Improvement][server] need to support two parameters related to task
**Describe the question** When I'm using the shell task ,I need the instance id of task and the absolute path of task. **What are the current deficiencies and the benefits of improvement** **Which version of DolphinScheduler:** -[dev] **Describe alternatives you've considered**
https://github.com/apache/dolphinscheduler/issues/5773
https://github.com/apache/dolphinscheduler/pull/5774
ab527a5e5abd04243305a50f184d8009b9edf21a
9fd5145b66646f3df847ea3c81bb272621ee86ca
2021-07-08T10:01:12Z
java
2021-07-09T09:00:32Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,769
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.js"]
[Improvement][UI] When we try to delete the existing dag, the console in web browser would shows exception.
version: latest dev ![image](https://user-images.githubusercontent.com/52202080/124861316-e5276080-dfe5-11eb-864b-4e438dcf2c64.png) ![image](https://user-images.githubusercontent.com/52202080/124861614-82829480-dfe6-11eb-9a00-b60cd86633af.png)
https://github.com/apache/dolphinscheduler/issues/5769
https://github.com/apache/dolphinscheduler/pull/5770
4a68bfbe1c816f9b1f2f43c1f01218689b57ed6f
8571461fe8c0eea9cdb9738be87e43f827f8e00f
2021-07-08T05:09:36Z
java
2021-07-21T10:50:32Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,763
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/SchedulerService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/SchedulerServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/SchedulerControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/SchedulerServiceTest.java", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"]
[Feature][JsonSplit-api]schedule online/offline interface
from #5498 Change the request parameter projectName to projectCode,including the front end and controller interface
https://github.com/apache/dolphinscheduler/issues/5763
https://github.com/apache/dolphinscheduler/pull/5764
cfa22d7c89bcd8e35b8a286b39b67b9b36b3b4dc
e4f427a8d8bf99754698e054845291a5223c2ea6
2021-07-07T11:37:00Z
java
2021-07-08T05:59:40Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,738
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/relatedItems.vue"]
[Improvement][UI] The cancel button in the pop-up dialog of `batch copy` and `batch move` doesn't work.
The cancel button in the pop-up dialog of `batch copy` and `batch move` doesn't work. When we click the cancel button, the dialog can't close. ![image](https://user-images.githubusercontent.com/52202080/124266707-e251e900-db69-11eb-9671-d726995ab699.png)
https://github.com/apache/dolphinscheduler/issues/5738
https://github.com/apache/dolphinscheduler/pull/5739
7a18adae5261e37def2ca1ede0320043d18abfab
b114d330ac1fa7de27e09cc73c0804a7536f3b28
2021-07-02T11:18:26Z
java
2021-07-08T10:18:20Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,737
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/datasource/AbstractDatasourceProcessor.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/datasource/DatasourceUtilTest.java"]
[Bug][Datasource] datsource other param check error
when add a mysql datasource, I wan't to set connec param with `serverTimezone=Asia/Shanghai` so add other param with json format `{"serverTimezone":"Asia/Shanghai"}` but the check rule make the param not working. the `Pattern PARAMS_PATTER = Pattern.compile("^[a-zA-Z0-9]+$");` make '/' illegal.
https://github.com/apache/dolphinscheduler/issues/5737
https://github.com/apache/dolphinscheduler/pull/5835
9ae2266cd40071db86cd02da829e39529f74fbeb
2df6ee1efbe4aec0f5579315a1b19e247f4115a6
2021-07-02T06:02:42Z
java
2021-07-18T13:46:58Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,726
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/UserMapper.xml", "dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/createDataSource.vue", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/createWarning.vue", "dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/createToken.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Improvement][UI] When we used the UI page, we found some problems such as parameter validation, parameter update shows success but actually work
### 1.When editing an existing data source, the data source type does not actually support switching, preferably not editing ![image](https://user-images.githubusercontent.com/52202080/123957653-a3435c80-d9de-11eb-8097-f14fc890586c.png) ![image](https://user-images.githubusercontent.com/52202080/123956430-46937200-d9dd-11eb-8bec-dc394ad0c654.png) ### 2.When editing an existing data source, the name of the existing data source is changed to show success, but does not actually take effect. ### 3.When a token is created, the expiration time can be set to empty, result in an illegal parameter and it can create success: ![image](https://user-images.githubusercontent.com/52202080/123960033-6af14d80-d9e1-11eb-87d6-1438962a8245.png) ![image](https://user-images.githubusercontent.com/52202080/123960120-82c8d180-d9e1-11eb-8df0-dc3598a6a0aa.png) ### 4.Non-Admin user profile page does not display tenant information ![image](https://user-images.githubusercontent.com/52202080/123957087-f8cb3980-d9dd-11eb-9b8f-ee349ee7eb91.png) ![image](https://user-images.githubusercontent.com/52202080/123957281-2d3ef580-d9de-11eb-9813-ef5c8311994d.png)
https://github.com/apache/dolphinscheduler/issues/5726
https://github.com/apache/dolphinscheduler/pull/5727
00e76558be001dc72cf60f4db93c881ed98db95a
1f0c67bfb772f46a0e7d6289b13a499aae403fe3
2021-06-30T12:28:11Z
java
2021-07-14T05:51:10Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,719
["docker/kubernetes/dolphinscheduler/templates/ingress.yaml"]
[Bug][K8s] Ingress ERROR io.k8s.api.networking.v1beta1.IngressSpec.tls: got "map", expected "array" On TLS enabled
Ingress ERROR io.k8s.api.networking.v1beta1.IngressSpec.tls: got "map", expected "array" On TLS enabled **Expected behavior** Bug fixed **Which version of Dolphin Scheduler:** -[dev] -[1.3.6] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/5719
https://github.com/apache/dolphinscheduler/pull/5718
2df6ee1efbe4aec0f5579315a1b19e247f4115a6
5e343d3fd21ceb2bf141e7b70524b5b3eb5fb87b
2021-06-29T14:42:43Z
java
2021-07-20T03:21:34Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,714
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/AlertPluginInstanceServiceImpl.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/AlertPluginInstance.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertPluginInstanceMapper.xml"]
[Improvement][Plugin] When updating the existing alarm instance, the `creation time` should't be updated.
When updating the existing alarm instance, it would cause the `creation time` to be always same with the `modification time` + when create a new alam instance, `creation time` and `update time` is same, it's right. ![image](https://user-images.githubusercontent.com/52202080/123791406-f8fe0300-d911-11eb-8d6d-25e81b6f5deb.png) + when I try to update the existing alarm instance, after updating success, the 'creation time' changes, it's wrong: ![image](https://user-images.githubusercontent.com/52202080/123791564-306caf80-d912-11eb-9195-eac521ab11f9.png)
https://github.com/apache/dolphinscheduler/issues/5714
https://github.com/apache/dolphinscheduler/pull/5715
2ba569acd028c00c22f4853de7c58251ac72816c
cf99df3de00ef63ee96b7ab00427c7385c42720a
2021-06-29T11:45:35Z
java
2021-07-04T15:46:47Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,702
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/AlertPluginInstanceController.java", "dolphinscheduler-ui/src/js/conf/home/store/security/actions.js"]
[Improvement] [APIServer] When update the existing alarm plug-in instance, the api should use POST instead of GET
When update the existing alarm plug-in instance, the front-end and back-end interaction should use POST method instead of GET. ![image](https://user-images.githubusercontent.com/52202080/123516818-9bc73f00-d6d0-11eb-9186-4f3b2f8dad00.png)
https://github.com/apache/dolphinscheduler/issues/5702
https://github.com/apache/dolphinscheduler/pull/5703
b31ba7e18b89885c37c2129bf9b4816001f09e51
2d71930837092c52dc63a76941b19051ae38cc2e
2021-06-26T14:53:59Z
java
2021-06-27T10:58:22Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,701
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UsersServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/UsersServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AccessTokenMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AccessTokenMapper.xml", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/AccessTokenMapperTest.java"]
[Bug][UI][DAO]When deleting a user, the accessToken associated with the user should also be deleted
When deleting a user, the accessToken associated with the user should be also deleted 1. create a normal user ![image](https://user-images.githubusercontent.com/52202080/123464117-0029c600-d61f-11eb-84ba-bd4717ca5ada.png) 2. add an accesstoken associated with the user created in the step 1. ![image (1)](https://user-images.githubusercontent.com/52202080/123464155-0c158800-d61f-11eb-8c4a-f41c58f7a441.png) 3. delete the user created in the step 1, then have a look at the accessToken: ![image (2)](https://user-images.githubusercontent.com/52202080/123464249-2c454700-d61f-11eb-8790-2c21ef2fccbb.png) **Which version of Dolphin Scheduler:** 1.3.7-release
https://github.com/apache/dolphinscheduler/issues/5701
https://github.com/apache/dolphinscheduler/pull/5697
239cfe5027b558abe1f17b1e7dd38504f10ab3e0
8d7d3a816672c196cf827055ce0221efcac68b55
2021-06-26T13:17:23Z
java
2021-06-28T17:27:39Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,699
["dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/index.vue"]
[Bug][UI] Update user error in user information
**To Reproduce** User Infomation Page-> Click Edit Buttom -> popup Edit User Dalog -> Click Edit Button to finish the edit action. **Expected behavior** Bug fixed **Screenshots** ![image](https://user-images.githubusercontent.com/52202080/121630957-c0a49b00-cab0-11eb-870b-619ecc2f5d4a.png) **Which version of Dolphin Scheduler:** -[1.3.6] -[dev]
https://github.com/apache/dolphinscheduler/issues/5699
https://github.com/apache/dolphinscheduler/pull/5735
596821a5b691622487863d1e53a147453d435ab7
00e76558be001dc72cf60f4db93c881ed98db95a
2021-06-26T03:56:38Z
java
2021-07-14T05:49:21Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,668
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/datasource.vue"]
[Feature][UI] Data source selection drop-down box optimization
![图片](https://user-images.githubusercontent.com/58576849/122723939-109c1280-d2a6-11eb-8005-22fe09f3e872.png) ![图片](https://user-images.githubusercontent.com/58576849/122724209-4b9e4600-d2a6-11eb-9d4e-8c8b8a419adf.png) 这个下拉框去修改的时候 没有默认展示当前选中的 每次都是从第一条开始往下滑动 能否优化为 点击下拉框时 就定位在回显的那条数据上 或者 优化修改此类下拉框支持 搜索
https://github.com/apache/dolphinscheduler/issues/5668
https://github.com/apache/dolphinscheduler/pull/6851
36c19748a6da24f23f59db7d08d61004e6dcbac5
44b24cd3df8a42f0809beb019baacd072ef800f7
2021-06-21T07:35:36Z
java
2021-11-15T09:21:34Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,655
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/cache/impl/TaskInstanceCacheManagerImpl.java"]
[Bug][Master] Task always failed.
Currently, if we have to two tasks A and in one DAG with A -> B. The execution result of A will always be judged as `Failure` by line 919 ![image](https://user-images.githubusercontent.com/13628428/122369780-15548400-cf91-11eb-9888-15a297042a63.png) since the task id is alway 0. This mistake is releated to this [PR](https://github.com/apache/dolphinscheduler/pull/5572/files?file-filters%5B%5D=.java#diff-8e3989af7cb0208a57e34d7797a5fd4b84b96eb4a1f5064ec0cb0482fcf322ccL80). ![image](https://user-images.githubusercontent.com/13628428/122370375-9744ad00-cf91-11eb-9c70-743b569554ea.png) where we didn't set the `id` of cached TaskInstance. **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/5655
https://github.com/apache/dolphinscheduler/pull/5656
3026f04d8528a63f26d9b62da00a495c8e9f47ab
0d7c32a1e829202d8359f112383b1b56eec6653d
2021-06-17T09:30:01Z
java
2021-06-17T10:45:34Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,653
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessTaskRelationLogMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessTaskRelationMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionLogMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskDefinitionMapper.xml"]
[Bug][API] Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: ` character varying
**Describe the bug** Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: ` character varying ![image](https://user-images.githubusercontent.com/37063904/122350133-855a0e80-cf7f-11eb-86b3-45a227a11ced.png) **To Reproduce** Create a workflow definition **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/5653
https://github.com/apache/dolphinscheduler/pull/5654
0d7c32a1e829202d8359f112383b1b56eec6653d
b21e821845ba7e6a8609b1a79502ea0067085293
2021-06-17T08:16:25Z
java
2021-06-17T13:23:39Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,634
[".gitignore", "dolphinscheduler-registry-plugin/dolphinscheduler-registry-zookeeper/src/main/resources/logback.xml", "dolphinscheduler-server/src/main/resources/config/install_config.conf", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/registry/RegistryCenter.java", "dolphinscheduler-service/src/main/resources/registry.properties", "install.sh"]
[Improvement][registry-plugin] Optimize registry plugin loading and initial installation
**Describe the question** Optimize registry plugin loading and initial installation **What are the current deficiencies and the benefits of improvement** - Registry Plugin install dir attribute assignment. - Add registry Plugin to initialize and install related properties **Which version of DolphinScheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/5634
https://github.com/apache/dolphinscheduler/pull/5635
9d70c7e534aa10e729d564f14a1126f623cd1035
e2d6265e26b27abdf0a212289cca9c0cdad1e0a6
2021-06-15T10:45:19Z
java
2021-06-15T12:51:52Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,622
["dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Improvement][project management] Modify the title
*For better global communication, please give priority to using English description, thx! * *Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.* **Describe the question** “项目管理”功能模块中“项目首页”菜单与页面内容关系不大。. **What are the current deficiencies and the benefits of improvement** - “项目首页”文字,修改成“工作流监控”. **Which version of DolphinScheduler:** -[1.3.7] **Describe alternatives you've considered** A clear and concise description of any alternative improvement solutions you've considered.
https://github.com/apache/dolphinscheduler/issues/5622
https://github.com/apache/dolphinscheduler/pull/5723
ee0a4391e7a21ef7773eba015fa783ff616ac4a6
2ba569acd028c00c22f4853de7c58251ac72816c
2021-06-10T13:47:51Z
java
2021-06-30T05:23:06Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,621
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml"]
[Improvement][job instance]start-time and end-time
*For better global communication, please give priority to using English description, thx! * *Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.* **Describe the question** 工作流实例列表中,如果多个工作流存在依赖关系,最后的工作流任务时长是累计时长,还有,这个排序好像只是按照开始时间排序的,希望能做成开始时间一样,按照结束时间再排一下. **What are the current deficiencies and the benefits of improvement** - A clear and concise description of the current deficiencies and the benefits of this improvement. **Which version of DolphinScheduler:** -[1.3.6] **Describe alternatives you've considered** A clear and concise description of any alternative improvement solutions you've considered.
https://github.com/apache/dolphinscheduler/issues/5621
https://github.com/apache/dolphinscheduler/pull/5797
7bffe0ac85b0147210facdeedc531026b0022e6f
70fef3daed5cb5add90dd3ada3d753533dea59ae
2021-06-10T13:43:25Z
java
2021-07-12T06:36:09Z
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,610
["sql/dolphinscheduler_mysql.sql", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql"]
[Question] Something wrong with build docker image from source
**Describe the question** I tried building a image by clean source code. ![image](https://user-images.githubusercontent.com/84900511/121340374-20386480-c952-11eb-81d8-c201586a47c0.png) and then setup in this way. ![image](https://user-images.githubusercontent.com/84900511/121340450-3514f800-c952-11eb-8042-4bdd56df2d7b.png) But when I tried to create a project, it failed. ![image](https://user-images.githubusercontent.com/84900511/121341733-896ca780-c953-11eb-8f3c-d494bddea536.png) **Which version of DolphinScheduler:** -[1.3.6] **Additional context** And also I found that the image I pull does not has the same size as the image I build, Does anyone know the reason? ![image](https://user-images.githubusercontent.com/84900511/121340737-84f3bf00-c952-11eb-8dec-10f6c4d28b7f.png)
https://github.com/apache/dolphinscheduler/issues/5610
https://github.com/apache/dolphinscheduler/pull/5611
0d5037e7c37d7903d9172f165b348058f1ddbf88
c5bea3c77430e0b46a2f5a3a91a7fbbc78874196
2021-06-09T10:45:43Z
java
2021-06-15T06:45:39Z