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 | 5,322 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTaskTest.java", "pom.xml"] | [Bug][worker] Insert into clickhouse table successfully but process status turn to failed and log exception | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append the description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
DATASORUCE: clickhouse
My process only has one SQL like:
`INSERT INTO test
SELECT dt, count(1) as c
FROM dau
GROUP BY dt
ORDER BY dt`
The process failed but the data has been successfully inserted into the table.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Create a new process with only one SQL
`INSERT INTO test
SELECT dt, count(1) as c
FROM dau
GROUP BY dt
ORDER BY dt`
2. Save and run it.
3. See error below
[INFO] 2021-04-19 17:49:57.364 - [taskAppId=TASK-2-9-10]:[115] - create dir success /tmp/dolphinscheduler/exec/process/1/2/9/10
[INFO] 2021-04-19 17:49:57.367 - [taskAppId=TASK-2-9-10]:[88] - sql task params {"postStatements":[],"connParams":"","receiversCc":"","udfs":"","type":"CLICKHOUSE","title":"test","sql":"INSERT INTO test\nSELECT dt, count(1) as c\n FROM dau\n GROUP BY dt\n ORDER BY dt\n","preStatements":[],"sqlType":"0","receivers":"xxx@xxx.com","datasource":1,"showType":"TABLE","localParams":[]}
[INFO] 2021-04-19 17:49:57.369 - [taskAppId=TASK-2-9-10]:[104] - Full sql parameters: SqlParameters{type='CLICKHOUSE', datasource=1, sql='INSERT INTO test
SELECT dt, count(1) as c
FROM dau
GROUP BY dt
ORDER BY dt
', sqlType=0, udfs='', showType='TABLE', connParams='', title='test', receivers='xxx@xxx.com', receiversCc='', preStatements=[], postStatements=[]}
[INFO] 2021-04-19 17:49:57.369 - [taskAppId=TASK-2-9-10]:[105] - sql type : CLICKHOUSE, datasource : 1, sql : INSERT INTO test
SELECT dt, count(1) as c
FROM dau
GROUP BY dt
ORDER BY dt
, localParams : [],udfs : ,showType : TABLE,connParams :
[INFO] 2021-04-19 17:49:57.369 - [taskAppId=TASK-2-9-10]:[176] - SQL title : test
[INFO] 2021-04-19 17:49:57.370 - [taskAppId=TASK-2-9-10]:[498] - after replace sql , preparing : INSERT INTO test
SELECT dt, count(1) as c
FROM dau
GROUP BY dt
ORDER BY dt
[INFO] 2021-04-19 17:49:57.370 - [taskAppId=TASK-2-9-10]:[503] - Sql Params are replaced sql , parameters:
[INFO] 2021-04-19 17:49:57.370 - [taskAppId=TASK-2-9-10]:[52] - can't find udf function resource
[INFO] 2021-04-19 17:49:57.381 - [taskAppId=TASK-2-9-10]:[414] - prepare statement replace sql : ru.yandex.clickhouse.ClickHousePreparedStatementImpl@65fc3a50
[ERROR] 2021-04-19 17:49:57.388 - [taskAppId=TASK-2-9-10]:[243] - execute sql error
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.resultProcess(SqlTask.java:258)
at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:233)
at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.handle(SqlTask.java:139)
at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:133)
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-04-19 17:49:57.388 - [taskAppId=TASK-2-9-10]:[145] - sql task error
java.lang.RuntimeException: execute sql error
at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:244)
at org.apache.dolphinscheduler.server.worker.task.sql.SqlTask.handle(SqlTask.java:139)
at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:133)
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)
**Expected behavior**
A clear and concise description of what you expected to happen.
Data inserted into the table and process status should be successful.
**Screenshots**
If applicable, add screenshots to help explain your problem.
![1618827014390](https://user-images.githubusercontent.com/4523603/115220161-d04fd500-a13a-11eb-9a5e-471897e4180a.jpg)
![1618827054023](https://user-images.githubusercontent.com/4523603/115220193-d776e300-a13a-11eb-95ce-61b719789c2e.jpg)
![1618827080868](https://user-images.githubusercontent.com/4523603/115220240-e2ca0e80-a13a-11eb-9b79-547627751944.jpg)
**Which version of Dolphin Scheduler:**
-1.3.5
**Additional context**
Add any other context about the problem here.
No matter deployed by docker or k8s, both met this problem.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/5322 | https://github.com/apache/dolphinscheduler/pull/5324 | e57ee658e842ab8c5cd111f35cd6c71ed7065ecd | abdd2337b144df149a2031c3b26862ae41b4e936 | "2021-04-19T10:13:44Z" | java | "2021-04-22T04:02:32Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,310 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/ExecutorDispatcher.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/host/LowerWeightHostManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/registry/HeartBeatTask.java"] | [Improvement][Server] The log "load is too high or availablePhysicalMemorySize(G) is too low" is not clear | **Describe the question**
The log `load is too high or availablePhysicalMemorySize(G) is too low` is not clear
**What are the current deficiencies and the benefits of improvement**
- The updated log `current cpu load average {} is too high or available memory {}G is too low, under max.cpuload.avg={} and reserved.memory={}G` will be more clear
**Which version of DolphinScheduler:**
-[1.3.x]
-[dev]
**Describe alternatives you've considered**
A clear and concise description of any alternative improvement solutions you've considered.
| https://github.com/apache/dolphinscheduler/issues/5310 | https://github.com/apache/dolphinscheduler/pull/5311 | e92e29ef9a126d1d5660011545056d4dd806d105 | 83519bdfc3a5cdd40f2d538d64ab6f8221bef246 | "2021-04-16T16:01:16Z" | java | "2021-04-19T02:29:32Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,309 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/os/OSUtilsTest.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/OSUtilsTest.java", "dolphinscheduler-dist/release-docs/LICENSE", "pom.xml", "tools/dependencies/known-dependencies.txt"] | [Bug][Common] memoryUsage is `-33%` | **To Reproduce**
`memoryUsage` is `-33%`
**Expected behavior**
Bug fixed
**Screenshots**
![image](https://user-images.githubusercontent.com/4902714/115050583-779bf480-9f0e-11eb-8eed-4abcc8df3fc4.png)
**Which version of Dolphin Scheduler:**
-[1.3.x]
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5309 | https://github.com/apache/dolphinscheduler/pull/5312 | 5ef1f731b7f3b48915859b7a9595ec42df614c48 | e92e29ef9a126d1d5660011545056d4dd806d105 | "2021-04-16T15:51:04Z" | java | "2021-04-19T02:24:54Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,304 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java"] | [Improvement][dao]When I search for the keyword Modify User, the web UI shows empty |
**Describe the question**
The search function in the project module is currently only fuzzy matching by workflow name
**What are the current deficiencies and the benefits of improvement**
- Keyword query is too single, we can fuzzy query by each column name, similar to yarn web UI interface
**Which version of DolphinScheduler:**
-[1.3.x]
-[dev]
**Describe alternatives you've considered**
We modify the source code to support fuzzy search for each column. If the amount of data is huge, we can consider introducing Elasticsearch components as a search engine
<img width="814" alt="1618562781(1)" src="https://user-images.githubusercontent.com/22792154/115001364-25d77800-9ed6-11eb-8306-791d95d79d7b.png">
| https://github.com/apache/dolphinscheduler/issues/5304 | https://github.com/apache/dolphinscheduler/pull/5952 | 1887bde1ebf8249de153890e78d449582e3eaf4a | 04423260a16b03221e4db23f3d99e5d21212fa29 | "2021-04-16T09:11:27Z" | java | "2021-08-17T16:53:12Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,292 | ["dolphinscheduler-dist/release-docs/LICENSE", "pom.xml", "tools/dependencies/known-dependencies.txt"] | There is a vulnerability in postgresql 42.1.4 ,upgrade recommended | https://github.com/apache/dolphinscheduler/blob/ac15f45b0b51b115ebd02aa3dd739d53c99523b5/pom.xml#L92
CVE-2020-13692 CVE-2018-10936
Recommended upgrade version:42.2.13 | https://github.com/apache/dolphinscheduler/issues/5292 | https://github.com/apache/dolphinscheduler/pull/5318 | 837c9ba2cc48377654031721c9da2ab7410e5390 | f82da57277c825d4588a6a0654b7730d333a5b18 | "2021-04-16T03:13:46Z" | java | "2021-04-20T07:04:29Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,269 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/CommandMapper.xml", "sql/dolphinscheduler_mysql.sql", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql"] | [Question] Useless property in the `Command` and `ErrorCommand` table |
**Useless property in the `Command` and `ErrorCommand` table**
I'm working on adopting the table field to our company database specification: all the fields could not be `null`.
So I found the `Command` and `ErrorCommand` table has `dependence` in the database, but I cannot found [the bean property in java bean](https://github.com/apache/incubator-dolphinscheduler/blob/5d264c9f208a089bc1f23be5f3077d2dab2b0f40/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/Command.java). I found the [t_ds_command](https://github.com/apache/incubator-dolphinscheduler/blob/5d264c9f208a089bc1f23be5f3077d2dab2b0f40/sql/dolphinscheduler_mysql.sql#L330) and [t_ds_error_command](https://github.com/apache/incubator-dolphinscheduler/blob/5d264c9f208a089bc1f23be5f3077d2dab2b0f40/sql/dolphinscheduler_mysql.sql#L378) DDL file defined this field.
**Which version of DolphinScheduler:**
- dev branch
**Requirement or improvement**
- I think it should be removed, Does I miss anything?
| https://github.com/apache/dolphinscheduler/issues/5269 | https://github.com/apache/dolphinscheduler/pull/5284 | 029d3eb81404dd0fbf89716e00dda56993dd337a | b6453da298bff491b02a3b690674dc62bcb84cd3 | "2021-04-13T13:09:06Z" | java | "2021-04-15T12:15:20Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,266 | ["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"] | [Bug][master-server] If start a process instance form fail node or stop node ,the param will be init. | If start a process instance form fail node or stop node ,the param will be init.
如果从失败节点开始执行,或从暂定节点开始执行,已经执行过的节点处理过的参数会被初始化。 | https://github.com/apache/dolphinscheduler/issues/5266 | https://github.com/apache/dolphinscheduler/pull/5267 | 94a08c8f327bed2b53240de3f6ba9018fed74fa9 | 6dbbf6d55d105485b04d2b12533dbbc6e4c9a68f | "2021-04-13T07:22:38Z" | java | "2021-04-16T15:14:22Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,261 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/model/TaskNode.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/utils/DagHelperTest.java"] | [Bug][server-api] copy the node ,the preTasks is error | When we copy a node form process definition,the value preTasks is the source node .when we link the noe previous node ,this value would't change .when start a process instance from fail node ,this error may cause that some copy node which agter the failed node will not execute. | https://github.com/apache/dolphinscheduler/issues/5261 | https://github.com/apache/dolphinscheduler/pull/5264 | f82da57277c825d4588a6a0654b7730d333a5b18 | 5f1fc462c9ba321736f9fe9a1bfc057d1da894d0 | "2021-04-12T12:33:58Z" | java | "2021-04-20T07:17:17Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,241 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/DataxUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/DataxUtilsTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTaskTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue", "pom.xml"] | Bug: create dataX job json error | [https://github.com/apache/incubator-dolphinscheduler/blob/dev/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTask.java](url)
line:313-314
Reader and Writer in datax job json file is json string. DataX parse job json file failed. | https://github.com/apache/dolphinscheduler/issues/5241 | https://github.com/apache/dolphinscheduler/pull/5243 | faa111674fb77bc8e4486e62a578b129e403012b | cc7a4446f50a247f054a9671648e948c654dfe65 | "2021-04-09T07:24:56Z" | java | "2021-04-14T03:31:40Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,235 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/configuration/AppConfiguration.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/configuration/TrafficConfiguration.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/interceptor/RateLimitInterceptor.java", "dolphinscheduler-api/src/main/resources/application-api.properties", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/configuration/TrafficConfigurationTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/interceptor/RateLimitInterceptorTest.java", "pom.xml"] | [Improvement][ApiServer] Traffic limit | **Describe the question**
After support OpenAPI, it is necessary to control the traffic, otherwise the service may be breakdown.
**What are the current deficiencies and the benefits of improvement**
- Maybe we can add global request rate limit. And in the future, we can consider to support tenant-level rate control
**Which version of DolphinScheduler:**
-[1.3.6-preview]
| https://github.com/apache/dolphinscheduler/issues/5235 | https://github.com/apache/dolphinscheduler/pull/5307 | 07e612c8777447349ed074ec7bb4384c647df1d8 | 7843ed40873bcb4b7f2e1b05f5773e1fc2efa51f | "2021-04-08T13:44:34Z" | java | "2021-04-16T14:41:02Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,233 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java"] | [Bug]If commandMap doesn't contains StartParams,REPEAT RUNNING processInstance will throw exceprion | [Bug]if commandMap doesn't contains CMD_PARAM_START_PARAMS,REPEAT RUNNING processInstance will throw exceprion.
The commandMap contains key ,except the key of StartParams ,when REPEAT RUNNING processInstance will throw exceprion . | https://github.com/apache/dolphinscheduler/issues/5233 | https://github.com/apache/dolphinscheduler/pull/5234 | 2f1f193ba85abb7d4738f4f10ad05e6d510132c5 | 5c898e38ed62b0f8d034d1e910be4b45692dae8e | "2021-04-08T08:40:01Z" | java | "2021-04-08T10:58:43Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,229 | ["dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/LoggerServiceImpl.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/resources/common.properties", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/WorkerServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/log/LoggerServerTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"] | [Feature][server port] server port custom config | **Describe the feature**
all application can custom config server port
| https://github.com/apache/dolphinscheduler/issues/5229 | https://github.com/apache/dolphinscheduler/pull/6947 | 100a9ba3fc21764158593bd33e2b261b0ef39982 | 0dcff1425a28da0ce0004fc3e594b97d080c5fd9 | "2021-04-07T09:22:45Z" | java | "2021-11-30T16:21:03Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,210 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistry.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/registry/WorkerRegistry.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZookeeperOperator.java"] | [Improvement][Server] Must restart master if Zk reconnect | **Describe the question**
If zookeeper is disconnect, the master server stop work, and when the zookeeper reconnect, we need to restart the master server, the master server can't automatic recovery.
Because when the zookeeper reconnect, treeCache will produce NODE_REMOVED event, `ZKMasterClient` receive this event and add the server to deadNode. When the `HeartBeatTask` check the master is on dead path, it will stop the MasterServer.
**What are the current deficiencies and the benefits of improvement**
Improving the server availability.
**Which version of DolphinScheduler:**
-[1.3.6-preview]
| https://github.com/apache/dolphinscheduler/issues/5210 | https://github.com/apache/dolphinscheduler/pull/5211 | 9d0c816cee102edbba2ac080f483c8a73a0b7b30 | 842c5400e605a8b8eb0d8fdc78701f10222063fd | "2021-04-04T14:23:48Z" | java | "2021-05-24T21:03:29Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,199 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java"] | [Bug][api] When sleep is included in a shell task, cannot kill the task |
![image](https://user-images.githubusercontent.com/55787491/113400980-429f8600-93d5-11eb-8002-7684d36d6ed1.png)
![image](https://user-images.githubusercontent.com/55787491/113401140-81cdd700-93d5-11eb-89dd-a259284e5dae.png)
**Which version of Dolphin Scheduler:**
-[1.3.6-prepare]
| https://github.com/apache/dolphinscheduler/issues/5199 | https://github.com/apache/dolphinscheduler/pull/5212 | 97fb08f0ced20a4b9563725ed9e9600e5ea5722b | 4a1303b625f3425550636a522ad2e38bd8cae1b7 | "2021-04-02T09:04:44Z" | java | "2021-04-06T02:47:53Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,180 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/DataxUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/DataxUtilsTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTaskTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue", "pom.xml"] | [Improvement][Module Name] DataX Node doesn't Support Clickhouse as the datasource | **Describe the question**
When I create a DataX node, I can't use a Clickhouse Datasource as the source or the target in a DataX task. Currently, I can only select from Mysql, Postgresql,Oracle ans Sqlserver.
![image](https://user-images.githubusercontent.com/23460917/112953652-3d8dcd00-9170-11eb-87e2-029ab4d56939.png)
**Describe alternatives you've considered**
I hope I can't use Clickhouse as my datasource.
| https://github.com/apache/dolphinscheduler/issues/5180 | https://github.com/apache/dolphinscheduler/pull/5243 | faa111674fb77bc8e4486e62a578b129e403012b | cc7a4446f50a247f054a9671648e948c654dfe65 | "2021-03-30T07:54:54Z" | java | "2021-04-14T03:31:40Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,170 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProjectServiceTest.java"] | [Improvement][API] the QueryAuthorizedProject interface adds permission judgment (easy to implement) | **Describe the question**
The QueryAuthorizedProject interface has query authority only for administrators,the project scenario where a user queries the user's own authorization cannot be satisfied.
**What are the current deficiencies and the benefits of improvement**
The QueryAuthorizedProject interface adds permission judgment ,the user itself can query the user's own authorized project
**Which version of DolphinScheduler:**
-[1.3.4-release]
| https://github.com/apache/dolphinscheduler/issues/5170 | https://github.com/apache/dolphinscheduler/pull/5184 | 73e917d3c179b67afd0f3fbd2902d683dbed172d | 039d517c1358c197629d54c580ba6e1b356d551d | "2021-03-29T09:49:27Z" | java | "2021-04-11T06:44:20Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,147 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterBaseTaskExecThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/log/LogClientService.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"] | [Improvement][Master] this expression which always evaluates "true" | *For better global communication, please give priority to using English description, thx! *
*Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.*
**Describe the question**
this expression which always evaluates "true"
**What are the current deficiencies and the benefits of improvement**
this expression which always evaluates "true" ,removeTaskLogFile method of org.apache.dolphinscheduler.service.process
**Which version of DolphinScheduler:**
-[1.3.5]
**Describe alternatives you've considered**
public void removeTaskLogFile(Integer processInstanceId) {
LogClientService logClient = null;
try {
logClient = new LogClientService();
List<TaskInstance> taskInstanceList = findValidTaskListByProcessId(processInstanceId);
if (CollectionUtils.isEmpty(taskInstanceList)) {
return;
}
for (TaskInstance taskInstance : taskInstanceList) {
String taskLogPath = taskInstance.getLogPath();
if (StringUtils.isEmpty(taskInstance.getHost())) {
continue;
}
int port = Constants.RPC_PORT;
String ip = "";
try {
ip = Host.of(taskInstance.getHost()).getIp();
} catch (Exception e) {
// compatible old version
ip = taskInstance.getHost();
}
// remove task log from loggerserver
logClient.removeTaskLog(ip, port, taskLogPath);
}
} finally {
logClient.close();
}
}
| https://github.com/apache/dolphinscheduler/issues/5147 | https://github.com/apache/dolphinscheduler/pull/5156 | fe144e46a3f23f5b484a3ce74552cc6faad9009c | 513eb769196971956f15665640aefd782b9f69f3 | "2021-03-25T07:29:28Z" | java | "2021-04-19T09:48:09Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,144 | ["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/index.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/edit/index.vue"] | [Improvement][UI] error v-show directives cannot be put on template tags | **Describe the question**
error 'v-show' directives cannot be put on <template> tags vue/valid-v-show
**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5144 | https://github.com/apache/dolphinscheduler/pull/5145 | 492b318bd321d35247488e1f181e3ea9d1259963 | f6d62a4924417fbcdea35ba2896a652eb9bc735c | "2021-03-25T06:13:05Z" | java | "2021-03-26T08:42:13Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,132 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java"] | [Bug][server] when an exception occurs in the taskExecuteThread, task cannot stop immediately |
**Describe the bug**
When an exception occurs in the taskExecuteThread, task will be called the `cancelApplication()` method to stop the task immediately。Howerver,the task whose` cancelApplication()` method base on the `AbstractCommandExecutor.cancelApplication()` cannot be killed immediately,because `AbstractCommandExecutor.cancelApplication()` would not call `hardKill()` method when soft kill process fail;
**To Reproduce**
**Expected behavior**
In order to make the error task stop immediately ,It should call the `hardKill()` method when soft kill process fails;
**Screenshots**
![image](https://user-images.githubusercontent.com/68894048/112130011-f600c180-8c02-11eb-934c-e490f63c0d73.png)
**Which version of Dolphin Scheduler:**
-[dev]
**Additional context**
It is a very simple Bug, the `softKill()` method returns the opposite state, so just modify the return value can fix this bug. I will fix this Bug.
**Requirement or improvement**
| https://github.com/apache/dolphinscheduler/issues/5132 | https://github.com/apache/dolphinscheduler/pull/5133 | 573252f3e1baba5e133b6c8f608c22e3c2267a03 | 9c0439621836b5134b8a7da4e671cb74edc7c31b | "2021-03-23T10:23:38Z" | java | "2021-03-29T02:41:51Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,128 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-common/src/main/resources/common.properties", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java"] | [Feature][Worker] Support turning off sudo permissions | *For better global communication, please give priority to using English description, thx! *
*Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.*
**Describe the feature**
The current version of multi-tenant implementation requires sudo permission. Most of the time the deployment execution user does not have sudo permission and does not need to be executed by the tenant account. At this time, the sudo permission dependency can be turned off, and the task execution is executed by the deployment user.
当前版本多租户的实现,需要sudo权限,大多数时候部署执行用户没有sudo权限,并且不需要利用租户账户执行,这时候可以关掉sudo权限依赖,任务执行采用部署用户执行
sudo stands for privilege escalation. If privilege escalation is not configured, multi-tenant is only used to isolate resources and users. After privilege escalation is configured, task execution will be performed by tenants, and deployment users will not be configured; and if privilege escalation is not configured, tenants cannot be automatically created.
sudo 代表提权,如果不配置提权,多租户仅用来隔离资源与用户,配置提权以后,任务执行使用租户执行,不配置使用部署用户执行;并且不配置提权不允许自动创建租户 | https://github.com/apache/dolphinscheduler/issues/5128 | https://github.com/apache/dolphinscheduler/pull/5129 | 9c0439621836b5134b8a7da4e671cb74edc7c31b | a6a1b94df4f5c4d22845fe99f2f778ba53d60e5c | "2021-03-23T04:00:15Z" | java | "2021-03-29T03:07:39Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,124 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java"] | [Bug][API] do not set file name when reupload | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
1. upload file with name "ojdbc3.jar"
2. reupload file with name "ojdbc3.jar" and real file name is "ojdbc6jar"
![image](https://user-images.githubusercontent.com/11975398/111952083-88c83000-8b1f-11eb-8b76-70b72eb3372a.png)
**Expected behavior**
fileName is same with what we specify
| https://github.com/apache/dolphinscheduler/issues/5124 | https://github.com/apache/dolphinscheduler/pull/5125 | f20bb54896a9ac7b65c20b0cc7b0a744d1741155 | 6b565f0aed07cd328702d9fc1bec99e682c7525f | "2021-03-22T07:14:07Z" | java | "2021-04-01T12:44:03Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,103 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java"] | [Bug][Resource] The file name of File and UDF resource not changed and cannot re-upload after renaming name | **To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to 'File Manage'
2. Upload a file
3. Rename the file
4. See error (picture 1)
5. The same error also occurs in 'UDF Resources' (picture 2)
6. In 1.3.x version, if the renamed file is re-uploaded, 'resource already exists' error occurs (picture 3)
**Expected behavior**
Bug fixed.
**Screenshots**
In **File Manage**: (picture 1)
![image](https://user-images.githubusercontent.com/4902714/111659876-85dfed80-8848-11eb-8fa1-83dc95e816c8.png)
In *UDF Resources*: (picture 2)
![image](https://user-images.githubusercontent.com/4902714/111659982-9e500800-8848-11eb-8718-3b9fc4b4660d.png)
In **File Manage** to **Re-upload**: (picture 3)
![image](https://user-images.githubusercontent.com/4902714/111734181-8f06a400-88b4-11eb-8340-ed4ead79c97c.png)
**Which version of Dolphin Scheduler:**
-[1.3.x]
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5103 | https://github.com/apache/dolphinscheduler/pull/5107 | 91c29e6ca35b6ca81172f8b8c4ce3191d094852f | 4a6e8b7afac5c56392ca74de008ef5f1319a3be6 | "2021-03-18T16:20:49Z" | java | "2021-03-19T06:51:12Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,094 | ["dolphinscheduler-ui/src/js/conf/home/App.vue", "dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/lib/external/config.js"] | [Improvement][UI] Add a main switch for refresh_in_switched_tab | **Describe the question**
Add a main switch for `refresh_in_switched_tab`
**What are the current deficiencies and the benefits of improvement**
- If a user does not want to automatically refresh the page in switched tab, he can set a main switch to `false`
**Which version of DolphinScheduler:**
-[dev]
@lijufeng2016 once mentioned this user requirement. | https://github.com/apache/dolphinscheduler/issues/5094 | https://github.com/apache/dolphinscheduler/pull/5095 | 9008fa4b0c43a615270f080e9d8c3c2a324bee9c | 91c29e6ca35b6ca81172f8b8c4ce3191d094852f | "2021-03-18T07:34:01Z" | java | "2021-03-19T03:58:33Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,089 | ["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/scriptBox.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue", "dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue", "dolphinscheduler-ui/src/sass/common/index.scss"] | [Bug][UI] Code mirror cannot be displayed normally in sqoop task | **To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to 'Create process' in 'Process definition'
2. Create a sqoop task
3. Switch 'Custom Job' and 'ModelType'
4. See error
**Expected behavior**
Bug fixed
**Screenshots**
Picture 1:
![image](https://user-images.githubusercontent.com/4902714/111579750-86996500-87f1-11eb-8ceb-fa00645a6ad9.png)
Picture 2:
![image](https://user-images.githubusercontent.com/4902714/111579796-9c0e8f00-87f1-11eb-9e13-0577426b9aa4.png)
**Which version of Dolphin Scheduler:**
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/5089 | https://github.com/apache/dolphinscheduler/pull/5090 | 086e71644163a0bb44e4bd1c5f7f16abc383ab1a | 9008fa4b0c43a615270f080e9d8c3c2a324bee9c | "2021-03-18T05:55:52Z" | java | "2021-03-19T03:57:46Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,087 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/sql/SqlParameters.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/task/SqlParametersTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js", "pom.xml"] | [Feature][SqlTask] Add a switch to send mail and print head logs in SqlTask | **Describe the feature**
**Add the switch to send mail and print head logs in SqlTask**
| https://github.com/apache/dolphinscheduler/issues/5087 | https://github.com/apache/dolphinscheduler/pull/5088 | 4a6e8b7afac5c56392ca74de008ef5f1319a3be6 | 8ac72e80e6656ab2119f938e038df663765e1379 | "2021-03-18T05:17:33Z" | java | "2021-03-19T07:07:39Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,085 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"] | [Bug][server-master]if global Param of out is a number, throw format exception | sql or shell task node has out param,if the format of param is number,throw format exception. | https://github.com/apache/dolphinscheduler/issues/5085 | https://github.com/apache/dolphinscheduler/pull/5077 | 5856a12855328e67aeb6a2005f86b3c1081750a1 | 29d42fd92d6720a8a0641e37923c6e6f38a5ae85 | "2021-03-18T02:56:45Z" | java | "2021-03-18T03:50:10Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,071 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/shell/ShellTask.java"] | [Bug][Server] When setting value on shell script, it not working on the next task node. |
**When setting value on shell script, it not working on the next task node.**
If using `${setValue(key, value)}` function in the shell task, it needs to share the `key` to the process instance. but now, it's not working.
**Which version of Dolphin Scheduler:**
- [current dev branch]
| https://github.com/apache/dolphinscheduler/issues/5071 | https://github.com/apache/dolphinscheduler/pull/5067 | 6bf5031f455a930488ab58bb15c108cab80425a4 | 0ba120e8ab80d4687685837f6aa52460e7201813 | "2021-03-16T13:51:01Z" | java | "2021-03-16T13:56:05Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,059 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionVersionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionVersionServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue"] | [Improvement][API] Verify that the new workflow definition version is the current version before removing it |
**Describe the question**
Verify that the new workflow definition version is the current version before removing it
1.A new method to the Delete API verifies that the workflow definition version is in use
2.UI additions prohibit deleting the current version
**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5059 | https://github.com/apache/dolphinscheduler/pull/5060 | 6216817861c64d9a170686c4c5aa6f3b9b0da110 | 705715c3130be49a8bab9bc2d181b2ad26d453da | "2021-03-15T12:35:24Z" | java | "2021-03-18T01:37:17Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,058 | ["dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/plugin/DolphinSchedulerPluginLoaderTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerService.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/DependentExecute.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ParamUtils.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/AlertManagerTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/alert/ProcessAlertManager.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/alert/ProcessAlertManagerTest.java", "pom.xml"] | [Improvement][Master] The master-server creates the DB data source twice | **Describe the question**
The master-server creates the DB data source twice
1. Load the data source through Spring
2.AlertManager builds the data source with the ConnectionFactory factory class
**Which version of DolphinScheduler:**
-[dev]
![image](https://user-images.githubusercontent.com/37063904/112297565-03847d00-8cd1-11eb-878b-75e12060172a.png)
| https://github.com/apache/dolphinscheduler/issues/5058 | https://github.com/apache/dolphinscheduler/pull/5139 | 0d8011f9c1daa2b79dd45b0c80731d6b31ab0f07 | 9c77faa8ace7242ab9d37b9c6e65a699f1e2f829 | "2021-03-15T12:24:11Z" | java | "2021-05-10T01:56:17Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,055 | ["dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/index.vue", "dolphinscheduler-ui/src/js/module/components/fileUpdate/fileChildUpdate.vue", "dolphinscheduler-ui/src/js/module/components/fileUpdate/resourceChildUpdate.vue"] | [Bug][UI] Can not upload file to correct dir | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Create 2 file resources dir on UI,named dirA and dirB
2. upload a file to dirA
3. upload another file to dirB,but this file appear at dirA but not dirB
**Expected behavior**
Upload file to correct dir
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5055 | https://github.com/apache/dolphinscheduler/pull/5056 | 5d7dc1cb2aff2147b09b13ed002cbe54f3478a2c | e8c9c33d7e45b361c3c25085b01d3d78b6b11d90 | "2021-03-15T10:09:31Z" | java | "2021-04-01T12:57:46Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,048 | ["dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapperTest.java", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.3.6_schema/postgresql/dolphinscheduler_ddl.sql", "sql/upgrade/1.3.6_schema/postgresql/dolphinscheduler_dml.sql"] | [Bug][Api] Delete the stopped workflow without deleting the corresponding sub process, the workflow instance name is not displayed in the sub process | 1.stop workflow,Workflow contains sub_process
2.delete the workflow, No sub_process were deleted, the workflow instance name is not displayed in the sub process
![image](https://user-images.githubusercontent.com/55787491/111032444-40d24a80-8447-11eb-9bc9-963c9914a06a.png)
**Expected results**
delete the workflow, need to delete all tasks under the workflow, including sub_process
**Which version of Dolphin Scheduler:**
-[1.3.6-prepare]
| https://github.com/apache/dolphinscheduler/issues/5048 | https://github.com/apache/dolphinscheduler/pull/5066 | ba039dc252a2ddfe316297a2955f0ea9f966432a | f109a758f8388a0499391f5a87ccd6d1e17db3aa | "2021-03-13T14:00:33Z" | java | "2021-03-23T03:26:11Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,044 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java"] | [Bug][Master] Fix First master fault tolerance when startup | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
Filtering an empty Host results in failure to perform Master startup fault tolerance
过滤空Host导致未执行Master启动容错
![image](https://user-images.githubusercontent.com/11975398/110957734-df4aa700-8386-11eb-851f-530a9699630e.png)
![image](https://user-images.githubusercontent.com/11975398/110957590-b3c7bc80-8386-11eb-8648-5c28c65ecc12.png)
**Which version of Dolphin Scheduler:**
-[1.3.6-prerelease]
| https://github.com/apache/dolphinscheduler/issues/5044 | https://github.com/apache/dolphinscheduler/pull/5045 | cc2a94a9735099b0a453624ce1c9f3be7a375a9d | a3153b5e44d40cceea6e705f2406c4a4ec5f99c9 | "2021-03-12T15:02:48Z" | java | "2021-03-12T16:01:18Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,032 | ["dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/src/main/java/org/apache/dolphinscheduler/plugin/alert/email/MailSender.java"] | [Improvement][Alert] Support send emial attachment | *For better global communication, please give priority to using English description, thx! *
*Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.*
**Describe the question**
When send a email attachment,I got this exception as following:
javax.mail.MessagingException: IOException while sending message
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1365)
at javax.mail.Transport.send0(Transport.java:255)
at javax.mail.Transport.send(Transport.java:124)
at org.apache.dolphinscheduler.plugin.alert.email.MailSender.attachContent(MailSender.java:345)
at org.apache.dolphinscheduler.plugin.alert.email.MailSender.attachment(MailSender.java:257)
at org.apache.dolphinscheduler.plugin.alert.email.MailSender.sendMails(MailSender.java:207)
at org.apache.dolphinscheduler.plugin.alert.email.MailSender.sendMails(MailSender.java:143)
at org.apache.dolphinscheduler.plugin.alert.email.EmailAlertChannel.process(EmailAlertChannel.java:45)
at org.apache.dolphinscheduler.alert.runner.AlertSender.alertResultHandler(AlertSender.java:162)
at org.apache.dolphinscheduler.alert.runner.AlertSender.run(AlertSender.java:87)
at org.apache.dolphinscheduler.alert.AlertServer.runSender(AlertServer.java:134)
at org.apache.dolphinscheduler.alert.AlertServer.start(AlertServer.java:146)
at org.apache.dolphinscheduler.alert.AlertServer.main(AlertServer.java:159)
Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;
boundary="----=_Part_0_1231696346.1615378906068"
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:896)
at javax.activation.DataHandler.writeTo(DataHandler.java:317)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1694)
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1913)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1315)
... 12 common frames omitted
**What are the current deficiencies and the benefits of improvement**
- The dev current only support table and text format email content,but not attachment format
**Which version of DolphinScheduler:**
-[dev]
**Describe alternatives you've considered**
A clear and concise description of any alternative improvement solutions you've considered.
| https://github.com/apache/dolphinscheduler/issues/5032 | https://github.com/apache/dolphinscheduler/pull/5033 | 9a3ae4839641d23f32057715ab1e88619d8dfdf8 | 3769066803803e7f97b1083eff12b1d6f8486771 | "2021-03-11T03:13:48Z" | java | "2021-03-11T03:35:25Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,024 | ["docker/build/README.md", "docker/build/README_zh_CN.md", "docker/build/conf/dolphinscheduler/env/dolphinscheduler_env.sh.tpl", "docker/build/startup-init-conf.sh", "docker/docker-swarm/docker-compose.yml", "docker/docker-swarm/docker-stack.yml", "docker/kubernetes/dolphinscheduler/values.yaml", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/PythonCommandExecutor.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/EnvFileTest.java", "script/env/dolphinscheduler_env.sh"] | [Improvement][Worker] Python Command | In general, the home is the directory where the software is installed,but the commandInterpreter method use the Python home directory in PythonCommandExecutor.java, which is in the environment variable configuration file needs to be configured PYTHON_HOME to PYTHON_HOME/bin/Python. Obviously, this is unreasonable and misleading
**Describe alternatives you've considered**
```java
/**
* get python home
*
* @return python home
*/
@Override
protected String commandInterpreter() {
String pythonHome = getPythonHome(taskExecutionContext.getEnvFile());
if (StringUtils.isEmpty(pythonHome)) {
return PYTHON;
}
-- return pythonHome
++ return pythonHome + "/bin/python";
}
```
[dev] | https://github.com/apache/dolphinscheduler/issues/5024 | https://github.com/apache/dolphinscheduler/pull/5036 | a3153b5e44d40cceea6e705f2406c4a4ec5f99c9 | 2d8c4ec86bdc8d00baee4066f40699078735c5dc | "2021-03-10T02:12:24Z" | java | "2021-03-15T02:22:13Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,006 | ["docker/build/conf/dolphinscheduler/worker.properties.tpl", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/OSUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/config/WorkerConfig.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/resources/worker.properties"] | [Feature][Worker] Add a configuration item to set whether the tenant is automatically created on Worker | **Describe the feature**
In the dev branch, the tenant executing a task will not be automatically created in worker. This will cause issue [#4995](https://github.com/apache/incubator-dolphinscheduler/issues/4995)
In the following two scenarios, it will cause inconvenience to users
- Product or operation people want to automatically create users instead of manually creating tenants
- In the docker container environment, the tenants cannot be created in advance. Once the container is pulled up again, all tenants will disappear
**Which version of Dolphin Scheduler:**
- [dev]
**Is your feature request related to a problem? Please describe.**
In the docker container environment, it's a very painful thing to create new tenants on every worker every time.
**Describe the solution you'd like**
Add a configuration item to set whether the tenant is automatically created on Worker
The default value of this configuration item is `false`, but it needs to be set to `true` in the container
The name of this configuration item is `worker.tenant.auto.create`
**Additional context**
Previous dev email discussion: https://lists.apache.org/thread.html/ra44b2e69759fcc980e4ed04c1811037bf0e743e47827fc2dcd1049d6%40%3Cdev.dolphinscheduler.apache.org%3E | https://github.com/apache/dolphinscheduler/issues/5006 | https://github.com/apache/dolphinscheduler/pull/5007 | 29d42fd92d6720a8a0641e37923c6e6f38a5ae85 | f94cfc620dfd0c51010a49134a073e3848c0bd7e | "2021-03-08T15:28:05Z" | java | "2021-03-18T10:34:42Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,995 | ["docker/build/conf/dolphinscheduler/worker.properties.tpl", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/OSUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/config/WorkerConfig.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/resources/worker.properties"] | [Bug][api] select an existing tenant, the workflow fails to run, indicating that the tenant does not exist |
![image](https://user-images.githubusercontent.com/55787491/110239702-40d3d580-7f83-11eb-8cb9-14f0110ac478.png)
![image](https://user-images.githubusercontent.com/55787491/110239708-47fae380-7f83-11eb-8c43-5435143e5c7b.png)
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4995 | https://github.com/apache/dolphinscheduler/pull/5007 | 29d42fd92d6720a8a0641e37923c6e6f38a5ae85 | f94cfc620dfd0c51010a49134a073e3848c0bd7e | "2021-03-07T12:25:55Z" | java | "2021-03-18T10:34:42Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,972 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/ProcessUtilsTest.java"] | [Improvement][Worker] yarn kill job after kinit (kerberos) | *For better global communication, please give priority to using English description, thx! *
*Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.*
**Describe the question**
After yarn kerberos authentication is enabled, kerberos TGT needs to be initialized when yarn kill is executed
yarn 开启kerberos认证之后,执行yarn kill 的时候需要初始化kerberos TGT
**Which version of DolphinScheduler:**
-[1.3.*]
| https://github.com/apache/dolphinscheduler/issues/4972 | https://github.com/apache/dolphinscheduler/pull/4973 | fd581af72675b6c71ee46bba2a393091e6643b90 | c3f43a19242c3cb4538372f02e7eaf83b971ab1e | "2021-03-05T14:09:19Z" | java | "2021-03-08T12:17:28Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,971 | ["dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java", "dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/PropertyUtils.java", "dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/plugin/AlertPluginManagerTest.java", "dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/plugin/EmailAlertPluginTest.java", "dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/utils/PropertyUtilsTest.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/TaskRecordDao.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/datasource/SpringConnectionFactory.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/PropertyUtils.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/quartz/QuartzExecutors.java"] | [Improvement][common] Remove redundant PropertyUtils.class | We are flooded with too many PropertyUtils.class, in my opinion, there is no need, therefore, it is best to keep only the common-model. | https://github.com/apache/dolphinscheduler/issues/4971 | https://github.com/apache/dolphinscheduler/pull/5020 | 1cd62b4a5e6d5e8ac3adf8b7e2ffd61a8e87f71b | 6216817861c64d9a170686c4c5aa6f3b9b0da110 | "2021-03-05T13:58:44Z" | java | "2021-03-17T07:28:07Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,963 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/DataSourceMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/UdfFuncMapper.xml"] | [Bug][Dao] Mybtis Mapper used foreach syntax to traverse collections and the collection was empty |
**Describe the bug**
Mybtis Mapper used foreach syntax to traverse collections and the collection was empty
**Screenshots**
![image](https://user-images.githubusercontent.com/37063904/110100105-003a5780-7ddd-11eb-8a37-71fcd7713108.png)
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4963 | https://github.com/apache/dolphinscheduler/pull/4964 | 89c9b517409279e551683aafa130eff50bdad091 | d13fab7497c999483e7ffe19beec5c6da089c2f3 | "2021-03-05T10:02:58Z" | java | "2021-03-09T01:44:11Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,960 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/spark/SparkParameters.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/FlinkArgsUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/SparkArgsUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/mr/MapReduceTask.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/spark/SparkTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/FlinkArgsUtilsTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/SparkArgsUtilsTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue"] | [Feature][Spark] Support spark name | **Describe the feature**
Support spark name, which is common option
**Is your feature request related to a problem? Please describe.**
No.
**Describe the solution you'd like**
I will implement this feature
| https://github.com/apache/dolphinscheduler/issues/4960 | https://github.com/apache/dolphinscheduler/pull/4959 | 0ac0f31548ef8bfe9a968663db11fd3e09d0bf2d | e74932cfc21c95d7824cd55dd3cb6e441e2b8305 | "2021-03-04T17:04:42Z" | java | "2021-03-09T04:51:35Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,955 | [".github/workflows/ci_ut.yml", "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-server/src/main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZookeeperOperator.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/zk/RegisterOperatorTest.java"] | [Bug][Worker] Worker cannot start and alertClientService NullPointerException | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Start worker server
2. See error
This issue is introduce by #4626
**Expected behavior**
Bug fixed.
**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/4902714/109948515-5e9c0300-7d15-11eb-96e6-361036ab58a0.png)
```
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.zookeeper.KeeperException.create(KeeperException.java:114) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67) ~[curator-client-4.3.0.jar:na]
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81) ~[curator-client-4.3.0.jar:na]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:141) ~[classes/:na]
at org.apache.dolphinscheduler.service.zk.RegisterOperator.removeDeadServerByHost(RegisterOperator.java:61) [classes/:na]
at org.apache.dolphinscheduler.service.zk.RegisterOperator.handleDeadServer(RegisterOperator.java:138) [classes/:na]
at org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:129) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_271]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_271]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_271]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_271]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:413) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1761) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744) ~[spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391) ~[spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) ~[spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140) ~[spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.apache.dolphinscheduler.server.worker.WorkerServer.main(WorkerServer.java:105) [classes/:na]
2021-03-04 17:23:03.016 ERROR 86498 --- [ Worker-Server] o.a.d.server.worker.WorkerServer : org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
org.apache.dolphinscheduler.service.exceptions.ServiceException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:148) ~[classes/:na]
at org.apache.dolphinscheduler.service.zk.RegisterOperator.removeDeadServerByHost(RegisterOperator.java:61) ~[classes/:na]
at org.apache.dolphinscheduler.service.zk.RegisterOperator.handleDeadServer(RegisterOperator.java:138) ~[classes/:na]
at org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:129) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_271]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_271]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_271]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_271]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:413) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1761) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744) ~[spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391) ~[spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) ~[spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140) ~[spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.apache.dolphinscheduler.server.worker.WorkerServer.main(WorkerServer.java:105) ~[classes/:na]
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.zookeeper.KeeperException.create(KeeperException.java:114) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67) ~[curator-client-4.3.0.jar:na]
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81) ~[curator-client-4.3.0.jar:na]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:141) ~[classes/:na]
... 26 common frames omitted
17:23:03.036 [Worker-Server] ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workerServer': Invocation of init method failed; nested exception is java.lang.RuntimeException: org.apache.dolphinscheduler.service.exceptions.ServiceException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:413) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1761) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744) [spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391) [spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312) [spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140) [spring-boot-2.1.17.RELEASE.jar:2.1.17.RELEASE]
at org.apache.dolphinscheduler.server.worker.WorkerServer.main(WorkerServer.java:105) [classes/:?]
Caused by: java.lang.RuntimeException: org.apache.dolphinscheduler.service.exceptions.ServiceException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:137) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_271]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_271]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_271]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
... 16 more
Caused by: org.apache.dolphinscheduler.service.exceptions.ServiceException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:148) ~[classes/:?]
at org.apache.dolphinscheduler.service.zk.RegisterOperator.removeDeadServerByHost(RegisterOperator.java:61) ~[classes/:?]
at org.apache.dolphinscheduler.service.zk.RegisterOperator.handleDeadServer(RegisterOperator.java:138) ~[classes/:?]
at org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:129) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_271]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_271]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_271]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
... 16 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.zookeeper.KeeperException.create(KeeperException.java:114) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659) ~[zookeeper-3.4.14.jar:3.4.14-4c25d480e66aadd371de8bd2fd8da255ac140bcf]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67) ~[curator-client-4.3.0.jar:?]
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81) ~[curator-client-4.3.0.jar:?]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41) ~[curator-framework-4.3.0.jar:4.3.0]
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:141) ~[classes/:?]
at org.apache.dolphinscheduler.service.zk.RegisterOperator.removeDeadServerByHost(RegisterOperator.java:61) ~[classes/:?]
at org.apache.dolphinscheduler.service.zk.RegisterOperator.handleDeadServer(RegisterOperator.java:138) ~[classes/:?]
at org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:129) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_271]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_271]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_271]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) ~[spring-beans-5.1.18.RELEASE.jar:5.1.18.RELEASE]
... 16 more
Exception in thread "Worker-Server" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workerServer': Invocation of init method failed; nested exception is java.lang.RuntimeException: org.apache.dolphinscheduler.service.exceptions.ServiceException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:413)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1761)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140)
at org.apache.dolphinscheduler.server.worker.WorkerServer.main(WorkerServer.java:105)
Caused by: java.lang.RuntimeException: org.apache.dolphinscheduler.service.exceptions.ServiceException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
... 16 more
Caused by: org.apache.dolphinscheduler.service.exceptions.ServiceException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:148)
at org.apache.dolphinscheduler.service.zk.RegisterOperator.removeDeadServerByHost(RegisterOperator.java:61)
at org.apache.dolphinscheduler.service.zk.RegisterOperator.handleDeadServer(RegisterOperator.java:138)
at org.apache.dolphinscheduler.server.worker.WorkerServer.run(WorkerServer.java:129)
... 23 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/dead-servers
at org.apache.zookeeper.KeeperException.create(KeeperException.java:114)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231)
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.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41)
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:141)
... 26 more
```
**Which version of Dolphin Scheduler:**
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/4955 | https://github.com/apache/dolphinscheduler/pull/4956 | 01b71f1a0d49b57e8ccbd296d1d4b466ab362c7c | 8c68e2c60b50c76c5aacf36b03a107213d2d0a0a | "2021-03-04T10:15:24Z" | java | "2021-03-05T01:50:49Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,940 | ["dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/index.vue"] | [Bug][UI] when upload a file to a directory in resource page,then call resources/list-paging error | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to Resources Center
2. Create a directory,then click into this dir
3. upload a file to the dir you created
4. use F12 debug page,see the call **http://xxxxxx:8888/dolphinscheduler/resources/list-paging**
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
![微信图片_20210303153502.png](http://ww1.sinaimg.cn/large/005Cc2n2gy1go6r7ads75j316o0mj76y.jpg)
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4940 | https://github.com/apache/dolphinscheduler/pull/4941 | 53aedc50eca8bad176e1c9dfbec6d38b9c34cd4b | 658a7f5661a3bee4f6bfb72d6981eb8d1c428e77 | "2021-03-03T07:35:49Z" | java | "2021-03-03T12:37:35Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,939 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/LoggerUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/LoggerUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessor.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessorTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/log/LogClientService.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/log/LogClientServiceTest.java", "pom.xml"] | [Improvement][worker] Optimize KillYarnJob | When KillYarnJob, determine whether the target host is the local machine, if it is, rpc communication is not required
org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor#killYarnJob
| https://github.com/apache/dolphinscheduler/issues/4939 | https://github.com/apache/dolphinscheduler/pull/4943 | beb5adb9855521341e8b88a31440075b9708b852 | ea6b1de120cd438b7611b966d396164dec421cbb | "2021-03-03T07:19:13Z" | java | "2021-03-11T14:13:44Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,934 | ["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/index.vue"] | [Bug][UI] Index page statics info not show todays but show all history statics task info | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to index page
2. See task info statics and time range,it shows all history task statics info but not todays
3. Use F12 debug page,you can see **startDate** and **endtDate** is null
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
![微信图片_20210303103153.png](http://ww1.sinaimg.cn/large/005Cc2n2ly1go6igf2agxj31ls0omah2.jpg)
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4934 | https://github.com/apache/dolphinscheduler/pull/4935 | 5bfe3fca673d9f0a0622ef5c3f089e52a9599641 | 53aedc50eca8bad176e1c9dfbec6d38b9c34cd4b | "2021-03-03T02:32:48Z" | java | "2021-03-03T12:36:41Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,929 | ["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/UdfFunc.java"] | [Bug][dao] when run a hive-sql with udf throw ClassCastException | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. create an hive udf
2. run a hive-sql with udf
3. check task log
**Expected behavior**
Can run hive-sql with udf success
**Screenshots**
If applicable, add screenshots to help explain your problem.
![企业微信截图_16146789692797.png](http://ww1.sinaimg.cn/large/005Cc2n2gy1go5pomkwcjj30nx05ujrw.jpg)
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4929 | https://github.com/apache/dolphinscheduler/pull/4930 | ba2bb22100a2d20180477897cadd6cb57b139dd2 | 397c78149c3eb0aad10b6cacd82e82013d4b7dbd | "2021-03-02T09:57:49Z" | java | "2021-03-02T10:26:14Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,908 | ["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/dependItemList.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/nodeStatus.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue"] | [Bug][UI] Dependent task item cannot delete and select | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to 'Process definition create'
2. Create 'Dependent' task
3. Click 'Add dependency'
4. Click 'Add'
4. See error: Dependent task item cannot delete and select
This bug is caused by replacing element-ui.
**Expected behavior**
Bug fixed
**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/4902714/109503586-6d947280-7ad5-11eb-9940-fdbb0b794030.png)
![image](https://user-images.githubusercontent.com/4902714/109503550-62414700-7ad5-11eb-851d-622eb73bd0a4.png)
![image](https://user-images.githubusercontent.com/4902714/109504208-412d2600-7ad6-11eb-9177-01868928a395.png)
**Which version of Dolphin Scheduler:**
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/4908 | https://github.com/apache/dolphinscheduler/pull/4909 | a25c3974fcba99d96e884c9f928d5dae4d455785 | 54fc458e442f823a2d2c491472ce767edeec2196 | "2021-03-01T13:31:46Z" | java | "2021-03-01T13:58:39Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,905 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/NetUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/CommonTest.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/NetUtilsTest.java"] | [Bug][K8s] Incorrect host problem in minikube | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Deploy K8s on minikube by `helm`
2. Access `Worker groups manage`
3. See incorrect host
**Expected behavior**
Bug fixed, and the host in the picture below is correct:
![image](https://user-images.githubusercontent.com/4902714/109470921-ff3aba80-7aaa-11eb-9555-9e5c97504ecb.png)
**Screenshots**
If applicable, add screenshots to help explain your problem.
Incorrect host:
![image](https://user-images.githubusercontent.com/4902714/109471044-2a250e80-7aab-11eb-840b-a59cf2fd8e36.png)
**Which version of Dolphin Scheduler:**
-[1.3.x]
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions. | https://github.com/apache/dolphinscheduler/issues/4905 | https://github.com/apache/dolphinscheduler/pull/4906 | 4706de717ceb6d399aca1dbd683566ef8f97b578 | d6675259132c7eeebb183782bdc7f09fe04ff21b | "2021-03-01T08:28:45Z" | java | "2021-03-04T02:05:24Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,897 | [".licenserc.yaml", "docker/build/Dockerfile", "docker/build/conf/dolphinscheduler/logback/logback-alert.xml", "docker/build/conf/dolphinscheduler/logback/logback-api.xml", "docker/build/conf/dolphinscheduler/logback/logback-master.xml", "docker/build/conf/dolphinscheduler/logback/logback-worker.xml", "docker/build/conf/dolphinscheduler/supervisor/supervisor.ini", "docker/build/startup-init-conf.sh", "docker/build/startup.sh", "script/dolphinscheduler-daemon.sh"] | [Bug][Docker] `docker logs -f` command cannot keep outputting logs all the time | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Run a dolphinscheduler by `docker-compose up -d`
2. Run `docker logs -f dolphinscheduler-master` command
3. Wait more than an hour
4. See error: The logs outputed by `docker logs -f dolphinscheduler-master` are not changed, while the log file in the container contains more log contents by `docker exec -it dolphinscheduler-master cat /opt/dolphinscheduler/logs/dolphinscheduler-master.log`
**Bug reason**: Due to log rotation, the `tail` command cannot obtain a new rotation log
**Expected behavior**
Bug fixed
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Which version of Dolphin Scheduler:**
-[1.3.x]
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions. | https://github.com/apache/dolphinscheduler/issues/4897 | https://github.com/apache/dolphinscheduler/pull/4900 | d6675259132c7eeebb183782bdc7f09fe04ff21b | cf13c87dae0b30d994f448140f5c7e506d8f3ca4 | "2021-02-27T05:14:30Z" | java | "2021-03-04T02:08:03Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,893 | ["README.md"] | [Improvement][READM.md] update the latest url for `QuickStart in Docker` | please update the following url
```
Please referer the official website document:[[QuickStart in Docker](https://dolphinscheduler.apache.org/en-us/docs/1.3.4/user_doc/docker-deployment.html)]
````
with new 1.3.5 version :
https://dolphinscheduler.apache.org/en-us/docs/1.3.5/user_doc/docker-deployment.html
| https://github.com/apache/dolphinscheduler/issues/4893 | https://github.com/apache/dolphinscheduler/pull/4895 | b8788f007b1617605e05d70c0ff33c4aa7318c4b | d170b92dc6ab5deda8ab88d5eede1e8d642ee158 | "2021-02-27T01:36:39Z" | java | "2021-02-27T06:46:18Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,891 | ["README.md", "README_zh_CN.md"] | [Improvement][Readme] update DolphinScheduler slack invitation url | the slack invitation url has been expired, please update the url address in README.md and README_zh_CN.md
```
Join the slack channel by [this invitation link](https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-mzqu52gi-rCggPkSHQ0DZYkwbTxO1Gw ).
```
please use this new slack invitation url: https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw
this invitation url never expires | https://github.com/apache/dolphinscheduler/issues/4891 | https://github.com/apache/dolphinscheduler/pull/4892 | c6b7eb34868a8d80cfd93f242564d17f8ba73bf5 | 5cadf4e4e920ed28a5e1d837d3e02505e7f13eee | "2021-02-27T01:01:13Z" | java | "2021-02-27T01:32:01Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,886 | ["docker/build/Dockerfile", "docker/build/conf/dolphinscheduler/common.properties.tpl", "docker/build/conf/dolphinscheduler/env/dolphinscheduler_env.sh.tpl", "docker/build/startup-init-conf.sh", "docker/docker-swarm/docker-compose.yml", "docker/docker-swarm/docker-stack.yml", "docker/docker-swarm/dolphinscheduler_env.sh"] | [Bug][Docker] Cannot create container for service dolphinscheduler-worker: invalid volume specification in Windows | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Run `docker-compose` on Windows
2. See error: `Cannot create container for service dolphinscheduler-worker: invalid volume specification`
**Expected behavior**
Bug fixed.
**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/4902714/109300088-0e362880-7871-11eb-9132-f716462a26eb.png)
**Which version of Dolphin Scheduler:**
-[1.3.x]
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/4886 | https://github.com/apache/dolphinscheduler/pull/4887 | a75793d875a9a7c3394dc8768c014e1d4efa6e7f | b8788f007b1617605e05d70c0ff33c4aa7318c4b | "2021-02-26T12:27:50Z" | java | "2021-02-27T01:45:23Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,884 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/exception/BaseException.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/HadoopUtilsTest.java"] | [Improvement][Common] a concatenation URL problem occurred when the address of the ACITVE ResourceManager in YARN HA mode failed to be obtained | **Describe the question**
Acitve ReSourceManager IP = null when obtaining Acitve ReSourceManager address in YARN HA mode fails,
the program will return splicing application url = http://null:8088/ws/v1/cluster/apps/%s
**What are the current deficiencies and the benefits of improvement**
The yarn application URL generation failed exception should be thrown here
**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4884 | https://github.com/apache/dolphinscheduler/pull/4885 | ea6b1de120cd438b7611b966d396164dec421cbb | c8e31ad58e15936174e773172d12337a8cf26d69 | "2021-02-26T04:31:57Z" | java | "2021-03-11T14:14:52Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,881 | ["docker/build/README.md"] | [Improvement][Docker] Add default login username and password in readme | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
Documentation for the docker-compose instructions is missing the default login credentials. (https://github.com/apache/incubator-dolphinscheduler/tree/dev/docker/build)
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to https://github.com/apache/incubator-dolphinscheduler/tree/dev/docker/build
**Expected behavior**
A clear and concise description of what you expected to happen.
The default login username and password (admin / dolphinscheduler123) should be in the readme for the above location.
**Which version of Dolphin Scheduler:**
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/4881 | https://github.com/apache/dolphinscheduler/pull/4882 | d217937de3c876c2f1d44cd05eeb266159111b1e | fbe0edac070df6322ce72b269255ff70f64c9c3d | "2021-02-26T03:33:09Z" | java | "2021-02-26T05:28:39Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,837 | ["docker/kubernetes/dolphinscheduler/README.md", "docker/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-api.yaml", "docker/kubernetes/dolphinscheduler/templates/ingress.yaml", "docker/kubernetes/dolphinscheduler/templates/svc-dolphinscheduler-api.yaml", "docker/kubernetes/dolphinscheduler/values.yaml"] | Docker & K8s Improvement Plan | ### 1.3.5-release
Docker Improvement Plan
- [x] Reduce image size
- [x] Remove frontend/nginx
- [x] Remove stdout log in properties
- [x] improve compose/swarm deployment
- [x] Fix random PSQLException
- [x] Sync docker conf templates to the latest conf properties
- [x] Update outdated readme
K8s Improvement Plan
- [x] Remove frontend/nginx
- [x] Remove redundant configs
- [x] Support resource storage when fs.defaultFS=file:///
- [x] Fix task log disappear after recreating or upgrading helm release
- [x] Improve long host display in K8s
- [x] Update outdated readme
### dev & 1.3.6-release
Docker Improvement Plan
- [x] Reduce image size
- [x] Remove frontend/nginx
- [x] Remove stdout log in properties
- [x] improve compose/swarm deployment
- [x] Fix random PSQLException
- [x] Sync docker conf templates to the latest conf properties
- [x] Update outdated readme
- [x] Rename `WORKER_GROUP` to `WORKER_GROUPS` (#4843)
- [x] Add FAQ support about MySQL and Oracle in readme (#4732 #4871)
- [x] Add default login username and password in readme (#4881)
- [x] Check compatibility in Windows (#4804)
- [x] Fix invalid volume specification in Windows (#4886)
- [x] Support supervisor management (#2687)
- [x] Optimize log stdout with supervisor (#4897)
- [x] Fix that can not build a docker image on Windows (#3124)
- [x] Support docker compose file 3.1+ version
- [x] Add tenant tip for quick start
- [x] Sync the latest configs in master.properties and worker.properties
- [x] Support all configs in common.properties
- [x] Improve the environment variables and reduce the duplication configs
- [x] Fix mysql check
- [x] Add config.env.sh for docker compose and swarm
- [x] Add `MASTER_SERVER_OPTS`, `WORKER_SERVER_OPTS`, `ALERT_SERVER_OPTS`, `API_SERVER_OPTS`, `LOGGER_SERVER_OPTS`
- [x] Support skywalking config in docker
- [x] Replace alpine with debian:slim (#5155)
- [x] Remove redundant postgresql-client and mysql-client
- [x] Add faq for python, spark, hadoop, flink and datax
- [x] Add docs for support matrix on docker (#5068)
- [x] Support task scalability on Docker such as Spark, Flink and DataX (#5100)
K8s Improvement Plan
- [x] Remove frontend/nginx
- [x] Remove redundant configs
- [x] Support resource storage when fs.defaultFS=file:///
- [x] Fix task log disappear after recreating or upgrading helm release
- [x] Improve long host display in K8s
- [x] Adapt to the latest alert-server with updated config and port 50052
- [x] Update outdated readme
- [x] Rename `WORKER_GROUP` to `WORKER_GROUPS` (#4843)
- [x] Add FAQ support about MySQL and Oracle in readme (#2584)
- [x] Add FAQ support to use namespace, access ui and delete pv in readme
- [x] Incorrect host problem in minikube (#4905)
- [x] Check compatibility in all Kubernetes 1.12+
- [x] Support local docker image
- [x] Optimize image pull secret
- [x] Optimize fullname
- [x] Optimize metadata name
- [x] Sync the latest configs in master.properties and worker.properties
- [x] Support all configs in common.properties
- [x] Improve the environment variables and reduce the duplication configs
- [x] Support skywalking config in k8s
- [x] Unify annotations, affinity, nodeSelector, tolerations, resources and probe in K8s
- [x] Support more service access like ClusterIP, NodePort and LoadBalancer
- [x] Improve https tip in k8s
- [x] Add `MASTER_SERVER_OPTS`, `WORKER_SERVER_OPTS`, `ALERT_SERVER_OPTS`, `API_SERVER_OPTS`, `LOGGER_SERVER_OPTS`
- [x] Add faq for python, spark, hadoop, flink and datax
- [x] Add docs for support matrix on k8s (#5068)
- [x] Support task scalability on K8s such as Spark, Flink and DataX (#5100)
- [x] Fix quartz cron task cannot take effect in K8s (#5351)
- [x] Reduce long host and improve long host display on K8s | https://github.com/apache/dolphinscheduler/issues/4837 | https://github.com/apache/dolphinscheduler/pull/4902 | 24fda3fbb1cdf4a58b519feb85e7613b15804dd2 | 4706de717ceb6d399aca1dbd683566ef8f97b578 | "2021-02-22T07:30:35Z" | java | "2021-03-04T01:40:28Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,721 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/StringUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/StringUtilsTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertGroupMapper.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java"] | [Bug][worker] The shell background starts the YARN task scenario, and the kill function is abnormal |
**Describe the bug**
The shell background starts the YARN task scenario, and the kill function is abnormal
**To Reproduce**
1.Create a new shell task to start the yarn task in the background
2.While the yarn task is running, the page clicks on this task kill function
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Which version of Dolphin Scheduler:**
-[1.3.4-release,dev]
---
**描述 bug**
在shell后台启动yarn任务场景,kill功能异常
**To Reproduce**
1.新建一个shell任务,用于后台启动yarn任务
2.在yarn任务正在运行时,页面点击此任务kill功能
异常:
页面点击kill后,工作流实例显示状态为准备停止
![image](https://user-images.githubusercontent.com/37063904/107142822-606be400-696c-11eb-97a8-466dbdc1dd80.png)
![image](https://user-images.githubusercontent.com/37063904/107142827-6661c500-696c-11eb-99ed-2bcf204b3412.png)
worker日志
任务正在运行日志
![image](https://user-images.githubusercontent.com/37063904/107142955-2cdd8980-696d-11eb-96e9-300a28b5e156.png)
任务kill时日志
![image](https://user-images.githubusercontent.com/37063904/107143000-86de4f00-696d-11eb-977a-e168b1b757c3.png)
| https://github.com/apache/dolphinscheduler/issues/4721 | https://github.com/apache/dolphinscheduler/pull/4722 | 9c3cec5bbdec2eea90e4525da9e4b915d4b5bb82 | e53369318bdf61f169dcbf2644caf8521b3dd536 | "2021-02-07T09:54:49Z" | java | "2021-03-30T14:33:49Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,705 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/WorkerGroupServiceTest.java"] | [Bug][API] KeeperException$NoNodeException | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Start an initial DB and ZK, run `CreateDolphinScheduler` to import sql data
2. Start UI and API, DO NOT start master and worker
3. Click 'Create process'
4. Drag a task icon to dag editor
5. See error
**Expected behavior**
Exception can be captured and friendly information can be prompted in UI.
**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/4902714/107109032-d04c7280-6877-11eb-9cb9-910c8f5d61dd.png)
API log:
```
[ERROR] 2021-02-06 12:25:08.744 org.apache.dolphinscheduler.service.zk.ZookeeperOperator:[138] - getChildrenKeys key : /dolphinscheduler/nodes/worker
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/nodes/worker
at org.apache.zookeeper.KeeperException.create(KeeperException.java:114)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231)
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.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41)
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:132)
at org.apache.dolphinscheduler.api.service.WorkerGroupService.getWorkerGroups(WorkerGroupService.java:132)
at org.apache.dolphinscheduler.api.service.WorkerGroupService.queryAllGroup(WorkerGroupService.java:113)
at org.apache.dolphinscheduler.api.controller.WorkerGroupController.queryAllWorkerGroups(WorkerGroupController.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:502)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.lang.Thread.run(Thread.java:748)
[ERROR] 2021-02-06 12:25:08.749 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[45] - 查询worker分组失败
java.lang.RuntimeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/nodes/worker
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:139)
at org.apache.dolphinscheduler.api.service.WorkerGroupService.getWorkerGroups(WorkerGroupService.java:132)
at org.apache.dolphinscheduler.api.service.WorkerGroupService.queryAllGroup(WorkerGroupService.java:113)
at org.apache.dolphinscheduler.api.controller.WorkerGroupController.queryAllWorkerGroups(WorkerGroupController.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:502)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/nodes/worker
at org.apache.zookeeper.KeeperException.create(KeeperException.java:114)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231)
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.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219)
at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41)
at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:132)
... 71 common frames omitted
```
**Which version of Dolphin Scheduler:**
-[1.3.x]
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/4705 | https://github.com/apache/dolphinscheduler/pull/4961 | e851ec13671af7d68792cc134175c4a5d6c01f20 | 8112f5bcb5c27a2b48fbfff2fe9a5c6595b0273d | "2021-02-06T04:35:45Z" | java | "2021-03-05T13:34:54Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,648 | ["dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue"] | [Bug][UI] TypeError: Cannot read property 'id' of undefined in createUser | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
0. Init Bare databse
1. Go to 'User Manage'
2. Click on 'Edit User'
3. See error
**Expected behavior**
TypeError fixed.
**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/4902714/106452923-82281f80-64c3-11eb-84de-b72ecaa5f352.png)
**Which version of Dolphin Scheduler:**
-[1.3.4]
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/4648 | https://github.com/apache/dolphinscheduler/pull/4649 | 6a49d8163e333b27ce941cabdd3957aeb1779e14 | 8419ad798c76ef5c1fec07c120e56ca78f892cf5 | "2021-02-01T11:27:55Z" | java | "2021-02-02T05:46:02Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,641 | ["dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/src/main/java/org/apache/dolphinscheduler/plugin/alert/email/MailParamsConstants.java", "dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/MailUtilsTest.java"] | [Bug][Alert] Sending the email to the following server failed :null:null |
**Describe the bug**
Alert-server email alert error, the message is 'Sending the email to the following server failed :null:null'
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4641 | https://github.com/apache/dolphinscheduler/pull/4642 | 14d49bc584685a33e2952573a0cb6e88377ab9f9 | 6df87b89d7b0ec013c5a2bfdfb92fa3ff1496c40 | "2021-02-01T04:50:30Z" | java | "2021-02-03T06:20:16Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,592 | ["ambari_plugin/common-services/DOLPHIN/1.3.3/configuration/dolphin-worker.xml", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/WorkerGroupService.java"] | [Improvement][api] Worker group data returned incorrectly |
![image](https://user-images.githubusercontent.com/55787491/105975589-16604400-60ca-11eb-91b8-83fd8568673e.png)
![image](https://user-images.githubusercontent.com/55787491/105975823-6212ed80-60ca-11eb-91a5-772c93a899bb.png)
**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4592 | https://github.com/apache/dolphinscheduler/pull/4620 | 658376ad363dcafafe1054f8babfc5bb5ffe60c0 | afd201e6fa50700cf16aad2a292e61c4e5b6e5f9 | "2021-01-27T10:06:43Z" | java | "2021-01-29T08:54:39Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,526 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java"] | [Bug][WorkerServer] worker server doesn't work fine in K8s | i run a worker server in k8s,not change the worker server parms,sometime i run into the error in the picture,dispath do not find a suiteable worker to do the task.
<img width="964" alt="截屏2021-01-20 下午8 44 42" src="https://user-images.githubusercontent.com/3957251/105436336-ff6cbc80-5c99-11eb-993c-ac13193efd96.png">
| https://github.com/apache/dolphinscheduler/issues/4526 | https://github.com/apache/dolphinscheduler/pull/4524 | cfa88a4a804b3bc565f6571d5a6e842df18644a2 | 5bae9336b025afb77bb0459fc10f333a8ff35d48 | "2021-01-22T02:10:46Z" | java | "2021-01-24T06:53:27Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,506 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CollectionUtils.java", "dolphinscheduler-dist/release-docs/LICENSE", "pom.xml", "tools/dependencies/known-dependencies.txt"] | There is a vulnerability in beanutils 1.7.0,upgrade recommended | https://github.com/apache/incubator-dolphinscheduler/blob/17c06ce966fc5c6a6136ee142e4698312fe6532f/pom.xml#L84
CVE-2014-0114 CVE-2019-10086
Recommended upgrade version:1.8.0~beta-1 | https://github.com/apache/dolphinscheduler/issues/4506 | https://github.com/apache/dolphinscheduler/pull/4525 | 829fdb52c1769030113b450b0b98ffecfe3693f8 | a5f31b75abee3ef12647dbb961013bd941bc78f1 | "2021-01-20T05:46:36Z" | java | "2021-01-25T05:43:06Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,496 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java"] | [BUG][server] Add to! {} is used to mark the custom parameters to be output as-is in sql | The hdfs path mapped when hive adds partitions is passed in by custom parameters:
Sample statement: alter table test add if not exists partition(dt='${time}') location "/.../${time}/";
Custom parameters:time in varchar $[yyyy-MM-dd]
Problem Description:
Quotation marks are added to the custom parameters in the Hive load partition SQL, which causes the partition path mapping error:
before modification: location "/.../${time}/" Is parsed into location "/.../'2020-01-19'/"
After modification : location "/.../${time}/" Is parsed into location "/.../2020-01-19/"
After the modification, there are no quotation marks in the hdfs path, which meets the requirements of the partition of the hive table
--------------------------------------------------------------------------------------------------------------
hive添加分区时所映射的hdfs路径由自定义参数传入
样例语句:alter table test add if not exists partition(dt='${time}') location "/.../${time}/";
自定义参数:time in varchar $[yyyy-MM-dd]
问题描述:
Hive加载分区SQL里的自定义参数上加了引号,导致分区路径映射错误:
修改前 location "/.../${time}/ 被解析成 location "/.../'2020-01-19'/
修改后 location "/.../${time}/ 被解析成 location "/.../2020-01-19/
修改后hdfs路径中不再有引号,符合hive表的分区的需求 | https://github.com/apache/dolphinscheduler/issues/4496 | https://github.com/apache/dolphinscheduler/pull/4497 | 0ab246da5fc30cc21734d7fa511be4f9080c7a9c | 43586da376cf60f3d719bee5b35c312568408cc7 | "2021-01-19T13:35:25Z" | java | "2021-01-21T12:43:59Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,493 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/store/dag/state.js"] | [Improvement][api] The Process Definition interface parameter releaseState is changed to an enumeration type | **Describe the question**
The Process Definition interface parameter releaseState is changed to an enumeration type
**What are the current deficiencies and the benefits of improvement**
- The current Process Definition interface parameter releaseState variable uses an int type, and the releaseState mapping relationship needs to be recorded in both the front-end and back-end code
**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4493 | https://github.com/apache/dolphinscheduler/pull/4494 | 046940b1a008c63d6cad44b3f7aff954f6f9af83 | cfa88a4a804b3bc565f6571d5a6e842df18644a2 | "2021-01-19T10:21:18Z" | java | "2021-01-22T14:39:58Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,428 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/DataSourceMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml", "dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"] | It is recommended to add an owner in the data source center and the Resource Center to make it easier to manage | It is recommended to add an owner in the data source center and the Resource Center to make it easier to manage
![image](https://user-images.githubusercontent.com/42087586/104288645-0ace2400-54f3-11eb-9466-04cb435d5fd0.png)
![image](https://user-images.githubusercontent.com/42087586/104288766-3224f100-54f3-11eb-9a9f-82d082a45670.png)
| https://github.com/apache/dolphinscheduler/issues/4428 | https://github.com/apache/dolphinscheduler/pull/4442 | 2a98aee1bd36039be1fd0ef03488432c70b6c63a | d0ac87a6389c2ff8766f477acaf3e236e11de7b1 | "2021-01-12T08:28:56Z" | java | "2021-01-14T09:10:14Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,391 | ["README.md", "README_zh_CN.md"] | [Improvement][Readme] please remove the invalid content | **Describe the question**
please delete the following content in the README.md and README_zh_CN.md, there two options are not valid now
![image](https://user-images.githubusercontent.com/15833811/103738751-83367000-502f-11eb-83f0-11b3989884bf.png)
**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4391 | https://github.com/apache/dolphinscheduler/pull/4374 | c67083f028820b035ebbd789fc29efa26dd3152a | cf41fb77742af589a06acf3ed27550f85db6128d | "2021-01-06T06:59:42Z" | java | "2021-01-07T14:41:06Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,385 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ExecutorController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ExecutorService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java", "dolphinscheduler-api/src/main/resources/i18n/messages_en_US.properties", "dolphinscheduler-api/src/main/resources/i18n/messages_zh_CN.properties", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ExecutorService2Test.java", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"] | [Improvement][recording data] Manually configure the parallelism of supplementary when recording data | *i met a situation that the memory fulls and the dolphinscheduler server down when i start the recording data(补数) tasks, if there is a feature that we can configure the parallelism of supplementary recording data manually *
**Describe the question**
The memory fulls and the dolphinscheduler server down when i start the recording data(补数) tasks.
**What are the current deficiencies and the benefits of improvement**
We can configure the parallelism of supplementary recording data manually so that the machine resource will not be occupied too much.
**Which version of DolphinScheduler:**
-[1.3.3-preview]
**Describe alternatives you've considered**
Changing the model to "Serial"(串行) but this model will take too much time.
| https://github.com/apache/dolphinscheduler/issues/4385 | https://github.com/apache/dolphinscheduler/pull/5912 | 2afa625a753680313e8a6c5fb3a68e01e56f5caa | 1887bde1ebf8249de153890e78d449582e3eaf4a | "2021-01-06T02:58:47Z" | java | "2021-08-16T06:59:28Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,359 | ["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue"] | [Bug][UI] the page does not refresh after clicking the delete function |
**Describe the bug**
the page does not refresh after clicking the delete function.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Click workflow Definition
2. Click the timer management button of a workflow
3. Click a timed delete button
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4359 | https://github.com/apache/dolphinscheduler/pull/4360 | 46443a6f3b4228556562606e29b2026c21f1d252 | 66141d58f6e19285a1a5d4d7cbd508b0f585a26c | "2021-01-02T05:10:18Z" | java | "2021-01-04T01:30:04Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,338 | ["dolphinscheduler-ui/src/js/module/filter/filter.js"] | [Bug][UI] Invalid date problem in IE | **For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! **
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to 'Task Instance', 'Warnning group manage' or 'Token manage' in IE
2. See 'Invalid Date' error
**Expected behavior**
Bug fixed.
**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/4902714/103278240-02132380-4a06-11eb-8c3c-db16e9558201.png)
![image](https://user-images.githubusercontent.com/4902714/103278253-06d7d780-4a06-11eb-8903-52d25bc5f6dc.png)
![image](https://user-images.githubusercontent.com/4902714/103278260-09d2c800-4a06-11eb-9145-185b8081518d.png)
**Which version of Dolphin Scheduler:**
-[all versions]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/4338 | https://github.com/apache/dolphinscheduler/pull/4339 | 2e44f4c553b761236a78daf993e150b08172ed37 | 45b097f37870d2a7b8e51fbba3e6d70b49ed2341 | "2020-12-29T10:45:50Z" | java | "2020-12-30T04:00:56Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,326 | ["dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue"] | [Improvement][UI] Add description field to data source list | **Describe the question**
[UI] Add description field to data source list
**Which version of DolphinScheduler:**
-[dev]
Anyone interested can claim this PR. | https://github.com/apache/dolphinscheduler/issues/4326 | https://github.com/apache/dolphinscheduler/pull/4362 | 66141d58f6e19285a1a5d4d7cbd508b0f585a26c | 0b71c77b2d2ff85afe2b440e53773fe2c428bed3 | "2020-12-28T11:19:08Z" | java | "2021-01-04T02:04:58Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,314 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java"] | [Question] dolphinscheduler cannot get the YARN address | The task is submitted and run successfully, but dolphinscheduler reports that the task status failed
After querying the log, it is found that the obtained yarn address is null, but the hosts and common are configured normally, and the yarn node is normally accessed
任务提交并运行成功,但dolphinscheduler报告任务状态失败
查询日志后发现获取到的yarn地址为null,但hosts与common均配置正常,且yarn节点正常访问
hosts
```properties
192.169.199.105 hdnn01
192.168.199.106 hdnn02
192.168.199.107 hdnn03
```
common.properties
```properties
# if resourcemanager HA enable, please type the HA ips ; if resourcemanager is single, make this value empty
yarn.resourcemanager.ha.rm.ids=hdnn01,hdnn02,hdnn03
# if resourcemanager HA enable 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://yarnIp1:8088/ws/v1/cluster/apps/%s
```
dolphinscheduler-worker.log
```
[INFO] 2020-12-25 18:17:30.759 - [taskAppId=TASK-3-4-17]:[193] - process start, process id is: 107032
[INFO] 2020-12-25 18:18:52.502 - [taskAppId=TASK-3-4-17]:[202] - process has exited, execute path:/tmp/dolphinscheduler/exec/process/1/3/4/17, processId:107032 ,exitStatusCode:0
[INFO] 2020-12-25 18:18:52.504 - [taskAppId=TASK-3-4-17]:[419] - find app id: application_1608880603127_0014
[INFO] 2020-12-25 18:18:52.576 org.apache.dolphinscheduler.common.utils.HadoopUtils:[144] - get property:fs.defaultFS -> hdfs://hdcluster, from core-site.xml hdfs-site.xml
[INFO] 2020-12-25 18:19:09.220 org.apache.dolphinscheduler.common.utils.HadoopUtils:[206] - application url : http://null:8088/ws/v1/cluster/apps/%s
[ERROR] 2020-12-25 18:19:24.259 org.apache.dolphinscheduler.common.utils.HttpUtils:[73] - null: Name or service not known
java.net.UnknownHostException: null: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:111)
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:412)
at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:378)
at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:218)
at org.apache.dolphinscheduler.server.worker.task.AbstractYarnTask.handle(AbstractYarnTask.java:57)
at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:129)
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] 2020-12-25 18:19:24.260 - [taskAppId=TASK-3-4-17]:[392] - yarn applications: [application_1608880603127_0014] status failed
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.common.utils.HadoopUtils.getApplicationStatus(HadoopUtils.java:415)
at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.isSuccessOfYarnState(AbstractCommandExecutor.java:378)
at org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:218)
at org.apache.dolphinscheduler.server.worker.task.AbstractYarnTask.handle(AbstractYarnTask.java:57)
at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:129)
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] 2020-12-25 18:19:24.261 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[137] - task instance id : 17,task final status : FAILURE
``` | https://github.com/apache/dolphinscheduler/issues/4314 | https://github.com/apache/dolphinscheduler/pull/4344 | b9e8dbed2f9dd29f51b30411f80bc92a0ca04c06 | ccd06fec16bae7da97bc4f61c45d4b471dccebc4 | "2020-12-26T06:57:41Z" | java | "2020-12-30T03:03:36Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,310 | ["dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/plugin/AlertPluginManager.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/UiPluginController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UiPluginService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UiPluginServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/UiPluginServiceTest.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/PluginType.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/PluginDefineMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/PluginDefineMapper.xml", "pom.xml"] | [Feature][Alert-SPI] Plug-ins containing UI components provide display pages |
*Some plugins (such as alert plugin) need to provide UI interfaces to users.
* We use from-creat to dynamically generate UI interfaces. Related parameters are mainly provided by pluginParams.
* From-create can generate dynamic ui based on this parameter. | https://github.com/apache/dolphinscheduler/issues/4310 | https://github.com/apache/dolphinscheduler/pull/4311 | 0f31152aeedf56e3a16883ded012952dbcacfc6b | 17d44216a4795d9b5a93a35b1457a2ead1f2b2c8 | "2020-12-25T09:01:31Z" | java | "2020-12-28T03:25:00Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,306 | ["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue"] | [Bug][UI] The version information closing function does not take effect | **Describe the bug**
1. The closing function of version information in workflow definition page does not take effect
2. The closing function of version information in DAG chart page does not take effect
**To Reproduce**
1. Click to enter the workflow definition page and click the version information button of a specific workflow definition
2. Clicking the Cancel button on the version information page does not take effect
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4306 | https://github.com/apache/dolphinscheduler/pull/4307 | ede78950836b77cceda0caafb0503a47b10fbbbd | 48b5fc6ae46a061346cf985ca0c0614f2e325bd3 | "2020-12-25T05:14:03Z" | java | "2020-12-26T06:03:41Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,301 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AccessTokenMapper.xml"] | [Bug][dao] The token management list does not display the user name |
**Describe the bug**
The token management list does not display the user name
**To Reproduce**
1. Click on the token Management menu
**Screenshots**
![image](https://user-images.githubusercontent.com/37063904/103061290-d64b0480-45e5-11eb-872d-cb9d002d62f1.png)
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4301 | https://github.com/apache/dolphinscheduler/pull/4302 | 3f9dcd5d4489197b22027d752e2c0bd0d453c30c | ec84695323190a24a0d277b1598a3bdd2baa901f | "2020-12-24T04:46:45Z" | java | "2020-12-24T05:01:29Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,294 | ["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/UdfFuncMapper.xml"] | [Bug][dao] The database field of the t_ds_udfs table is the mysql DB keyword | **Describe the bug**
The database field of the t_ds_udfs table is the mysql DB keyword
**Screenshots**
![image](https://user-images.githubusercontent.com/37063904/102960654-5d807580-451d-11eb-9246-86c506b1cf7a.png)
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/4294 | https://github.com/apache/dolphinscheduler/pull/4295 | f0ada2aa2dba2ecdbfdd28c7f88a68fe06730d86 | 3f9dcd5d4489197b22027d752e2c0bd0d453c30c | "2020-12-23T04:54:47Z" | java | "2020-12-24T01:20:58Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,215 | ["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"] | [improvement] ProcessService invalid code removal | *For better global communication, please give priority to using English description, thx! *
*Please review https://dolphinscheduler.apache.org/en-us/docs/development/issue.html when describe an issue.*
**Describe the question**
A clear and concise description of what the question is.
org.apache.dolphinscheduler.service.process.ProcessService#checkTaskExistsInTaskQueue方法恒返回false
**Which version of DolphinScheduler:**
1.1.3
**Additional context**
Add any other context about the problem here.
![image](https://user-images.githubusercontent.com/41229600/101970917-6002e580-3c68-11eb-84c1-135b943ec38b.png)
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
如果返回恒定值,业务逻辑是否完备 | https://github.com/apache/dolphinscheduler/issues/4215 | https://github.com/apache/dolphinscheduler/pull/4221 | b694474c78cafb298dd41d03cc0c54d2179dde2a | 426eb9af034ff481f22d5da0a03662f6c9c7e32c | "2020-12-12T02:53:50Z" | java | "2020-12-13T15:05:27Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,172 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/entity/TaskExecutionContext.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/cache/TaskExecutionContextCacheManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/cache/impl/TaskExecutionContextCacheManagerImpl.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/cache/TaskExecutionContextCacheManagerTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackServiceTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessorTest.java"] | TaskKillProcessor throw NullPointException | 1.when worker runing more than 100 tasks , there are some tasks in queue.
with that ,master send a kill commad to this worker,TaskKillProcessor receive ,and get processId in cache(TaskExecutionContext).
But the taskInstance isn't running in this worker ,it is in queue.so the TaskKillProcessor throw NullPointException.
2.This exception will be catched in this method.The TaskKillProcessor will continue run to build command .In method "buildKillTaskResponseCommand" , get TaskInstanceId in cache(TaskExecutionContext),but this cache is null,so the command send to master with a null taskInstanceId. | https://github.com/apache/dolphinscheduler/issues/4172 | https://github.com/apache/dolphinscheduler/pull/4182 | b3120a74d2656f7ad2054ba8245262551063b549 | a13e737eb472b21b6b4c596ede9afc80fa3beb06 | "2020-12-07T08:19:05Z" | java | "2020-12-11T07:41:35Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,144 | ["dolphinscheduler-dist/release-docs/LICENSE", "dolphinscheduler-dist/release-docs/licenses/LICENSE-HikariCP-java6.txt", "dolphinscheduler-dist/release-docs/licenses/LICENSE-c3p0.txt", "dolphinscheduler-dist/release-docs/licenses/LICENSE-mchange-commons-java.txt", "pom.xml", "tools/dependencies/known-dependencies.txt"] | There is a vulnerability in jackson-databind 2.9.8 ,upgrade recommended | https://github.com/apache/incubator-dolphinscheduler/blob/aa0974fd1f759e96430d3f1b8dac291d6ea7388c/pom.xml#L68
CVE-2019-14379 CVE-2019-14540 CVE-2019-16335 CVE-2019-16942 CVE-2019-16943
Recommended upgrade version:
2.9.10.6
| https://github.com/apache/dolphinscheduler/issues/4144 | https://github.com/apache/dolphinscheduler/pull/4153 | a522da068f8c188e0d792f84416a52e5040de459 | 1a854f8056cbc19a1520e1134cf48070e96720cf | "2020-12-02T08:19:05Z" | java | "2020-12-03T07:25:49Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,138 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumer.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumerTest.java"] | [Feature][Master] dispatch workgroup error add sleep time |
If the task group cannot be found when running a task, a large number of logs will be output
![image](https://user-images.githubusercontent.com/39816903/100732974-7ad38f80-3408-11eb-88b7-89d32a242acc.png)
It is suggested to add sleep operation
When there are tasks with assignment failure and the number of tasks in the current task queue is less than 10, sleep for 1 second
-------------------
如果运行任务的时候,任务的分组找不到,会输出大量的日志.
![image](https://user-images.githubusercontent.com/39816903/100732974-7ad38f80-3408-11eb-88b7-89d32a242acc.png)
建议增加休眠操作:
当存在分配失败的任务 , 并且当前任务队列[taskPriorityQueue]中的任务数量小于10, 休眠1秒.
| https://github.com/apache/dolphinscheduler/issues/4138 | https://github.com/apache/dolphinscheduler/pull/4139 | 0039b1bfcbf822cb851898a1ceb4844fd6943731 | b3120a74d2656f7ad2054ba8245262551063b549 | "2020-12-01T11:08:26Z" | java | "2020-12-11T07:35:40Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,114 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/FileUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/FileUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.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", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/MasterExecThreadTest.java"] | [Question] data.basedir.path cleanup problem. | 1, I have modified the data. The basedir. Path from/tmp/dolphinscheduler to /mydata/dolphinscheduler/tmp/.
2. Developer mode is false.
3, /mydata/dolphinscheduler/tmp folder read and write access to normal, ds is perfectly normal.
4, after running for a period of time only, find/data/dolphinscheduler files in the/tmp directory cannot be automatically deleted, lead to disk pile up.
Q: Can temporary files in this directory only be removed manually?Cannot automatically delete??
1、我修改了data.basedir.path从/tmp/dolphinscheduler/ 到数据盘/data/dolphinscheduler/tmp.
2、开发者模式为false.
3、/data/dolphinscheduler/tmp文件夹读写权限正常,ds工作完全正常.
4、在运行了一段时间只有,发现/data/dolphinscheduler/tmp目录中的文件不能自动删除,导致磁盘被占满.
问题:这个目录中的临时文件只能手动删除么?不能自动删除??? | https://github.com/apache/dolphinscheduler/issues/4114 | https://github.com/apache/dolphinscheduler/pull/5123 | a8b47e1d4f4ebb9795239ef69b57f2928a81f44c | 492b318bd321d35247488e1f181e3ea9d1259963 | "2020-11-27T02:11:34Z" | java | "2021-03-26T02:11:56Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,104 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sqoop/generator/sources/MysqlSourceGenerator.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sqoop/generator/targets/MysqlTargetGenerator.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/sqoop/SqoopTaskTest.java"] | [Bug][Sqoop] when jdbc connect string contains special characters, import fail | **Describe the bug**
when jdbc connect string contains special characters, import fail
**To Reproduce**
Steps to reproduce the behavior, for example:
1. sqoop import data source string contains special characters like "&"
2. run sqoop task
3. find command not found error
**Expected behavior**
sqoop import RDBMS success
**Which version of Dolphin Scheduler:**
-[ds-1.3.3] | https://github.com/apache/dolphinscheduler/issues/4104 | https://github.com/apache/dolphinscheduler/pull/4105 | 656ec295b9e09468fc6a871df821ba42436c5e57 | 1cf40e1d1e4379e6b50a92871987d59291ccfd50 | "2020-11-25T15:22:52Z" | java | "2020-11-27T01:46:23Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,093 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/procedure/ProcedureTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/procedure/ProcedureTaskTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/procedure.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js", "pom.xml"] | [Feature][server] Support for stored procedures and stored function calls and data source supports DB2 | **Describe the feature**
1.Support for stored procedures and stored function calls
2. Task node page data source parameters can support the selection of a variety of data sources, rather than currently only limited to mysql, Oracle and other data sources
3. When the calling script is filled in on the page, there will be subtle differences between the calling scripts corresponding to various data sources
**Is your feature request related to a problem? Please describe.**
1. Fixed Issues #3990 , data source supports DB2
**Describe the solution you'd like**
1.Support for stored procedures and stored function calls
```
{call <procedure-name>[(<arg1>,<arg2>, ...)]}
{?= call <procedure-name>[(<arg1>,<arg2>, ...)]}
```
2. Task node page selection can support multiple types of data sources, instead of only configuring several data sources like mysql and Oracle
3. Call the script to fill in the page and verify the matching of the number of parameters
---
**描述特征**
1.支持存储过程和存储函数调用
2.任务节点页面数据源参数可以支持选择多种类型数据源,而不是现在只限制mysql,oracle等几个数据源
3.调用脚本在页面填写,各个数据源对应的调用脚本会存在细微区别
**您的特性请求与问题有关吗?请描述**
1.修复issues #3990 ,数据源支持DB2
**描述你想要的解决方案**
1.支持存储过程和存储函数调用
```
{call <procedure-name>[(<arg1>,<arg2>, ...)]}
{?= call <procedure-name>[(<arg1>,<arg2>, ...)]}
```
2.任务节点页面选择可以支持多种类型数据源,而不是现在只配置mysql,oracle等几个数据源
3.调用脚本在页面填写,做参数个数匹配验证 | https://github.com/apache/dolphinscheduler/issues/4093 | https://github.com/apache/dolphinscheduler/pull/4094 | 2a59ed092ca1eea733a28f3ceb7f03776582ecb6 | 88a07f7b55d164b6a022d2f9df75ecbb258c280f | "2020-11-20T11:10:34Z" | java | "2021-04-29T10:29:44Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,054 | ["dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue"] | [Bug][Api] The last week of the month for adding/editing timing, preview and save timing will report an error | 1.Add or Edit timing, select the last week of the month regularly
2. Click the preview or save button, an error will be reported
![image](https://user-images.githubusercontent.com/55787491/98796191-172bf700-2446-11eb-920f-e6ab421c420a.png)
![image](https://user-images.githubusercontent.com/55787491/98797454-8f46ec80-2447-11eb-8479-e07df5b620b7.png)
![image](https://user-images.githubusercontent.com/55787491/98796434-55291b00-2446-11eb-9aee-1a1b89954970.png)
![image](https://user-images.githubusercontent.com/55787491/98796656-96b9c600-2446-11eb-92d2-acabf2c647ec.png)
**Expect Result**
0 15 10? * 6L 2020-2025 Fire at 10:15 am on the last Friday of each month from 2020 to 2025
--------------------------------------------------------------------------------------------------------
0 15 10 ? * 6L 2020-2025 2020年至2025年的每月的最后一个星期五上午10:15触发
**Which version of Dolphin Scheduler:**
-[1.3.2] | https://github.com/apache/dolphinscheduler/issues/4054 | https://github.com/apache/dolphinscheduler/pull/4081 | 3c89c9ad74e55e3aca1a36a4341202e31ceecbf7 | f152cae7f6beee585bc43a2b0bee2686c21d03c4 | "2020-11-11T09:56:20Z" | java | "2020-11-19T02:59:25Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 4,008 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ResourcesController.java"] | [Improvement][Swagger] The resources API document does not match the interface parameters |
The resources API document does not match the interface parameters
| https://github.com/apache/dolphinscheduler/issues/4008 | https://github.com/apache/dolphinscheduler/pull/4009 | c54d09605b262b9e1058199834b4b6c80a2ed7f5 | f4c14dea53dada047b1833bdeceaa881ae0d6ff4 | "2020-10-29T07:50:34Z" | java | "2020-11-02T02:08:23Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,990 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/procedure/ProcedureTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/procedure/ProcedureTaskTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/procedure.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js", "pom.xml"] | [Feature][Procedure] Procedure task supports db2 procedure | *For better global communication, please give priority to using English description, thx! *
*Please review https://dolphinscheduler.apache.org/en-us/docs/development/issue.html when describe an issue.*
**Describe the feature**
A clear and concise description of what the feature is.
Procedure task needs to support db2 procedure
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
| https://github.com/apache/dolphinscheduler/issues/3990 | https://github.com/apache/dolphinscheduler/pull/4094 | 2a59ed092ca1eea733a28f3ceb7f03776582ecb6 | 88a07f7b55d164b6a022d2f9df75ecbb258c280f | "2020-10-26T01:14:30Z" | java | "2021-04-29T10:29:44Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,985 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/datax/DataxParameters.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/task/DataxParametersTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTaskTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js", "pom.xml"] | [Feature][Datax] Datax supports setting up running memory |
DataX default memory is 1g, when the amount of data is large, memory will not be enough
So you need to support setting runtime JVM memory
![image](https://user-images.githubusercontent.com/39816903/97070670-d8f0a400-160c-11eb-89ca-50b3244f6a61.png)
| https://github.com/apache/dolphinscheduler/issues/3985 | https://github.com/apache/dolphinscheduler/pull/3986 | 89f1e93bcf936b527856f658e33fe38ead5ec8b9 | fe3026627fc2d38da08ae396724cc61bc922374a | "2020-10-24T07:25:07Z" | java | "2020-11-16T02:55:20Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,966 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/AlertManager.java"] | Call submodule, send mail problem | Call the submodule, run the option to send an email whether it succeeds or fails, each submodule sends an email, the total end of sending an email, it should be OK as long as the total end of sending an email
调用子模块,运行选择无论成功失败都发送邮件,每个子模块发送一封邮件,应该是总的结束了发送一封邮件
![image](https://user-images.githubusercontent.com/61308609/96700016-83748700-13c1-11eb-8d2d-6fbc094d937e.png)
| https://github.com/apache/dolphinscheduler/issues/3966 | https://github.com/apache/dolphinscheduler/pull/3972 | ccc8ba1167f4b447ee4c19bee42b813c32f61027 | 7a088b7325e173c2419398d3a5c3785839c4b72a | "2020-10-21T09:20:21Z" | java | "2020-10-22T08:09:55Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,958 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ResourcesService.java"] | [Bug][api] files should not be created successfully in the directory of the authorized file | 1. Authorize user A's /pg_cxc/pg_1.sh file to user B
2. User B can successfully create files in the pg_cxc directory
![image](https://user-images.githubusercontent.com/55787491/96667659-12ff4300-138c-11eb-91b4-9b46c663eb65.png)
### Expected result
Since only the files in the directory are authorized, user B does not have the permission of the directory pg_cxc
**Which version of Dolphin Scheduler:**
-[1.3.2]
| https://github.com/apache/dolphinscheduler/issues/3958 | https://github.com/apache/dolphinscheduler/pull/3980 | 075d1638d0e46f6b6dd3658a6188ea482a0f4802 | 292b0fce0b5fc621a3355d43e989950dceeecd7e | "2020-10-21T02:56:58Z" | java | "2020-10-23T06:58:17Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,956 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/TaskParams.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/VarPoolUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/VarPoolUtilsTest.java"] | [Bug][Master] When running a task, the resource file is lost, which results in an error | When running a shell task, the resource file is lost, which results in an error
TaskParams
Taskparams does not have a resourcelist. When converting, the content of resourcelist will be lost
Not only shell tasks, param parameters in other task types may be overridden
The code is as follows:
VarPoolUtils#setTaskNodeLocalParams
```
/**
* setTaskNodeLocalParams
* @param taskNode taskNode
* @param prop LocalParamName
* @param value LocalParamValue
*/
public static void setTaskNodeLocalParams(TaskNode taskNode, String prop, Object value) {
String taskParamsJson = taskNode.getParams();
TaskParams taskParams = JSONUtils.parseObject(taskParamsJson, TaskParams.class);
if (taskParams == null) {
return;
}
taskParams.setLocalParamValue(prop, value);
taskNode.setParams(JSONUtils.toJsonString(taskParams));
}
```
| https://github.com/apache/dolphinscheduler/issues/3956 | https://github.com/apache/dolphinscheduler/pull/3957 | 8fd3932bff374a03ef159bd2a2f495728c8e5d4e | 05b248f8e3323434c83851d26b1fcf6dc61eef4e | "2020-10-20T11:23:46Z" | java | "2020-10-24T09:50:33Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,938 | ["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.java"] | [CodeClean][DAO]Remove redundant comments | Remove redundant comments
ProcessInstanceMapper# queryProcessInstanceListPaging
![image](https://user-images.githubusercontent.com/39816903/96348654-f5f11880-10dc-11eb-8bec-7dfa637419f0.png)
| https://github.com/apache/dolphinscheduler/issues/3938 | https://github.com/apache/dolphinscheduler/pull/3939 | 3fdc5576e19b8102ea4f10a714cd3c85b27b2c4e | fa355b23f39e14975d2d6ca1f0f6e2178a189b42 | "2020-10-17T16:58:17Z" | java | "2020-10-18T14:36:04Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,929 | ["dolphinscheduler-api/src/main/resources/logback-api.xml", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/DagHelper.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/utils/DagHelperTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/ConditionsTaskExecThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java", "dolphinscheduler-server/src/main/resources/logback-master.xml", "dolphinscheduler-server/src/main/resources/logback-worker.xml", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/MasterCommandTest.java"] | [Bug][master/worker] After the master and worker are fault-tolerant, the process instance fails after the task instance is successfully executed | ### Steps to reproduce
1. Start 2 master services (master1, master2), 2 worker services (worker1, worker2)
2. Run the workflow, the process instance runs in master1, and the task runs in worker1
3. Stop master1, worker1 services
4. After fault tolerance, the process instance runs on master2 and the task runs on worker2. After all tasks are executed successfully, the process instance status is failed
============================================
### 复现步骤
1.启动2个master服务(master1,master2)、2个worker服务(worker1,worker2)
2.运行工作流,流程实例在master1运行,任务在worker1运行
3.停止master1,worker1服务
4.容错后,流程实例在master2运行,任务在worker2运行,所有任务执行成功后,流程实例状态为失败
![image](https://user-images.githubusercontent.com/55787491/96237370-d15b4a80-0fcf-11eb-8e2e-4a1d415d068f.png)
![image](https://user-images.githubusercontent.com/55787491/96237400-d9b38580-0fcf-11eb-8992-886f80962af2.png)
![image](https://user-images.githubusercontent.com/55787491/96237449-e59f4780-0fcf-11eb-8288-4773eab9ec65.png)
**Which branch**
-[1.3.3-release] | https://github.com/apache/dolphinscheduler/issues/3929 | https://github.com/apache/dolphinscheduler/pull/3999 | c11d97f7786eb72d601769a2ba3e1f97453f7c87 | 6caac0f36623cee4fa1cb2edfc35c7db87b08aa9 | "2020-10-16T08:52:08Z" | java | "2020-10-27T09:37:59Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,894 | ["docker/build/Dockerfile", "docker/build/startup.sh"] | [Bug][docker] Variable reference error in startup.sh | *For better global communication, please give priority to using English description, thx! *
*Please review https://dolphinscheduler.apache.org/en-us/docs/development/issue.html when describe an issue.*
**Describe the bug**
in file `docker/build/startup.sh` , variables cannot reference in single quotes.
```sh
# start database
initDatabase() {
echo "test ${DATABASE_TYPE} service"
while ! nc -z ${DATABASE_HOST} ${DATABASE_PORT}; do
counter=$((counter+1))
if [ $counter == 30 ]; then
echo "Error: Couldn't connect to ${DATABASE_TYPE}."
exit 1
fi
echo "Trying to connect to ${DATABASE_TYPE} at ${DATABASE_HOST}:${DATABASE_PORT}. Attempt $counter."
sleep 5
done
echo "connect ${DATABASE_TYPE} service"
if [ ${DATABASE_TYPE} = "mysql" ]; then
v=$(mysql -h${DATABASE_HOST} -P${DATABASE_PORT} -u${DATABASE_USERNAME} --password=${DATABASE_PASSWORD} -D ${DATABASE_DATABASE} -e "select 1" 2>&1)
if [ "$(echo '${v}' | grep 'ERROR' | wc -l)" -eq 1 ]; then
echo "Error: Can't connect to database...${v}"
exit 1
fi
else
v=$(sudo -u postgres PGPASSWORD=${DATABASE_PASSWORD} psql -h ${DATABASE_HOST} -p ${DATABASE_PORT} -U ${DATABASE_USERNAME} -d ${DATABASE_DATABASE} -tAc "select 1")
if [ "$(echo '${v}' | grep 'FATAL' | wc -l)" -eq 1 ]; then
echo "Error: Can't connect to database...${v}"
exit 1
fi
fi
echo "import sql data"
${DOLPHINSCHEDULER_SCRIPT}/create-dolphinscheduler.sh
}
```
**To Reproduce**
v="ERROR"
echo '${v}' | grep 'ERROR' | wc -l
**Expected behavior**
v="ERROR"
echo ${v} | grep 'ERROR' | wc -l
**Screenshots**
**Which version of Dolphin Scheduler:**
-[1.3.2-release]
-[dev]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/3894 | https://github.com/apache/dolphinscheduler/pull/3895 | 3d4238f66811dc6b83bb65e3a146251be9ddde95 | 3fdc5576e19b8102ea4f10a714cd3c85b27b2c4e | "2020-10-13T06:24:43Z" | java | "2020-10-17T13:57:16Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,878 | ["dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/warningGroups/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/security/pages/workerGroups/_source/list.vue", "dolphinscheduler-ui/src/sass/common/_table.scss"] | [Feature][ui] DS front-end new feature development plan | DS front-end new feature development plan
1. Ans-ui is replaced with element-ui
2. Alarm group plug-in (issues #3049)
3. Front-end dependent version upgrade
The current renovation plan is carried out on the alert_plugin_design branch. If you have a small partner who is interested in this piece, you can join in. | https://github.com/apache/dolphinscheduler/issues/3878 | https://github.com/apache/dolphinscheduler/pull/4280 | ef7d7b791ee48d7cac40c84e63895417a9a6c8e8 | 3a3df01abed81e23972eedc8e0d30ae2e9dfb6ff | "2020-10-10T01:55:09Z" | java | "2020-12-22T01:03:54Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,836 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java"] | [Bug][API] verifyProcessDefinitionName error message |
![image](https://user-images.githubusercontent.com/39816903/94387399-9ad2a280-017c-11eb-8e46-53722fc7cbe4.png)
| https://github.com/apache/dolphinscheduler/issues/3836 | https://github.com/apache/dolphinscheduler/pull/3908 | d32300ba5b33ec17092ae3ba7dd6502f0f709554 | 13030502fd27863827ce9a2e3ec905c5a359170b | "2020-09-28T03:21:57Z" | java | "2020-10-15T06:09:28Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,823 | ["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.js"] | [Bug][ui] DAG formatting leads to the loss of pre-task | **Describe the bug**
DAG formatting leads to the loss of pre-task
## before
![image](https://user-images.githubusercontent.com/5669148/94251923-d4759480-ff55-11ea-8de4-11e29db3854f.png)
## after
![image](https://user-images.githubusercontent.com/5669148/94252082-08e95080-ff56-11ea-80bd-21b057e2bb13.png)
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to 'process definition'
2. Edit 'process definition'
3. Click on 'Format DAG'
4. Edit 'node settings'
5. See 'Pre tasks'
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/3823 | https://github.com/apache/dolphinscheduler/pull/3824 | 62fb2fd19b769c2fa4fa68a32675891104d3608c | 60bf3f851102f1e259a6fa65ee642a0e669b188b | "2020-09-25T09:45:19Z" | java | "2020-10-16T02:15:02Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,789 | ["dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/NettyRemotingClient.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/NettyRemotingServer.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/CommandType.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/config/NettyClientConfig.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/handler/NettyClientHandler.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/handler/NettyServerHandler.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/utils/Constants.java", "dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/utils/NettyUtils.java"] | [Bug][remote] channel time out | **Describe the bug**
某些网络情况下,master submit task时,无法进行netty通信,task信息发送不到worker,等待很长时间之后,出现time out的异常,然后过一段儿时间就又会出现这种现象。
**To Reproduce**
Steps to reproduce the behavior, for example:
1. 手动运行某个流程
2. 流程处于运行中,所有任务全部是已提交的灰色圆点状态
3. master节点很长一段时间之后会出现timeout的异常
4. worker端没有接受到master的信息
**Expected behavior**
在send方法中,获取channel的时候判断了channel的状态是否active,怀疑这里获取到的active 状态的channel并不能向worker发送数据,等待这个channel异常之后,重新创建的channel可以短暂使用,但是过一段儿时间还是会这样复现
**Screenshots**
公司环境截不了图
**Which version of Dolphin Scheduler:**
-[1.3.1]
-[1.3.2]
**Additional context**
不同的网络环境可能结果不同,有朋友的测试集群没有出现异常,而生产出现异常。我个人的生产环境还没有上线进行测试,测试环境基本每半个小时左右可以出现一次
**Requirement or improvement**
- 希望尽快修复这个问题,严重影响调度
| https://github.com/apache/dolphinscheduler/issues/3789 | https://github.com/apache/dolphinscheduler/pull/3913 | e740dc7645eb7c2659a40dd0958af41969aafa00 | 51d476be69287e7c52c53825ea8ed434ed71dc44 | "2020-09-22T13:57:17Z" | java | "2020-10-15T02:28:05Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,713 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java"] | [Bug][HadoopUtils] catfile method Stream not closed |
The catfile method did not close the data stream, resulting in too many open files
![image](https://user-images.githubusercontent.com/39816903/92694030-02b17c80-f379-11ea-843c-bac4aee4c778.png)
| https://github.com/apache/dolphinscheduler/issues/3713 | https://github.com/apache/dolphinscheduler/pull/3715 | 4ed36387507c50b1042802143676a04fc51e6bcc | 7af20ca3afe858f29abdd9ad9cb5013d8fd33d65 | "2020-09-10T07:36:42Z" | java | "2020-09-12T15:42:40Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,621 | ["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue"] | [Bug][master] After batch deleting the executing process instances, the master cannot get the worker feedback results | 1. Run more than 40 workflows in batches, and the status of the workflow instance and task instance is executing
2. Click the batch delete button on the process instance page
3. After the worker task is executed successfully, the master cannot get the result
4. Run the workflow, the master does not assign tasks to the workers
## Solution: After restarting the master service, all tasks run normally
1.批量运行40个以上工作流,工作流实例及任务实例状态都为执行中
2.流程实例页面点击批量删除按钮
3.worker任务执行成功后,master拿不到woker反馈的结果
4.运行工作流,master也没有向worker分配任务
## 解决方法:重启master服务后,所有任务正常运行
![image](https://user-images.githubusercontent.com/55787491/91513197-569e7900-e916-11ea-8907-1713e4f266b4.png)
![image](https://user-images.githubusercontent.com/55787491/91513168-47b7c680-e916-11ea-96b5-3a46ff77badf.png)
**Which version of Dolphin Scheduler:**
-[1.3.2-release]
| https://github.com/apache/dolphinscheduler/issues/3621 | https://github.com/apache/dolphinscheduler/pull/3848 | a51dafc3826e142a08ef03d71e21918d80f677d6 | d946717fcbb775a9c04b2728056b546bf2038ae4 | "2020-08-28T02:08:47Z" | java | "2020-09-29T07:55:42Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,617 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/process/ProcessServiceTest.java", "pom.xml"] | [Bug][master] After subtask fault tolerance, 2 task instances are generated,The process instance status always is executing | Sub-process fault tolerance, two commands:
1.run sub_process workflow
2.stop master
3.start master,2 task instances are generated
![image](https://user-images.githubusercontent.com/55787491/91425464-c288cf00-e88d-11ea-9912-91611d62715b.png)
![image](https://user-images.githubusercontent.com/55787491/91425358-9cfbc580-e88d-11ea-8fad-a80da4d52de8.png)
The master log is as follows (master日志如下)
![image](https://user-images.githubusercontent.com/55787491/91424758-cec05c80-e88c-11ea-834a-f44e8f21e36b.png)
The worker log is as follows (worker日志如下)
![image](https://user-images.githubusercontent.com/55787491/91424852-eac3fe00-e88c-11ea-9f38-df752c9aad78.png)
**Which version of Dolphin Scheduler:**
-[1.3.2-release] | https://github.com/apache/dolphinscheduler/issues/3617 | https://github.com/apache/dolphinscheduler/pull/3873 | c4be3b57493fe75f5a5dbb9f258a0430d0363cc6 | 39411ce03b864bc770da220ad6f81df47bd2487b | "2020-08-27T09:48:06Z" | java | "2020-10-10T07:05:56Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,615 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java"] | [Bug][master] After the task is executed successfully, but the next task has not been submitted, stop the master,the workflow will fail | 1.run workflow
2.After the task is executed successfully, but the next task has not been submitted, stop the master,the workflow will fail
![image](https://user-images.githubusercontent.com/55787491/91420688-9bc79a00-e887-11ea-9cc9-ee4506ff9823.png)
![image](https://user-images.githubusercontent.com/55787491/91420703-9ec28a80-e887-11ea-8f54-c035131c7550.png)
![image](https://user-images.githubusercontent.com/55787491/91420713-a2561180-e887-11ea-859d-ed03dab7de85.png)
**Which version of Dolphin Scheduler:**
-[1.3.2-release]
| https://github.com/apache/dolphinscheduler/issues/3615 | https://github.com/apache/dolphinscheduler/pull/3947 | ccdaee9c04d5eb2a23ad85cdc5d56150babf57c6 | 4f94943b2d04c03c2dd9366cf3550f1595a1964a | "2020-08-27T09:08:41Z" | java | "2020-10-19T08:50:13Z" |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 3,607 | ["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue"] | [Bug][Workflow version] ProcessDefinition version can delete and save with releaseState=ONLINE | **Describe the bug**
ProcessDefinition version can delete and save with releaseState=ONLINE
**To Reproduce**
Steps to reproduce the behavior, for example:
1. set processdefinition online
2. click processdefinition name
3. click save `[bug]should disabeld`
4. click version info,delete/switch version `[bug]shoudld disabeld`
**Which version of Dolphin Scheduler:**
-[dev]
@yangyichao-mango | https://github.com/apache/dolphinscheduler/issues/3607 | https://github.com/apache/dolphinscheduler/pull/3609 | 06ab654d647c3fc6142f96a41f0913a53e3e8698 | 5e2a8bea2e228b2198502176bc95f2e94ad88b46 | "2020-08-27T02:16:10Z" | java | "2020-08-27T03:13:17Z" |