status
stringclasses
1 value
repo_name
stringclasses
13 values
repo_url
stringclasses
13 values
issue_id
int64
1
104k
updated_files
stringlengths
10
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
unknown
language
stringclasses
5 values
commit_datetime
unknown
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
7,004
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClientTest.java"]
[Bug] [MasterServer] master will still work when it lose zk connection
### 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 Now when master lose zk connection, it will still find commands and handle processInstance, because the condition `ServerNodeManager.MASTER_SIZE` and `slot` is not changed. So it may happen two masters have the same slot, and I found `MasterRegistryClient` addConnectionStateListener when registry: `registryClient.addConnectionStateListener(newState -> { if (newState == ConnectionState.RECONNECTED || newState == ConnectionState.SUSPENDED) { registryClient.persistEphemeral(localNodePath, ""); } }); ` ### What you expected to happen When master lose zk connection, stop processing command until reconnect. ### How to reproduce none ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/7004
https://github.com/apache/dolphinscheduler/pull/7045
6e5539478392d6c1f334ae53d01574b5e54e769c
be3bd4c83d30773ce6204bca08d3cd1e6444dea9
"2021-11-26T02:54:02Z"
java
"2021-11-30T03:00:17Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,978
["dolphinscheduler-ui/src/js/conf/home/store/user/actions.js"]
[Bug] [UI] Token delete request 404
### 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 Token delete request 404. ``` xhr.js?b50d:178 DELETE http://localhost:8888/dolphinscheduler/access-token/3?id=3 404 (Not Found) ``` ### What you expected to happen Token delete request is normal ### How to reproduce Delete token ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6978
https://github.com/apache/dolphinscheduler/pull/6979
a0955a078a2ca83f3736caf5f05a325545168114
631a31b6ac6068100f312d7194a6939bc7801bf8
"2021-11-24T07:40:46Z"
java
"2021-11-30T02:00:22Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,961
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumer.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/WorkflowExecuteThreadTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumerTest.java"]
[Improvement][MasterServer] Use threadpool to dispatch instead of single thread
### 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 Master use a single thread `TaskPriorityQueueConsumer` to dispatch task, it will be slowly when Master was busy. So I think it can be improved by threadpool instead of single thread. ### 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/6961
https://github.com/apache/dolphinscheduler/pull/6962
5a04b8d49aa8e30a60a3fdc0cdb3b2f6910aa084
e6fe39ea47f3168201f5d7f8c8a5340d075d2379
"2021-11-22T09:25:39Z"
java
"2021-11-25T04:55:37Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,955
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js"]
[Bug] [UI] View task status module on project homepage cannot read property'label' of undefined
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened View task status module on project homepage cannot read property'label' of undefined ``` TypeError: Cannot read property 'label' of undefined at eval (taskStatusCount.vue?cc37:86) at arrayMap (lodash.js?2ef0:653) at Function.map (lodash.js?2ef0:9622) at VueComponent._handleTaskStatus (taskStatusCount.vue?cc37:86) at eval (taskStatusCount.vue?cc37:113) ``` ### What you expected to happen The page is displayed normally ### How to reproduce Project homepage view exception ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6955
https://github.com/apache/dolphinscheduler/pull/6956
631a31b6ac6068100f312d7194a6939bc7801bf8
f0630bc9a05cf4e4407e040ad0bec36d486aa173
"2021-11-22T05:04:52Z"
java
"2021-11-30T02:00:54Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,950
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js"]
[Feature][Workflow relationship] The status is currently a number and it should be supported by `i18n`.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description The current status is a number and should be changed to English or Chinese. ![image](https://user-images.githubusercontent.com/19239641/142795372-aa006f07-1ffd-41d4-a017-c2b4bef54af8.png) ### Use case Change the status `0` to offline, and `1` to online. ### 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/6950
https://github.com/apache/dolphinscheduler/pull/6954
199a84aa059234d76f01fc4ed5daf96abcfeb630
da35c17cc07ea7fc2895eda4baf4e84b0c67b2fe
"2021-11-22T02:06:46Z"
java
"2021-11-22T05:47:14Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,941
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/AlertGroupServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/AlertGroupServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertGroupMapper.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/vo/AlertGroupVo.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertGroupMapper.xml"]
[Bug] [API] edit alarm group page is abnormal
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened edit alarm group page is abnormal: ``` vue.runtime.esm.js?2b0e:1897 TypeError: Cannot read property 'split' of undefined at VueComponent.created (createWarning.vue?045c:146) at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1863) at callHook (vue.runtime.esm.js?2b0e:4235) at VueComponent.Vue._init (vue.runtime.esm.js?2b0e:5022) at new VueComponent (vue.runtime.esm.js?2b0e:5168) at createComponentInstanceForVnode (vue.runtime.esm.js?2b0e:3304) at init (vue.runtime.esm.js?2b0e:3133) at createComponent (vue.runtime.esm.js?2b0e:6022) at createElm (vue.runtime.esm.js?2b0e:5969) at createChildren (vue.runtime.esm.js?2b0e:6097) ``` ### What you expected to happen The page is displayed normally ### How to reproduce Edit an alarm group on the alarm group form page. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6941
https://github.com/apache/dolphinscheduler/pull/6942
ad33d434987863b4ee7b3f8ed89d7e59734687c0
38b14410ab622685b961cc8fc6728963b8552779
"2021-11-21T06:34:50Z"
java
"2021-11-23T01:28:27Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,930
["dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/exceptions.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/sub_process.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_sub_process.py", "dolphinscheduler-python/src/main/java/org/apache/dolphinscheduler/server/PythonGatewayServer.java"]
[Feature][Python] Add workflow as code task type 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 feature requirement. ### Description Add python api task type sub_process. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### 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/6930
https://github.com/apache/dolphinscheduler/pull/7022
3304edee47947e0b5a2a9445fe602133efc3d5d7
f480b8adf8f86b7bf1d6727385c8fad8307a452b
"2021-11-19T07:09:05Z"
java
"2021-12-03T02:26:45Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,929
["dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/database.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/procedure.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/sql.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_database.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_procedure.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_sql.py"]
[Feature][Python] Add workflow as code task type procedure
### 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 python api task type procedure. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### 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/6929
https://github.com/apache/dolphinscheduler/pull/7279
12b46dfaa62f8f6c51ea739e0d31ca934c811994
1948030151173c72c81c45346e37bba6dc35d44b
"2021-11-19T07:08:12Z"
java
"2021-12-13T11:54:24Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,928
["dolphinscheduler-python/pydolphinscheduler/examples/task_switch_example.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/switch.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_switch.py"]
[Feature][Python] Add workflow as code task type switch
### 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 python api task type switch. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### 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/6928
https://github.com/apache/dolphinscheduler/pull/7531
e23a4848c038c9b04327fd431d43fdf54eb9b689
946a0c7c5768506e7ca92a21e7aed6ad5aa60871
"2021-11-19T07:07:07Z"
java
"2021-12-22T03:46:34Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,927
["dolphinscheduler-python/pydolphinscheduler/examples/task_conditions_example.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/condition.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/dependent.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_condition.py"]
[Feature][Python] Add workflow as code task type conditions
### 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 python api task type conditions. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### 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/6927
https://github.com/apache/dolphinscheduler/pull/7505
4c49a8b91fbeb26d6a18314b0d67905a9f296859
e23a4848c038c9b04327fd431d43fdf54eb9b689
"2021-11-19T07:06:09Z"
java
"2021-12-22T03:06:45Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,926
["dolphinscheduler-python/pydolphinscheduler/examples/task_dependent_example.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/dependent.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_dependent.py", "dolphinscheduler-python/src/main/java/org/apache/dolphinscheduler/server/PythonGatewayServer.java"]
[Feature][Python] Add workflow as code task type dependent
### 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 python api task type dependent. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### 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/6926
https://github.com/apache/dolphinscheduler/pull/7405
676a952bcbeba1790b03954915ec352cd920b6d1
6f93ebf3ba66a2e99e56e1844243dfc75d43556c
"2021-11-19T07:04:43Z"
java
"2021-12-16T01:58:50Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,924
["dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/tasks/sql.py", "dolphinscheduler-python/pydolphinscheduler/tests/tasks/test_sql.py", "dolphinscheduler-python/src/main/java/org/apache/dolphinscheduler/server/PythonGatewayServer.java"]
[Feature][Python] Add workflow as code task type sql
### 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 python api task type sql. sub task in #6407. we should cover all parameter from UI side and make it suitable for python. ### 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/6924
https://github.com/apache/dolphinscheduler/pull/6968
abde2d7d28a3b070d0eb47f097d4c6e17a7c4ae1
41e8836c91f41035e4be806a11640f44438e4dc0
"2021-11-19T06:59:44Z"
java
"2021-11-23T08:58:00Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,922
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGridOption.js", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Feature][Workflow relationship] The configuration of `i18n` does not fully support English.
### 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 English support is not perfect. ![image](https://user-images.githubusercontent.com/19239641/142577832-73952053-731d-4bf3-90ed-5e22f2e16016.png) ### Use case Improve English support. ### 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/6922
https://github.com/apache/dolphinscheduler/pull/6936
1fdbc3270c010d31485b2dfb79243a2300e58759
024aacacb305c7145e73c5f3d8d1209a88f814d7
"2021-11-19T06:49:35Z"
java
"2021-11-20T14:58:30Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,901
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/index.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/taskInstance/index.vue"]
[Feature][Project Process] The vertical scroll bar is removed from the three sub-menus of the process menu in the project.
### 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 tables in Process definition, Process Instance, and Task Instance all have vertical scroll bars. ![image](https://user-images.githubusercontent.com/19239641/142808869-571c0372-a62d-4c6b-9db3-c9f24030ea1e.png) ### Use case Remove the vertical scroll bars in these three tables. ### 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/6901
https://github.com/apache/dolphinscheduler/pull/6958
38b14410ab622685b961cc8fc6728963b8552779
982030bf3867588317d5f5f056bd8db152d54ddb
"2021-11-18T06:45:55Z"
java
"2021-11-23T02:45:11Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,899
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/kinship/_source/graphGrid.vue"]
[Feature][Workflow relationship] When the workflow data of the Workflow relationship is `null`, it will be displayed as `-`.
### 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 At present, when the workflow data is `null`, the front-end page is also displayed as `null`, so it can be judged that when the data is `null`, the page is displayed as `-`. ![image](https://user-images.githubusercontent.com/19239641/142576210-0e62daf2-00a3-41d9-94b1-f6831003d0e0.png) ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6899
https://github.com/apache/dolphinscheduler/pull/6934
024aacacb305c7145e73c5f3d8d1209a88f814d7
d2666d67391d541468bbfa4fe49dcbd8c4fe2300
"2021-11-18T06:24:55Z"
java
"2021-11-20T14:59:18Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,898
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/relatedItems.vue"]
[Feature][Process definition] The `select` component of batch copy and batch move adds search function.
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description To facilitate quick selection when there are multiple workflows, a search box is added to search the data of `select`. ### Use case You can quickly locate a workflow through the search form. ### 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/6898
https://github.com/apache/dolphinscheduler/pull/6915
802fc498b533f855a19ceebb6a3cf0e9d6c57fea
eb01f2e6170520c5daa032f85aa782b248ffb7d4
"2021-11-18T06:17:33Z"
java
"2021-11-19T03:17:03Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,896
["dolphinscheduler-ui/src/sass/common/index.scss"]
[Bug] [Task Instance] A new line appears in the name search, making it unavailable.
### 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 query condition is less than 1370 pixels in the viewable area of the browser, the name search appears to wrap and is not fully displayed. ![image](https://user-images.githubusercontent.com/19239641/142401188-24eb6bac-882d-49bf-9209-ab3f5b065504.png) ### What you expected to happen The height of a `class` named `conditions-box` is not stretched. ### How to reproduce Reduce the width of the visible area of the browser to less than 1370 pixels. ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
https://github.com/apache/dolphinscheduler/issues/6896
https://github.com/apache/dolphinscheduler/pull/6911
f9a130d73e79e8f4cfd17e077c4bf48137a64b38
1be080237bad025651247bd24dc5ad2b24520f8d
"2021-11-18T04:19:52Z"
java
"2021-11-19T03:46:45Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,889
["dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/js/conf/home/router/module/datasource.js", "dolphinscheduler-ui/src/js/conf/home/router/module/home.js", "dolphinscheduler-ui/src/js/conf/home/router/module/monitor.js", "dolphinscheduler-ui/src/js/conf/home/router/module/projects.js", "dolphinscheduler-ui/src/js/conf/home/router/module/resource.js", "dolphinscheduler-ui/src/js/conf/home/router/module/security.js", "dolphinscheduler-ui/src/js/conf/home/router/module/user.js"]
[Improvement][router] Split the routing module to increase subsequent maintainability.
### 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 At present, all routing configuration files are placed in the `index.js` file, so that the file content is too much, and it is not suitable for search and subsequent maintenance. ### Use case Split routing file ### 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/6889
https://github.com/apache/dolphinscheduler/pull/6892
80dcf9b03ec0c37c01e7323a265dc0728012af52
00813b0a696bcd50d484670cf191efcb8921648f
"2021-11-17T10:51:40Z"
java
"2021-11-19T01:38:22Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,882
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/EventExecuteService.java"]
[Bug] [Master] process cannot finish and its status is always running.
### 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 :2.0 process cannot finish and its status is always running. ![image](https://user-images.githubusercontent.com/29528966/142152624-f312bc37-f42e-432c-b861-8bfe61fa82c8.png) ### What you expected to happen process end normally. ### How to reproduce 1. run a process with a sub process ( only a shel task in it) 2. sometimes ( 1/20) the process status would be always running. ### Anything else _No response_ ### Version 2.0.0-alpha ### 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/6882
https://github.com/apache/dolphinscheduler/pull/6886
f564687a8988c8ccdb2f138b1b994cce9eb914e9
653eae24195957b01d1a911aada020372d1742e6
"2021-11-17T07:22:20Z"
java
"2021-11-17T09:39:22Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,854
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml"]
[Bug] [File Manage] queryResourcePaging : An error occurs when an authorized user accesses a 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 There is an error in ResourceMapper.xml (line:66) This will cause authorized users not to read the file list; ### What you expected to happen An unnecessary ”and“ was written logs: Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: Method queryTotal execution error of sql : SELECT COUNT(1) FROM ( select d.id, d.alias, d.file_name, d.description, d.user_id, d.type, d.size, d.create_time, d.update_time, d.pid, d.full_name, d.is_directory from t_ds_resources d where d.type=? and d.pid=? and ( and d.id in ( ? , ? ) or d.user_id=? ) order by d.update_time desc ) TOTAL at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39) at com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor.queryTotal(PaginationInterceptor.java:248) at com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor.intercept(PaginationInterceptor.java:202) at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61) at com.sun.proxy.$Proxy182.prepare(Unknown Source) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.prepareStatement(MybatisSimpleExecutor.java:94) at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:66) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:136) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) ... 110 common frames omitted ### How to reproduce Use the super/root/admin account to create a folder and file, and then authorize it to ordinary users. When ordinary users view it, there will be no data, and the above error will appear in the log file. ### Anything else _No response_ ### Version 2.0.0-alpha ### 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/6854
https://github.com/apache/dolphinscheduler/pull/6907
f36ca0290770cd0f70a8fd29b17d0daf02d525db
676a952bcbeba1790b03954915ec352cd920b6d1
"2021-11-15T08:55:07Z"
java
"2021-12-15T11:18:00Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,849
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerService.java", "dolphinscheduler-server/src/main/resources/application-master.yaml", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process/ProcessServiceTest.java"]
[Improvement][MasterServer] improve master scan and handle commands
### 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 Master scan one command from DB and convert to process instance each time, it's a looply work on single thread, which limits overall speed. So I think it can be changed to fetch more commands each time and handle in parallel. ### 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/6849
https://github.com/apache/dolphinscheduler/pull/6850
1be080237bad025651247bd24dc5ad2b24520f8d
595e4843d02addf9bc4c11a8c556c354109d802f
"2021-11-15T02:20:30Z"
java
"2021-11-19T04:03:49Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,838
["dolphinscheduler-python/pydolphinscheduler/examples/tutorial.py", "dolphinscheduler-python/pydolphinscheduler/requirements_dev.txt", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/constants.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py", "dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/utils/date.py", "dolphinscheduler-python/pydolphinscheduler/tests/core/test_process_definition.py", "dolphinscheduler-python/pydolphinscheduler/tests/utils/__init__.py", "dolphinscheduler-python/pydolphinscheduler/tests/utils/test_date.py", "dolphinscheduler-python/src/main/java/org/apache/dolphinscheduler/server/PythonGatewayServer.java"]
[Feature][python] Add parameter schedule to process definition
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### Description Python API `ProcessDefinition` do not support schedule for now, we should add this to it, and set workflow schedule parameter. https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-python/pydolphinscheduler/examples/tutorial.py ### 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/6838
https://github.com/apache/dolphinscheduler/pull/6664
089f73ebe4b6fcdb8c02b9098ebe86a8de183ace
e76cf77040ae558461c54730c27eb0fbe28bc54f
"2021-11-13T07:04:12Z"
java
"2021-11-13T09:21:40Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,829
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/runner/TaskExecuteThread.java"]
[Bug] [WorkerServer] Too many open files 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 version: 2.0 ``` [ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.common.utils.OSUtils:[175] - /etc/passwd (Too many open files) java.io.FileNotFoundException: /etc/passwd (Too many open files) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at org.apache.dolphinscheduler.common.utils.OSUtils.getUserListFromLinux(OSUtils.java:189) at org.apache.dolphinscheduler.common.utils.OSUtils.getUserList(OSUtils.java:172) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139) 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) [ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[141] - tenantCode: root does not exist [INFO] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[232] - develop mode is: false [ERROR] 2021-11-12 14:13:35.611 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[252] - delete exec dir failed : Failed to list contents of /tmp/dolphinscheduler/exec/process/851650632065024/851651851886592_1/3524626/4979296 java.io.IOException: Failed to list contents of /tmp/dolphinscheduler/exec/process/851650632065024/851651851886592_1/3524626/4979296 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1647) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.clearTaskExecPath(TaskExecuteThread.java:249) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:220) 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) ``` ``` [root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# ulimit -n 65535 [root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# jps 3767833 Jps 3767487 WorkerServer [root@ds8 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# lsof -p 3767487 | wc -l 66016 ``` When I run a dryRun model by more than 6w+ tasks, I found that worker had many `Too many open files` error. It seems like worker didn't close files, because open files number is continued growth even though tasks are fail and finish. ### What you expected to happen Worker can close file normally. ### How to reproduce Run 6w+ tasks with dryRun Model. ### 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/6829
https://github.com/apache/dolphinscheduler/pull/6852
1b6b5268b6051357f7866a280ab6492d37fe67a8
e6239e808b9a508675889fccb7a47dff40e4d172
"2021-11-12T06:21:47Z"
java
"2021-11-21T09:51:56Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,820
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/DataSourceServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UsersServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/DataSourceServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProjectServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ResourcesServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/UsersServiceTest.java"]
[Feature][API] Ordinary users can also share resource data source projects with others
### 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 Ordinary users can also share resource data source projects with others ### 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/6820
https://github.com/apache/dolphinscheduler/pull/7929
0c353d69e29a0b562ebb6938d345fc1b4589b781
82d04f1924692db83461b8c7800f2ab7228825c1
"2021-11-11T16:24:04Z"
java
"2022-01-15T01:08:03Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,809
["dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java"]
[Bug] [dolphinscheduler-task-sql] NullPointerException happened when send alert.
### 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 NullPointerException happened when run sql task. -[2.0.0-release-prepare] ### What you expected to happen Run sql task with alert successful. ### How to reproduce [ERROR] 2021-11-11 14:31:19.462 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[210] - task scheduler failure java.lang.NullPointerException: null at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.sendAlert(TaskExecuteThread.java:225) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:196) 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) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.sendAttachment(SqlTask:280); `private void sendAttachment(int groupId, String title, String content) {` ` setNeedAlert(Boolean.TRUE);` ` TaskAlertInfo taskAlertInfo = new TaskAlertInfo();` ` taskAlertInfo.setAlertGroupId(groupId);` ` taskAlertInfo.setContent(content);` ` taskAlertInfo.setTitle(title);` `}` Forget to setTaskAlertInfo? `private void sendAttachment(int groupId, String title, String content) {` ` setNeedAlert(Boolean.TRUE);` ` TaskAlertInfo taskAlertInfo = new TaskAlertInfo();` ` taskAlertInfo.setAlertGroupId(groupId);` ` taskAlertInfo.setContent(content);` ` taskAlertInfo.setTitle(title);` ` setTaskAlertInfo(taskAlertInfo);` `}` ### 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/6809
https://github.com/apache/dolphinscheduler/pull/7089
2ed3c0c3a76dd6ff631b0e63f6328d32fc1c81b3
463fc76bb7bf83d2826c680cc7531b102a7abe65
"2021-11-11T11:52:11Z"
java
"2021-12-01T06:08:40Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,802
["README.md", "README_zh_CN.md"]
[Bug] [readme] Error link to Docker and k8s in readme
### 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 link to Docker and k8s in readme ### What you expected to happen Change the right link in readme ### How to reproduce Error link to Docker and k8s in readme ### 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/6802
https://github.com/apache/dolphinscheduler/pull/6862
d2666d67391d541468bbfa4fe49dcbd8c4fe2300
1b6b5268b6051357f7866a280ab6492d37fe67a8
"2021-11-11T09:42:52Z"
java
"2021-11-21T09:50:19Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,792
["dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/ApiApplicationServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/MasterServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/WorkerServer.java", "dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java"]
[Bug] [alert] NettyRemotingServer bind 50052 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 NettyRemotingServer bind fail bind(..) failed: Address already in use, exit io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use --dev ### What you expected to happen -- ### How to reproduce -- ### Anything else -- ### 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/6792
https://github.com/apache/dolphinscheduler/pull/6815
da2a04494723a02b03f05056eb5f164eae4ee705
e36d18b58890eb18a64ecc2a5181b37125a070f8
"2021-11-11T07:24:58Z"
java
"2021-11-12T02:51:11Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,772
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/canvas.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/canvas/layoutConfigModal.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"]
[Improvement][API] API operation optimization
### 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 ### Dag API 1. Create offline workflows and schedules 2. Update workflow basic information 3. Update schedule information by process definition code 4. Online or offline workflow and schedule at the same time 5. Delete the workflow and schedule at the same time 6. Online is not allowed for empty workflow ### Task API 1. Specify the online or offline status when creating tasks 2. Online or downstream dependent tasks will not be deleted 3. Task online and offline interface ### Relation API 1. Add task to workflow 2. Remove task from workflow 3. Task moves from A workflow to B workflow 4. Task delete upstream dependency 5. Task add upstream dependency ### Execution API 1. Specify task execution interface ![image](https://user-images.githubusercontent.com/42576980/141075049-faa6c4f8-9a0a-42f3-9924-0aa4f426f6a4.png) ### 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/6772
https://github.com/apache/dolphinscheduler/pull/7102
b3efcdfeba06867e620829638ff27c3069aeac23
173a3856185abc0fa9be16715d2567ebbe054a6f
"2021-11-10T08:13:37Z"
java
"2021-12-01T08:40:11Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,771
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClient.java"]
[Bug] [MasterServer] failover worker interrupt
### 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: 2.0 When worker down and start again, a lot of process instance and task instance is not run by fault tolerance, but still keep running state. And I found that when Master run failoverWorker, it's interrupted. ``` grep failover logs/dolphinscheduler-master.2021-11-10_14.* [root@ds1 apache-dolphinscheduler-2.0.1-alpha-SNAPSHOT-bin]# grep failover logs/dolphinscheduler-master.2021-11-10_14.* logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.887 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[333] - start master failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.948 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[337] - failover process list size:0 logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.949 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[281] - start worker[null] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.955 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[324] - end worker[null] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.955 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[348] - master failover end logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.958 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[281] - start worker[null] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:33:47.960 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[324] - end worker[null] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log:[INFO] 2021-11-10 14:49:06.004 org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient:[281] - start worker[172.28.230.24:1234] failover ... logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverWorker(MasterRegistryClient.java:307) logs/dolphinscheduler-master.2021-11-10_14.0.log: at org.apache.dolphinscheduler.server.master.registry.MasterRegistryClient.failoverServerWhenDown(MasterRegistryClient.java:196) ``` I found a return if processInstanceExecMaps doesn't contain `processInstance.getId()`, it should be continue. ### What you expected to happen failover normally. ### How to reproduce run a lot of tasks and restart the worker. ### 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/6771
https://github.com/apache/dolphinscheduler/pull/6801
d168a3cdf7cec9689dc8ae439c4a02ab10922287
5741c758b3521885e4ea11fdcb3c66d275537739
"2021-11-10T08:05:17Z"
java
"2021-11-12T06:19:57Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,750
["dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py", "dolphinscheduler-python/pydolphinscheduler/tests/core/test_process_definition.py"]
[Bug] [python] Specific user args not pass to user create function
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened In pydolphinscheduler, when I create process definitions and use specific tenant to it, https://github.com/apache/dolphinscheduler/blob/484153ef761bd2f404a9cbf5a72e8605b5a376eb/dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py?_pjax=%23js-repo-pjax-container#L86-L90it would not pass to `create_user` function, and still use default value. I inspect and find out `User` object alway use default value in https://github.com/apache/dolphinscheduler/blob/484153ef761bd2f404a9cbf5a72e8605b5a376eb/dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py?_pjax=%23js-repo-pjax-container#L142-L150 ### What you expected to happen parameter I assigned should be user ### How to reproduce run example ### 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/6750
https://github.com/apache/dolphinscheduler/pull/6753
e2d516f27989618461b72aca899205a152a4cfe6
cd8205217a08b54228f8530785f49515ff6ec7f0
"2021-11-09T02:48:18Z"
java
"2021-11-13T08:47:08Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,742
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/SnowFlakeUtils.java"]
[Bug] [Common] SnowFlakeUtils will generate duplicate id due to clock backward
### 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 SnowFlakeUtils will generate duplicate id due to clock backward. This may be caused by we use `System.currentTimeMillis()` to get system time, this method is based on system time, will forward or backward. https://stackoverflow.com/questions/2978598/will-system-currenttimemillis-always-return-a-value-previous-calls ### What you expected to happen Generate duplicate Id ### How to reproduce Hard to reproduce :) ### 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/6742
https://github.com/apache/dolphinscheduler/pull/6740
b6824b47419a5abc7ab4279d648417249a74f122
0f94577d2613634b268b56b6dbd445bd5528542c
"2021-11-08T12:02:26Z"
java
"2021-11-08T14:26:17Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,737
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java"]
[Bug] [MasterServer] Event handle twice in two thread pool
### 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: 2.0 ``` [INFO] 2021-11-08 15:55:48.889 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 865, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.911 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 865, event type: SUCCESS [INFO] 2021-11-08 15:55:48.920 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 866, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.929 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 866, event type: SUCCESS [INFO] 2021-11-08 15:55:48.936 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 867, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.942 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 867, event type: SUCCESS [INFO] 2021-11-08 15:55:48.948 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 868, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.956 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 868, event type: SUCCESS [INFO] 2021-11-08 15:55:48.963 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 868, event type: SUCCESS [INFO] 2021-11-08 15:55:48.966 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 869, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.969 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 869, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.975 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 869, event type: SUCCESS [INFO] 2021-11-08 15:55:48.975 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 869, event type: SUCCESS [INFO] 2021-11-08 15:55:48.982 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 870, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.986 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 870, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.994 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 870, event type: SUCCESS [INFO] 2021-11-08 15:55:49.007 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 870, event type: SUCCESS [INFO] 2021-11-08 15:55:49.009 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 871, event type: RUNNING_EXECUTION ``` from the log, can see that task id 870 has 4 event, 2 RUNNING_EXECUTION and 2 SUCCESS; grep 870 from the log ``` [INFO] 2021-11-08 15:55:48.844 org.apache.dolphinscheduler.server.master.runner.task.CommonTaskProcessor:[120] - task ready to submit: TaskInstance{id=870, name='parallel_01', taskType='SHELL', processInstanceId=741, processInstanceName='null', state=SUBMITTED_SUCCESS, firstSubmitTime=Mon Nov 08 15:55:48 CST 2021, submitTime=Mon Nov 08 15:55:48 CST 2021, startTime=null, endTime=null, host='null', executePath='null', logPath='null', retryTimes=0, alertFlag=NO, processInstance=null, processDefine=null, pid=0, appLink='null', flag=YES, dependency='null', duration=null, maxRetryTimes=0, retryInterval=1, taskInstancePriority=MEDIUM, processInstancePriority=MEDIUM, dependentResult='null', workerGroup='default', environmentCode=-1, environmentConfig='null', executorId=1, executorName='null', delayTime=0, dryRun=0} [INFO] 2021-11-08 15:55:48.856 org.apache.dolphinscheduler.server.master.processor.TaskAckProcessor:[79] - taskAckCommand : TaskExecuteAckCommand{taskInstanceId=870, startTime=Mon Nov 08 15:55:48 CST 2021, host='192.168.31.239:1234', status=1, logPath='/home/csf/javapath/dolphinscheduler/logs/882302276001792_1/741/870.log', executePath='/tmp/dolphinscheduler/exec/process/854201280159744/882302276001792_1/741/870', processInstanceId='741'} [INFO] 2021-11-08 15:55:48.858 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1163] - remove task from stand by list, id: 870 name:parallel_01 [INFO] 2021-11-08 15:55:48.874 org.apache.dolphinscheduler.server.master.processor.TaskResponseProcessor:[80] - received command : TaskExecuteResponseCommand{taskInstanceId=870, status=7, endTime=Mon Nov 08 15:55:48 CST 2021, processId=6637, appIds=''} [INFO] 2021-11-08 15:55:48.982 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 870, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.986 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 870, event type: RUNNING_EXECUTION [INFO] 2021-11-08 15:55:48.986 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[370] - work flow 741 task 870 state:SUCCESS [INFO] 2021-11-08 15:55:48.988 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[370] - work flow 741 task 870 state:SUCCESS [INFO] 2021-11-08 15:55:48.994 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:MasterEventExecution, process id: 741, task id: 870, event type: SUCCESS [INFO] 2021-11-08 15:55:48.995 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[370] - work flow 741 task 870 state:SUCCESS [INFO] 2021-11-08 15:55:49.007 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[291] - handleEvent current Thread:Master-Exec-Thread, process id: 741, task id: 870, event type: SUCCESS [INFO] 2021-11-08 15:55:49.008 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[370] - work flow 741 task 870 state:SUCCESS ``` ### What you expected to happen Each event is processed only once ### How to reproduce Create parallel tasks and reduce the master threads. ### 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/6737
https://github.com/apache/dolphinscheduler/pull/6738
bdea8d6ae4e35d64686d97f606b1e235f9664dbe
b6824b47419a5abc7ab4279d648417249a74f122
"2021-11-08T08:11:35Z"
java
"2021-11-08T08:54:58Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,727
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapMapper.xml"]
[Bug] [master-server] ProcessInstanceMapMapper extra column
### 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 is an extra column in the mapper of ProcessInstanceMap ### What you expected to happen delete it ### How to reproduce delete 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/6727
https://github.com/apache/dolphinscheduler/pull/6728
5400abc74fdb16717d22c15f964cad1a6dfd899e
d27c6ea8f0077ec52da2f1bd3411c866643d5afb
"2021-11-07T09:03:09Z"
java
"2021-11-07T10:01:40Z"
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,657
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/DagHelper.java"]
[Bug] [Master] Failed to operate workflow node separately
### 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/42203474/139636648-2b175530-996c-48bb-82ff-46b8a6ea39ba.png) Failed to operate workflow node alone. No new task instance is generated. version: dev There are no problems in the version of 2.0-alpha-release. ### What you expected to happen Operate workflow node separately and generate new task instance. ### How to reproduce Operate workflow node separately. ### Anything else ```java [ERROR] 2021-11-01 15:30:35.452 org.apache.dolphinscheduler.dao.utils.DagHelper:[112] - start node name [a] is not in task node list [[TaskNode{id='null', code=851434614521856, version=1, name='a', desc='', type='SHELL', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"resourceList":[],"localParams":[],"rawScript":"echo \"a\"","waitStartTimeout":{},"switchResult":{}}', preTasks='[]', preTaskNodeList=null, extras='null', depList=[], dependence='{}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}]] [ERROR] 2021-11-01 15:30:35.452 org.apache.dolphinscheduler.dao.utils.DagHelper:[112] - start node name [a] is not in task node list [[TaskNode{id='null', code=851434614521856, version=1, name='a', desc='', type='SHELL', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"resourceList":[],"localParams":[],"rawScript":"echo \"a\"","waitStartTimeout":{},"switchResult":{}}', preTasks='[]', preTaskNodeList=null, extras='null', depList=[], dependence='{}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}]] [ERROR] 2021-11-01 15:30:35.453 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[512] - processDag is null [ERROR] 2021-11-01 15:30:35.453 org.apache.dolphinscheduler.dao.utils.DagHelper:[112] - start node name [job_b1] is not in task node list [[TaskNode{id='null', code=851435467538432, version=1, name='job_b1', desc='', type='SHELL', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"resourceList":[],"localParams":[],"rawScript":"echo \"b1\"","waitStartTimeout":{},"switchResult":{}}', preTasks='[851437597130752]', preTaskNodeList=null, extras='null', depList=[851437597130752], dependence='{}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}, TaskNode{id='null', code=851437597130752, version=2, name='depend_a', desc='', type='DEPENDENT', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"waitStartTimeout":{"strategy":"FAILED","interval":null,"checkInterval":null,"enable":false},"switchResult":{}}', preTasks='[]', preTaskNodeList=null, extras='null', depList=[], dependence='{"relation":"AND","dependTaskList":[{"relation":"AND","dependItemList":[{"projectCode":851275541217280,"definitionCode":851435217125376,"depTasks":"a","cycle":"day","dateValue":"today"}]}]}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}, TaskNode{id='null', code=851436591874048, version=1, name='job_b2', desc='', type='SHELL', runFlag='NORMAL', loc='null', maxRetryTimes=0, retryInterval=1, params='{"resourceList":[],"localParams":[],"rawScript":"echo \"b2\"","waitStartTimeout":{},"switchResult":{}}', preTasks='[851437597130752]', preTaskNodeList=null, extras='null', depList=[851437597130752], dependence='{}', conditionResult='{"successNode":[""],"failedNode":[""]}', taskInstancePriority=MEDIUM, workerGroup='default', environmentCode=-1, timeout='{"enable":false,"strategy":null,"interval":0}', delayTime=0}]] [ERROR] 2021-11-01 15:30:35.453 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[512] - processDag is null [ERROR] 2021-11-01 15:30:35.453 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[512] - processDag is null [ERROR] 2021-11-01 15:30:35.454 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[195] - handler error: java.lang.NullPointerException: null at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:301) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:797) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.startProcess(WorkflowExecuteThread.java:464) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:192) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [ERROR] 2021-11-01 15:30:35.454 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[195] - handler error: java.lang.NullPointerException: null at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:301) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:797) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.startProcess(WorkflowExecuteThread.java:464) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:192) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [ERROR] 2021-11-01 15:30:35.454 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[195] - handler error: java.lang.NullPointerException: null at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:301) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:797) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.startProcess(WorkflowExecuteThread.java:464) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:192) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 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) ``` ### 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/6657
https://github.com/apache/dolphinscheduler/pull/6717
a728c85a92faff6539daa86defa5206f986d38a9
69f2d3b21bc99006fd1fa4e0f0b970972d26ae2f
"2021-11-01T07:33:49Z"
java
"2021-11-06T11:27:00Z"
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,641
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/host/LowerWeightHostManager.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/dispatch/host/RefreshResourceTaskTest.java", "pom.xml"]
[Bug] [MasterServer] RefreshResourceTask error by 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 When master refresh the worker node, it may occur NPE when hearbeat is null. ``` [ERROR] 2021-10-29 20:21:45.977 org.apache.dolphinscheduler.server.master.dispatch.host.LowerWeightHostManager:[152] - [] RefreshResourceTask error java.lang.NullPointerException: null at org.apache.dolphinscheduler.common.utils.HeartBeat.decodeHeartBeat(HeartBeat.java:228) at org.apache.dolphinscheduler.server.master.dispatch.host.LowerWeightHostManager$RefreshResourceTask.getHostWeight(LowerWeightHostManager.java:157) at org.apache.dolphinscheduler.server.master.dispatch.host.LowerWeightHostManager$RefreshResourceTask.run(LowerWeightHostManager.java:141) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ``` ### What you expected to happen No NPE Excetion. ### How to reproduce Restart the worker server. ### 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/6641
https://github.com/apache/dolphinscheduler/pull/6656
b226253eec219bc0152ed5a3c5939e13385bcedc
73f20b7553565f3d8d1ac2640d8806191fc17666
"2021-10-29T12:48:29Z"
java
"2021-11-07T03:40:54Z"
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,625
["dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/plugin/DolphinPluginManagerConfig.java"]
[Bug] [Standalone Server] Standalone server load plugin from fixed maven loacl repository path
### 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 use standalone server, the DolphinPluginManager looks for plugin dependencies from local maven repository. but the local maven repository is a fixed value in `DolphinPluginManagerConfig.java` who's value is `${user.home}/.m2/repository`. 当使用本地单机开发时,插件加载器会从本地Maven仓库加载插件,但是本地仓库的值是在代码中写死的: `${user.home}/.m2/repository`. ![图片](https://user-images.githubusercontent.com/23203149/139200190-9267993e-6df7-4b5c-a443-4aad86cf5a78.png) In my developement envirionment, I set the maven local repository path (localRepository) to `D:\\repository` in `${user.home}/.m2/settings.xml`. 在我的开发环境中,我在Maven的配置文件`${user.home}/.m2/settings.xml`中设置了本地仓库(localRepository)的地址 ![Local Maven Repository Settings](https://user-images.githubusercontent.com/23203149/139199519-7c7705a3-5d3d-4931-93ce-e2d1affc137f.png) so that the plugin manager could not load plugin correctly 因此,插件加载器无法正确加载插件 ### What you expected to happen * we should load from settings.xml firstly 1. load from `${user.home}/.m2/settings.xml` 2. if `${user.home}/.m2/settings.xml` not exists, load from `${MAVEN_HOME}/conf/settings.xml` * if settings.xml not exists or the node `localRepository` not exists in settings.xml, use default value ### How to reproduce * set local repository into another path in ide * start standalone 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/6625
https://github.com/apache/dolphinscheduler/pull/6626
f5d8356dc310ab942039834ceff6af1cf1f9f83c
61a8726ccc42a2adba8cdc859e3c3271099fdade
"2021-10-28T06:34:54Z"
java
"2021-11-03T10:46:25Z"
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,616
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/registry/WorkerRegistryClient.java"]
[Bug] [Worker] Worker fakes death when it stop itself 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 I try a stress test, I found that worker fakes death and print nothing to log file. At the same time, worker is not exist in zk node path and Master can't dispatch task because no worker. That's the log before worker stop: ``` [ERROR] 2021-10-15 15:10:57.590 org.apache.dolphinscheduler.server.worker.WorkerServer:[223] - worker server stop exception org.apache.dolphinscheduler.spi.register.RegistryException: zookeeper delete key error at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.delete(ZookeeperRegistry.java:272) at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.remove(ZookeeperRegistry.java:199) at org.apache.dolphinscheduler.service.registry.RegistryCenter.remove(RegistryCenter.java:157) at org.apache.dolphinscheduler.server.worker.registry.WorkerRegistryClient.unRegistry(WorkerRegistryClient.java:128) at org.apache.dolphinscheduler.server.worker.WorkerServer.close(WorkerServer.java:219) at org.apache.dolphinscheduler.server.worker.WorkerServer.stop(WorkerServer.java:229) at org.apache.dolphinscheduler.server.registry.HeartBeatTask.run(HeartBeatTask.java:81) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 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: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /dolphinscheduler/nodes/worker/default/172.28.132.15:1234 at org.apache.zookeeper.KeeperException.create(KeeperException.java:102) at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:882) at org.apache.curator.framework.imps.DeleteBuilderImpl$5.call(DeleteBuilderImpl.java:274) at org.apache.curator.framework.imps.DeleteBuilderImpl$5.call(DeleteBuilderImpl.java:268) at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67) at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81) at org.apache.curator.framework.imps.DeleteBuilderImpl.pathInForeground(DeleteBuilderImpl.java:265) at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:249) at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:34) at org.apache.dolphinscheduler.plugin.registry.zookeeper.ZookeeperRegistry.delete(ZookeeperRegistry.java:267) ... 13 common frames omitted ``` Maybe set stop single to true after close zk and netty successfully is better. ### What you expected to happen worker can stop itself successfully when it is judged dead server. ### How to reproduce do some stress test with many task running. ### 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/6616
https://github.com/apache/dolphinscheduler/pull/6621
03aaef0fe6548e828144e6e5ac8ceb8bd6b650ad
06e8e24708e2c2a2b9367b9e76a4dc0cec4cdfc6
"2021-10-27T10:10:53Z"
java
"2021-10-29T09:44:06Z"
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,605
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java", "dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/utils/PropertyUtils.java"]
yarn applications: application_1634958933716_0113 , query status failed
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened ### operate when I run a shell for testing mapreduce in ds (fee image below),ds web log shows : yarn status get failed. shell content : `hadoop jar /opt/app/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar pi 10 10` ![360截图17520712172535](https://user-images.githubusercontent.com/20452924/138829616-ce15ed7b-6ad1-46b3-be4d-c45025294689.png) ### ds web log [INFO] 2021-10-26 10:34:28.745 - [taskAppId=TASK-1-6-89]:[115] - create dir success /exec/process/1/1/6/89 [INFO] 2021-10-26 10:34:28.754 - [taskAppId=TASK-1-6-89]:[88] - shell task params {"rawScript":"hadoop jar /opt/app/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar pi 10 10","localParams":[],"resourceList":[]} [INFO] 2021-10-26 10:34:28.758 - [taskAppId=TASK-1-6-89]:[154] - raw script : hadoop jar /opt/app/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar pi 10 10 [INFO] 2021-10-26 10:34:28.759 - [taskAppId=TASK-1-6-89]:[155] - task execute path : /exec/process/1/1/6/89 [INFO] 2021-10-26 10:34:28.760 - [taskAppId=TASK-1-6-89]:[87] - tenantCode user:root, task dir:1_6_89 [INFO] 2021-10-26 10:34:28.760 - [taskAppId=TASK-1-6-89]:[92] - create command file:/exec/process/1/1/6/89/1_6_89.command [INFO] 2021-10-26 10:34:28.760 - [taskAppId=TASK-1-6-89]:[111] - command : #!/bin/sh BASEDIR=$(cd `dirname $0`; pwd) cd $BASEDIR source /opt/app/dolphinscheduler/conf/env/dolphinscheduler_env.sh /exec/process/1/1/6/89/1_6_89_node.sh [INFO] 2021-10-26 10:34:28.764 - [taskAppId=TASK-1-6-89]:[330] - task run command: sudo -u root sh /exec/process/1/1/6/89/1_6_89.command [INFO] 2021-10-26 10:34:28.773 - [taskAppId=TASK-1-6-89]:[211] - process start, process id is: 19627 [INFO] 2021-10-26 10:34:29.774 - [taskAppId=TASK-1-6-89]:[138] - -> SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/app/hadoop-2.9.2/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/app/tez/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] Number of Maps = 10 Samples per Map = 10 [INFO] 2021-10-26 10:34:31.775 - [taskAppId=TASK-1-6-89]:[138] - -> Wrote input for Map #0 Wrote input for Map #1 Wrote input for Map #2 Wrote input for Map #3 Wrote input for Map #4 Wrote input for Map #5 Wrote input for Map #6 Wrote input for Map #7 Wrote input for Map #8 Wrote input for Map #9 Starting Job 21/10/26 10:34:31 INFO client.RMProxy: Connecting to ResourceManager at hadoop47/192.168.80.47:8032 [INFO] 2021-10-26 10:34:32.776 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:32 INFO input.FileInputFormat: Total input files to process : 10 21/10/26 10:34:32 INFO mapreduce.JobSubmitter: number of splits:10 21/10/26 10:34:32 INFO Configuration.deprecation: yarn.resourcemanager.system-metrics-publisher.enabled is deprecated. Instead, use yarn.system-metrics-publisher.enabled 21/10/26 10:34:32 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1634958933716_0113 21/10/26 10:34:32 INFO impl.YarnClientImpl: Submitted application application_1634958933716_0113 21/10/26 10:34:32 INFO mapreduce.Job: The url to track the job: http://hadoop47:8088/proxy/application_1634958933716_0113/ 21/10/26 10:34:32 INFO mapreduce.Job: Running job: job_1634958933716_0113 [INFO] 2021-10-26 10:34:40.785 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:39 INFO mapreduce.Job: Job job_1634958933716_0113 running in uber mode : false 21/10/26 10:34:39 INFO mapreduce.Job: map 0% reduce 0% [INFO] 2021-10-26 10:34:56.789 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:56 INFO mapreduce.Job: map 30% reduce 0% [INFO] 2021-10-26 10:34:57.790 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:57 INFO mapreduce.Job: map 100% reduce 0% [INFO] 2021-10-26 10:35:02.715 - [taskAppId=TASK-1-6-89]:[445] - find app id: application_1634958933716_0113 [INFO] 2021-10-26 10:35:02.715 - [taskAppId=TASK-1-6-89]:[402] - check yarn application status, appId:application_1634958933716_0113 [ERROR] 2021-10-26 10:35:02.720 - [taskAppId=TASK-1-6-89]:[418] - yarn applications: application_1634958933716_0113 , query status failed, exception:{} java.lang.NullPointerException: null at org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:423) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:404) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:230) at org.apache.dolphinscheduler.server.worker.task.shell.ShellTask.handle(ShellTask.java:101) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139) 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) [INFO] 2021-10-26 10:35:02.720 - [taskAppId=TASK-1-6-89]:[238] - process has exited, execute path:/exec/process/1/1/6/89, processId:19627 ,exitStatusCode:-1 ,processWaitForStatus:true ,processExitValue:0 [INFO] 2021-10-26 10:35:02.791 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:35:02 INFO mapreduce.Job: map 100% reduce 100% 21/10/26 10:35:02 INFO mapreduce.Job: Job job_1634958933716_0113 completed successfully 21/10/26 10:35:02 INFO mapreduce.Job: Counters: 49 File System Counters FILE: Number of bytes read=226 FILE: Number of bytes written=2205654 FILE: Number of read operations=0 FILE: Number of large read operations=0 FILE: Number of write operations=0 HDFS: Number of bytes read=2630 HDFS: Number of bytes written=215 HDFS: Number of read operations=43 HDFS: Number of large read operations=0 HDFS: Number of write operations=3 Job Counters Launched map tasks=10 Launched reduce tasks=1 Data-local map tasks=10 Total time spent by all maps in occupied slots (ms)=149819 Total time spent by all reduces in occupied slots (ms)=3113 Total time spent by all map tasks (ms)=149819 Total time spent by all reduce tasks (ms)=3113 Total vcore-milliseconds taken by all map tasks=149819 Total vcore-milliseconds taken by all reduce tasks=3113 Total megabyte-milliseconds taken by all map tasks=153414656 Total megabyte-milliseconds taken by all reduce tasks=3187712 Map-Reduce Framework Map input records=10 Map output records=20 Map output bytes=180 Map output materialized bytes=280 Input split bytes=1450 Combine input records=0 Combine output records=0 Reduce input groups=2 Reduce shuffle bytes=280 Reduce input records=20 Reduce output records=0 Spilled Records=40 Shuffled Maps =10 Failed Shuffles=0 Merged Map outputs=10 GC time elapsed (ms)=6825 CPU time spent (ms)=4980 Physical memory (bytes) snapshot=3529900032 Virtual memory (bytes) snapshot=22377988096 Total committed heap usage (bytes)=2413297664 Shuffle Errors BAD_ID=0 CONNECTION=0 IO_ERROR=0 WRONG_LENGTH=0 WRONG_MAP=0 WRONG_REDUCE=0 File Input Format Counters Bytes Read=1180 File Output Format Counters Bytes Written=97 Job Finished in 30.695 seconds Estimated value of Pi is 3.20000000000000000000 ### worker debug log [DEBUG] 2021-10-26 10:34:56.708 org.apache.zookeeper.ClientCnxn:[846] - Reading reply sessionid:0x20015bfe8a400c9, packet:: clientPath:/dolphinscheduler/nodes/worker/default/192.168.80.49:1234 serverPath:/dolphinscheduler/nodes/worker/default/192.168.80.49:1234 finished:false header:: 2933,4 replyHeader:: 2933,17180717039,0 request:: '/dolphinscheduler/nodes/worker/default/192.168.80.49:1234,T response:: #302e332c302e39312c302e35392c312e33372c382e302c302e332c323032312d31302d32362030393a32373a30362c323032312d31302d32362031303a33343a35362c302c34303937,s{17180707701,17180717039,1635211626683,1635215696700,407,0,0,144139102061854920,73,0,17180707701} [DEBUG] 2021-10-26 10:34:56.708 org.apache.dolphinscheduler.service.zk.ZookeeperCachedOperator:[62] - zookeeperListener:org.apache.dolphinscheduler.server.master.registry.ServerNodeManager$WorkerGroupNodeListener triggered [DEBUG] 2021-10-26 10:34:56.709 org.apache.curator.framework.recipes.cache.TreeCache:[396] - processResult: CuratorEventImpl{type=GET_DATA, resultCode=0, path='/dolphinscheduler/nodes/worker/default/192.168.80.49:1234', name='null', children=null, context=null, stat=17180707701,17180717039,1635211626683,1635215696700,407,0,0,144139102061854920,73,0,17180707701 , data=[48, 46, 51, 44, 48, 46, 57, 49, 44, 48, 46, 53, 57, 44, 49, 46, 51, 55, 44, 56, 46, 48, 44, 48, 46, 51, 44, 50, 48, 50, 49, 45, 49, 48, 45, 50, 54, 32, 48, 57, 58, 50, 55, 58, 48, 54, 44, 50, 48, 50, 49, 45, 49, 48, 45, 50, 54, 32, 49, 48, 58, 51, 52, 58, 53, 54, 44, 48, 44, 52, 48, 57, 55], watchedEvent=null, aclList=null, opResults=null} [DEBUG] 2021-10-26 10:34:56.709 org.apache.curator.framework.recipes.cache.TreeCache:[857] - publishEvent: TreeCacheEvent{type=NODE_UPDATED, data=ChildData{path='/dolphinscheduler/nodes/worker/default/192.168.80.49:1234', stat=17180707701,17180717039,1635211626683,1635215696700,407,0,0,144139102061854920,73,0,17180707701 , data=[48, 46, 51, 44, 48, 46, 57, 49, 44, 48, 46, 53, 57, 44, 49, 46, 51, 55, 44, 56, 46, 48, 44, 48, 46, 51, 44, 50, 48, 50, 49, 45, 49, 48, 45, 50, 54, 32, 48, 57, 58, 50, 55, 58, 48, 54, 44, 50, 48, 50, 49, 45, 49, 48, 45, 50, 54, 32, 49, 48, 58, 51, 52, 58, 53, 54, 44, 48, 44, 52, 48, 57, 55]}} [INFO] 2021-10-26 10:34:56.789 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:56 INFO mapreduce.Job: map 30% reduce 0% [INFO] 2021-10-26 10:34:57.790 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:34:57 INFO mapreduce.Job: map 100% reduce 0% [DEBUG] 2021-10-26 10:34:58.313 org.apache.zookeeper.ClientCnxn:[745] - Got ping response for sessionid: 0x30015c0a38d009d after 0ms [INFO] 2021-10-26 10:35:02.715 - [taskAppId=TASK-1-6-89]:[445] - find app id: application_1634958933716_0113 [INFO] 2021-10-26 10:35:02.715 - [taskAppId=TASK-1-6-89]:[402] - check yarn application status, appId:application_1634958933716_0113 [DEBUG] 2021-10-26 10:35:02.715 org.apache.dolphinscheduler.common.utils.HadoopUtils:[211] - yarn application url:http://hadoop47:%s/ws/v1/cluster/apps/%s, applicationId:application_1634958933716_0113 [ERROR] 2021-10-26 10:35:02.720 org.apache.dolphinscheduler.common.utils.HttpUtils:[73] - Connect to hadoop47:80 [hadoop47/192.168.80.47] failed: Connection refused (Connection refused) org.apache.http.conn.HttpHostConnectException: Connect to hadoop47:80 [hadoop47/192.168.80.47] failed: Connection refused (Connection refused) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) at org.apache.dolphinscheduler.common.utils.HttpUtils.get(HttpUtils.java:60) at org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:420) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:404) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:230) at org.apache.dolphinscheduler.server.worker.task.shell.ShellTask.handle(ShellTask.java:101) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139) 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.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) ... 20 common frames omitted [ERROR] 2021-10-26 10:35:02.720 - [taskAppId=TASK-1-6-89]:[418] - yarn applications: application_1634958933716_0113 , query status failed, exception:{} java.lang.NullPointerException: null at org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:423) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:404) at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:230) at org.apache.dolphinscheduler.server.worker.task.shell.ShellTask.handle(ShellTask.java:101) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:139) 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) [INFO] 2021-10-26 10:35:02.720 - [taskAppId=TASK-1-6-89]:[238] - process has exited, execute path:/exec/process/1/1/6/89, processId:19627 ,exitStatusCode:-1 ,processWaitForStatus:true ,processExitValue:0 [INFO] 2021-10-26 10:35:02.720 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[147] - task instance id : 89,task final status : FAILURE [INFO] 2021-10-26 10:35:02.721 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[185] - develop mode is: false [INFO] 2021-10-26 10:35:02.721 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[203] - exec local path: /exec/process/1/1/6/89 cleared. [INFO] 2021-10-26 10:35:02.791 - [taskAppId=TASK-1-6-89]:[138] - -> 21/10/26 10:35:02 INFO mapreduce.Job: map 100% reduce 100% 21/10/26 10:35:02 INFO mapreduce.Job: Job job_1634958933716_0113 completed successfully 21/10/26 10:35:02 INFO mapreduce.Job: Counters: 49 File System Counters FILE: Number of bytes read=226 FILE: Number of bytes written=2205654 FILE: Number of read operations=0 FILE: Number of large read operations=0 FILE: Number of write operations=0 HDFS: Number of bytes read=2630 HDFS: Number of bytes written=215 HDFS: Number of read operations=43 HDFS: Number of large read operations=0 HDFS: Number of write operations=3 Job Counters Launched map tasks=10 Launched reduce tasks=1 Data-local map tasks=10 Total time spent by all maps in occupied slots (ms)=149819 Total time spent by all reduces in occupied slots (ms)=3113 Total time spent by all map tasks (ms)=149819 Total time spent by all reduce tasks (ms)=3113 Total vcore-milliseconds taken by all map tasks=149819 Total vcore-milliseconds taken by all reduce tasks=3113 Total megabyte-milliseconds taken by all map tasks=153414656 Total megabyte-milliseconds taken by all reduce tasks=3187712 Map-Reduce Framework Map input records=10 Map output records=20 Map output bytes=180 Map output materialized bytes=280 Input split bytes=1450 Combine input records=0 Combine output records=0 Reduce input groups=2 Reduce shuffle bytes=280 Reduce input records=20 Reduce output records=0 Spilled Records=40 Shuffled Maps =10 Failed Shuffles=0 Merged Map outputs=10 GC time elapsed (ms)=6825 CPU time spent (ms)=4980 Physical memory (bytes) snapshot=3529900032 Virtual memory (bytes) snapshot=22377988096 Total committed heap usage (bytes)=2413297664 Shuffle Errors BAD_ID=0 CONNECTION=0 IO_ERROR=0 WRONG_LENGTH=0 WRONG_MAP=0 WRONG_REDUCE=0 File Input Format Counters Bytes Read=1180 File Output Format Counters Bytes Written=97 Job Finished in 30.695 seconds Estimated value of Pi is 3.20000000000000000000 ### What you expected to happen Yarn application_1634958933716_0113 status can always be get; ![360截图16380508205068](https://user-images.githubusercontent.com/20452924/138833771-460534f6-a830-44d1-86aa-5970217eb712.png) ### How to reproduce Server: KunPeng OS centos7 DS release:1.3.9 Hadoop version :2.9.2 Yarn Ha: False conf/common.properties # resourcemanager port, the default value is 8088 if not specified resource.manager.httpaddress.port= # if resourcemanager HA is enabled, please set the HA IPs; if resourcemanager is single, keep this value empty yarn.resourcemanager.ha.rm.ids= # if resourcemanager HA is enabled or not use resourcemanager, please keep the default value; If resourcemanager is single, you only need to replace ds1 to actual resourcemanager hostname yarn.application.status.address=http://hadoop47:%s/ws/v1/cluster/apps/%s ### Anything else some times fail ; high probability of this error ### 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/6605
https://github.com/apache/dolphinscheduler/pull/6661
00813b0a696bcd50d484670cf191efcb8921648f
802fc498b533f855a19ceebb6a3cf0e9d6c57fea
"2021-10-26T08:09:42Z"
java
"2021-11-19T02:58:17Z"
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,591
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"]
[Bug] [API] import process definition 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 ``` 2021-10-22 14:28:39.421 ERROR 27304 --- [qtp407976995-47] o.a.d.a.exceptions.ApiExceptionHandler : import process definition error java.lang.NullPointerException: null at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.checkAndImport(ProcessDefinitionServiceImpl.java:895) ~[dolphinscheduler-api-2.0.0-alpha.jar:2.0.0-alpha] at org.apache.dolphinscheduler.api.service.impl.ProcessDefinitionServiceImpl.importProcessDefinition(ProcessDefinitionServiceImpl.java:827) ~[dolphinscheduler-api-2.0.0-alpha.jar:2.0.0-alpha] ``` ### What you expected to happen import process definition success. ### How to reproduce import process definition whit the json file you output from 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/6591
https://github.com/apache/dolphinscheduler/pull/6592
adf49e6a5f102094007fff245824f6885990cff8
0d26724455316da665c0c8501b19531ada663779
"2021-10-22T10:27:25Z"
java
"2021-10-26T09:35:06Z"
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,502
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Bug] [MasterServer] cmdParam NPE when constructProcessInstance on SCHEDULER 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 ``` [ERROR] 2021-10-11 23:38:00.433 org.apache.dolphinscheduler.server.master.runner.MasterSchedulerService:[211] - scan command error java.lang.NullPointerException: null at org.apache.dolphinscheduler.service.process.ProcessService.constructProcessInstance(ProcessService.java:804) at org.apache.dolphinscheduler.service.process.ProcessService.handleCommand(ProcessService.java:216) 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$$c9f32f1c.handleCommand(<generated>) at org.apache.dolphinscheduler.server.master.runner.MasterSchedulerService.scheduleProcess(MasterSchedulerService.java:189) at org.apache.dolphinscheduler.server.master.runner.MasterSchedulerService.run(MasterSchedulerService.java:169) ``` ### What you expected to happen not NPE when run ### How to reproduce run some 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/6502
https://github.com/apache/dolphinscheduler/pull/6504
db04a5b04df8aa5754741c6dd456579d743af1e9
fea7874f95028325f52300949295260cafab4a64
"2021-10-12T02:35:18Z"
java
"2021-10-12T06:42:49Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
6,501
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkFlowLineageMapper.xml"]
[Bug] [Dao] Sql is not correct in WorkFlowLineageMapper.xml
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened `Select "" as xx` seems a wrong SQL in MyBatis, should change to `Select '' as xx` https://github.com/apache/dolphinscheduler/blob/db04a5b04df8aa5754741c6dd456579d743af1e9/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkFlowLineageMapper.xml#L32-L63 ### What you expected to happen Cannot run `WorkFlowLineageMapper#queryWorkFlowLineageByCode`. ### How to reproduce Execute `WorkFlowLineageMapper#queryWorkFlowLineageByCode`, `WorkFlowLineageMapper#queryWorkFlowLineageByLineage` ### Anything else See exception log ### 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/6501
https://github.com/apache/dolphinscheduler/pull/6576
095e2e206a8d428a0048baa38704a3de3a1e037b
18b324e4d578b76376f6f09fbca6961430f88700
"2021-10-11T15:34:55Z"
java
"2021-10-21T03:25:26Z"
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,463
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue"]
[Bug] [UI] The front-end verification task name already 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 The front-end verification task name already exists ### What you expected to happen The task name can have the same ### How to reproduce remove front-end verification in the formModel.vue ### 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/6463
https://github.com/apache/dolphinscheduler/pull/6464
c8ee2df2164308a20bb9234ac719c03f4652f433
6e70e51e9f730cff8653496a28c76e84823403c7
"2021-10-08T10:13:22Z"
java
"2021-10-11T02:07:57Z"
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,393
[".github/actions/translate-on-issue", ".gitmodules"]
[Bug] [GA] Missing issue action translate-on-issue
### 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 new issue, such as #6390, I received a mail list said my issue-robot jobs failed. I wonder what jobs we runs after issue created, and why it alway faileds, related discussions https://github.com/apache/dolphinscheduler/discussions/6391 ### What you expected to happen Issue bot should not failed when create new issue ### How to reproduce Create a new issue ### 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/6393
https://github.com/apache/dolphinscheduler/pull/6394
c013b49e728d942bf22574f1b59d4c5a9e69a9f3
c05e407b15fd7d64fb57471e39c6647952721d4c
"2021-09-28T07:52:51Z"
java
"2021-09-28T13:06:50Z"
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,331
["dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java"]
[Bug] [TaskPlugin] PSQLException: statement has been closed when run sql task
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened branch: dev model: dev-run, master-server、worker-server、api-server run by idea dolphinscheduler-server worker.properties config: `task.plugin.binding=./dolphinscheduler-task-plugin/dolphinscheduler-task-shell/pom.xml,./dolphinscheduler-task-plugin/dolphinscheduler-task-python/pom.xml,./dolphinscheduler-task-plugin/dolphinscheduler-task-sql/pom.xml` dolphinscheduler-task-sql pom.xml add jar dependency: ``` <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> </dependency>` ``` exception: ``` [INFO] 2021-09-24 15:54:37.813 /home/csf/javapath/dolphinscheduler/logs/754963903078400_1/28/52.log:[386] - prepare statement replace sql : select count(1) from t_ds_task_instance [ERROR] 2021-09-24 15:54:37.815 /home/csf/javapath/dolphinscheduler/logs/754963903078400_1/28/52.log:[202] - execute sql error: 这个 statement 已经被关闭。 [ERROR] 2021-09-24 15:54:37.815 /home/csf/javapath/dolphinscheduler/logs/754963903078400_1/28/52.log:[153] - sql task error: org.postgresql.util.PSQLException: 这个 statement 已经被关闭。 [ERROR] 2021-09-24 15:54:37.817 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[212] - task scheduler failure org.postgresql.util.PSQLException: 这个 statement 已经被关闭。 at org.postgresql.jdbc.PgStatement.checkClosed(PgStatement.java:694) at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:137) at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:106) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:190) at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.handle(SqlTask.java:147) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:198) ``` ### What you expected to happen run sql task success ### How to reproduce create a process contains sql task with pgsql source, 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/6331
https://github.com/apache/dolphinscheduler/pull/6334
89cc045961477168ac8ff74c5d6604b606214775
61c64619949b2098f7efcd2cfcc701ef98564083
"2021-09-24T08:21:29Z"
java
"2021-09-24T10:39:04Z"
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,316
["dolphinscheduler-server/src/main/resources/config/install_config.conf"]
[Bug] [Script] keytab username will not be set correctly if with @ sign
### 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 use defalut install.sh and install_config.conf, the keytab username will not be replaced correctly,which blame > sed: -e expression #1, char 62: unknown option to `s' ### What you expected to happen keytab username can be set correctly ### How to reproduce the easiest way is run below in a shell: ```shell keytabUserName=@ sed -i "s@^login.user.keytab.username=.*@login.user.keytab.username=${keytabUserName}@g" conf/common.properties ``` ### 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/6316
https://github.com/apache/dolphinscheduler/pull/6317
99f593cf42d6abd4312c74511f60ac8a2eeafb25
c855a5926ceb9cfb6efb0c901c8d92fe3774e999
"2021-09-23T11:20:40Z"
java
"2021-09-23T14:43:58Z"
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"