status
stringclasses 1
value | repo_name
stringlengths 9
24
| repo_url
stringlengths 28
43
| issue_id
int64 1
104k
| updated_files
stringlengths 8
1.76k
| title
stringlengths 4
369
| body
stringlengths 0
254k
⌀ | issue_url
stringlengths 37
56
| pull_url
stringlengths 37
54
| before_fix_sha
stringlengths 40
40
| after_fix_sha
stringlengths 40
40
| report_datetime
timestamp[ns, tz=UTC] | language
stringclasses 5
values | commit_datetime
timestamp[us, tz=UTC] |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,610 | ["sql/dolphinscheduler_mysql.sql", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql"] | [Question] Something wrong with build docker image from source | **Describe the question**
I tried building a image by clean source code.

and then setup in this way.

But when I tried to create a project, it failed.

**Which version of DolphinScheduler:**
-[1.3.6]
**Additional context**
And also I found that the image I pull does not has the same size as the image I build, Does anyone know the reason?
 | https://github.com/apache/dolphinscheduler/issues/5610 | https://github.com/apache/dolphinscheduler/pull/5611 | 0d5037e7c37d7903d9172f165b348058f1ddbf88 | c5bea3c77430e0b46a2f5a3a91a7fbbc78874196 | 2021-06-09T10:45:43Z | java | 2021-06-15T06:45:39Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,596 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/PythonCommandExecutor.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"] | [Bug][Python] Conflict between python_home and datax_home configuration in dolphinscheduler_env.sh | Environment configuration of dataX and python
dolphinscheduler_ Env.sh configuration
To configure dataX python, you need to configure it in the root directory of Python
To execute a python script, you need to configure the python executable file in the python directory
- [dev]
- [1.3.6] | https://github.com/apache/dolphinscheduler/issues/5596 | https://github.com/apache/dolphinscheduler/pull/5612 | b436ef0a2c7dbfcdffbeb6006430a893897f2271 | 8bf042ae6ef7576209a0489e784684f4960ae6e0 | 2021-06-07T09:27:16Z | java | 2021-06-11T17:23:18Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,586 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/MasterServer.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/bean/SpringApplicationContext.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/CuratorZookeeperClient.java"] | [Question] the cluster hangs up caused by failing to obtain JDBC Connection | I cannot see any master or worker on the Monitor page when the backend process instance is still alive on the ds server.
```[ERROR] 2021-06-02 08:53:16.176 org.apache.dolphinscheduler.server.master.registry.ServerNodeManager:[230] - WorkerGroupListener capture data change and get data failed
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at Wed Jun 02 08:52:57 CST 2021
### The error may exist in org/apache/dolphinscheduler/dao/mapper/AlertMapper.java (best guess)
### The error may involve org.apache.dolphinscheduler.dao.mapper.AlertMapper.insert
### The error occurred while executing an update
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at Wed Jun 02 08:52:57 CST 2021
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:78)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440)
at com.sun.proxy.$Proxy84.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:271)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:58)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61)
at com.sun.proxy.$Proxy108.insert(Unknown Source)
at org.apache.dolphinscheduler.dao.AlertDao.saveTaskTimeoutAlert(AlertDao.java:135)
at org.apache.dolphinscheduler.dao.AlertDao.sendServerStopedAlert(AlertDao.java:102)
at org.apache.dolphinscheduler.server.master.registry.ServerNodeManager$WorkerGroupNodeListener.dataChanged(ServerNodeManager.java:225)
at org.apache.dolphinscheduler.service.zk.AbstractListener.childEvent(AbstractListener.java:32)
at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:760)
at org.apache.curator.framework.recipes.cache.TreeCache$2.apply(TreeCache.java:754)
at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:100)
at org.apache.curator.shaded.com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:92)
at org.apache.curator.framework.recipes.cache.TreeCache.callListeners(TreeCache.java:753)
at org.apache.curator.framework.recipes.cache.TreeCache.access$1900(TreeCache.java:75)
at org.apache.curator.framework.recipes.cache.TreeCache$4.run(TreeCache.java:865)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at `java.lang.Thread.run(Thread.java:748)`
Caused by: org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at Wed Jun 02 08:52:57 CST 2021
### The error may exist in org/apache/dolphinscheduler/dao/mapper/AlertMapper.java (best guess)
### The error may involve org.apache.dolphinscheduler.dao.mapper.AlertMapper.insert
### The error occurred while executing an update
``` | https://github.com/apache/dolphinscheduler/issues/5586 | https://github.com/apache/dolphinscheduler/pull/5588 | 87604b7a3df17dcfc5cc9087340d06b0d8930ddc | 75be09735a29469ef5169550239c65a5a27af3ba | 2021-06-03T01:39:35Z | java | 2021-06-04T05:27:18Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,583 | ["sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql"] | [Bug][SQL] org.postgresql.util.PSQLException: ERROR: column "group_name" named in key does not exist | **To Reproduce**
Steps to reproduce the behavior, for example:
1. Run DolphinScheduler with PostgreSQL
2. Click on the class 'CreateDolphinScheduler'
3. See error
**Expected behavior**
Bug fixed
**Screenshots**
```
16:55:01.862 [main] INFO org.apache.dolphinscheduler.common.utils.ScriptRunner - sql: DROP FUNCTION IF EXISTS uc_dolphin_T_t_ds_alertgroup_A_create_user_id()
16:55:01.869 [main] INFO org.apache.dolphinscheduler.common.utils.ScriptRunner - -- uc_dolphin_T_t_ds_alertgroup_A_add_UN_groupName
16:55:01.869 [main] INFO org.apache.dolphinscheduler.common.utils.ScriptRunner - sql: CREATE OR REPLACE FUNCTION uc_dolphin_T_t_ds_alertgroup_A_add_UN_groupName() RETURNS void AS $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_stat_all_indexes WHERE relname='t_ds_alertgroup' AND indexrelname ='t_ds_alertgroup_name_UN') THEN ALTER TABLE t_ds_process_definition ADD CONSTRAINT t_ds_alertgroup_name_UN UNIQUE (group_name); END IF; END; $$ LANGUAGE plpgsql;
16:55:01.882 [main] INFO org.apache.dolphinscheduler.common.utils.ScriptRunner - sql: SELECT uc_dolphin_T_t_ds_alertgroup_A_add_UN_groupName()
16:55:01.904 [main] ERROR org.apache.dolphinscheduler.common.utils.ScriptRunner - SQLException
org.postgresql.util.PSQLException: ERROR: column "group_name" named in key does not exist
在位置:SQL statement "ALTER TABLE t_ds_process_definition ADD CONSTRAINT t_ds_alertgroup_name_UN UNIQUE (group_name)"
PL/pgSQL function uc_dolphin_t_t_ds_alertgroup_a_add_un_groupname() line 1 at SQL statement
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:633)
at org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:145)
at org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:75)
at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:489)
at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinScheduler(UpgradeDao.java:267)
at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.upgradeDolphinScheduler(DolphinSchedulerManager.java:117)
at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:40)
16:55:01.904 [main] ERROR org.apache.dolphinscheduler.common.utils.ScriptRunner - Error executing: SELECT uc_dolphin_T_t_ds_alertgroup_A_add_UN_groupName()
16:55:01.904 [main] ERROR org.apache.dolphinscheduler.dao.upgrade.UpgradeDao - ERROR: column "group_name" named in key does not exist
在位置:SQL statement "ALTER TABLE t_ds_process_definition ADD CONSTRAINT t_ds_alertgroup_name_UN UNIQUE (group_name)"
PL/pgSQL function uc_dolphin_t_t_ds_alertgroup_a_add_un_groupname() line 1 at SQL statement
org.postgresql.util.PSQLException: ERROR: column "group_name" named in key does not exist
在位置:SQL statement "ALTER TABLE t_ds_process_definition ADD CONSTRAINT t_ds_alertgroup_name_UN UNIQUE (group_name)"
PL/pgSQL function uc_dolphin_t_t_ds_alertgroup_a_add_un_groupname() line 1 at SQL statement
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:633)
at org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:145)
at org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:75)
at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:489)
at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinScheduler(UpgradeDao.java:267)
at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.upgradeDolphinScheduler(DolphinSchedulerManager.java:117)
at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:40)
16:55:01.909 [main] ERROR org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler - create DolphinScheduler failed
java.lang.RuntimeException: ERROR: column "group_name" named in key does not exist
在位置:SQL statement "ALTER TABLE t_ds_process_definition ADD CONSTRAINT t_ds_alertgroup_name_UN UNIQUE (group_name)"
PL/pgSQL function uc_dolphin_t_t_ds_alertgroup_a_add_un_groupname() line 1 at SQL statement
at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:502)
at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinScheduler(UpgradeDao.java:267)
at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.upgradeDolphinScheduler(DolphinSchedulerManager.java:117)
at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:40)
Caused by: org.postgresql.util.PSQLException: ERROR: column "group_name" named in key does not exist
在位置:SQL statement "ALTER TABLE t_ds_process_definition ADD CONSTRAINT t_ds_alertgroup_name_UN UNIQUE (group_name)"
PL/pgSQL function uc_dolphin_t_t_ds_alertgroup_a_add_un_groupname() line 1 at SQL statement
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:266)
at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:633)
at org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:145)
at org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:75)
at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:489)
... 3 common frames omitted
```
**Which version of Dolphin Scheduler:**
-[dev]
@ruanwenjun | https://github.com/apache/dolphinscheduler/issues/5583 | https://github.com/apache/dolphinscheduler/pull/5606 | 281b5aea6b85df86b279eb3377ff6851c560bcbd | 697f37d2c2c3376c5655d137f03b3fbd1c56a6dc | 2021-06-02T09:01:50Z | java | 2021-06-09T03:45:08Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,581 | ["sql/dolphinscheduler_mysql.sql", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.3.6_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.3.6_schema/postgresql/dolphinscheduler_ddl.sql", "sql/upgrade/1.3.7_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.3.7_schema/mysql/dolphinscheduler_dml.sql", "sql/upgrade/1.3.7_schema/postgresql/dolphinscheduler_ddl.sql", "sql/upgrade/1.3.7_schema/postgresql/dolphinscheduler_dml.sql"] | [Bug][Mysql] Specific key was too long, max key length is 767 bytes for varchar(256) in some mysql with innodb_large_prefix=OFF | **To Reproduce**
In some mysql with `innodb_large_prefix=OFF`, `Specific key was too long, max key length is 767 bytes` will occur when installing dolphinscheduler
**Expected behavior**
Bug fixed
**Screenshots**

**Which version of Dolphin Scheduler:**
-[1.3.6]
-[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/5581 | https://github.com/apache/dolphinscheduler/pull/5582 | cc9e5d5d34fcf2279b267cca7df37a9e80eeba07 | 87604b7a3df17dcfc5cc9087340d06b0d8930ddc | 2021-06-02T08:04:01Z | java | 2021-06-04T01:55:42Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,580 | ["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-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTaskTest.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"] | [Improvement][SQL] Query return number should be configurable | **Describe the question**
The SQL query result can only return 10,000 records, which are currently hard-coded
**Which version of DolphinScheduler:**
-[1.3.6-Release]
**Describe alternatives you've considered**
I think it should be configurable.
| https://github.com/apache/dolphinscheduler/issues/5580 | https://github.com/apache/dolphinscheduler/pull/5632 | e2d6265e26b27abdf0a212289cca9c0cdad1e0a6 | 67711442d5add82164a916452020a68a84693000 | 2021-06-02T04:11:42Z | java | 2021-06-16T01:40:21Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,570 | ["docker/build/conf/dolphinscheduler/datasource.properties.tpl", "dolphinscheduler-dao/src/main/resources/datasource.properties", "dolphinscheduler-server/src/main/resources/config/install_config.conf", "dolphinscheduler-service/src/main/resources/zookeeper.properties", "install.sh", "script/scp-hosts.sh"] | [Bug][Worker] worker.groups in worker.properties is still commented after installation in 1.3.6 | **To Reproduce**
1. Run `install.sh`
2. See error
**Expected behavior**
Bug fixed
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Which version of Dolphin Scheduler:**
-[dev]
-[1.3.6]
**Additional context**
Add any other context about the problem here.
**Requirement or improvement**
- Please describe about your requirements or improvement suggestions.
| https://github.com/apache/dolphinscheduler/issues/5570 | https://github.com/apache/dolphinscheduler/pull/5571 | f8ecb536b71d6f33b71c73930832b62890b84ea1 | a5a0c7c5f8885b31e18bbf3e2d8567104ba38b57 | 2021-06-01T13:15:58Z | java | 2021-06-02T03:21:01Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,569 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java"] | [Bug][dolphinscheduler-api] verify proccess definition name fail | **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**
when use spaces in proccess definition name, it will check fail!
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Go to create a process, edit a simple task;
2. Save process definition name as “new_process”;
3. Go to create a new process, edit a simple task;
4. Save process definition name as “ new_process”. This time, the name verification will also succeed;
5. Then two process definitions with the same name are generated.
**Which version of Dolphin Scheduler:**
-[1.3.5]
**Requirement or improvement**
- Name verification can be solved by adding and removing the first and last spaces.
| https://github.com/apache/dolphinscheduler/issues/5569 | https://github.com/apache/dolphinscheduler/pull/5574 | a5a0c7c5f8885b31e18bbf3e2d8567104ba38b57 | cc9e5d5d34fcf2279b267cca7df37a9e80eeba07 | 2021-06-01T11:46:21Z | java | 2021-06-02T04:01:01Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,559 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/MasterServer.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/bean/SpringApplicationContext.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/CuratorZookeeperClient.java"] | [Bug][Master Server] Master Server was shutdown but the process still in system | Master Server was shutdown but the process still in system when i restart zookeeper cluster
version:1.3.6
1.stop all the zookeeper servers , then start.
2. use jps command,will find the Master Server process
3. the dolphinscheduler-master log:
scheduler DolphinScheduler_$_slave.. shutdown complete.
Quartz service stopped, and halt all task
Quartz service stopped | https://github.com/apache/dolphinscheduler/issues/5559 | https://github.com/apache/dolphinscheduler/pull/5588 | 87604b7a3df17dcfc5cc9087340d06b0d8930ddc | 75be09735a29469ef5169550239c65a5a27af3ba | 2021-05-31T09:40:24Z | java | 2021-06-04T05:27:18Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,551 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java"] | [Bug][Module Name] job state always in final state:RUNNING_EXECUTION when execution engine is tez | ```
yarn application -status application_1621995850095_6901
21/05/27 07:06:04 INFO client.RMProxy: Connecting to ResourceManager at ip-192-168-24-254.us-west-2.compute.internal/192.168.24.254:8032
21/05/27 07:06:04 INFO client.AHSProxy: Connecting to Application History server at ip-192-168-24-254.us-west-2.compute.internal/192.168.24.254:10200
21/05/27 07:06:04 INFO conf.Configuration: resource-types.xml not found
21/05/27 07:06:04 INFO resource.ResourceUtils: Unable to find 'resource-types.xml'.
21/05/27 07:06:04 INFO resource.ResourceUtils: Adding resource type - name = memory-mb, units = Mi, type = COUNTABLE
21/05/27 07:06:04 INFO resource.ResourceUtils: Adding resource type - name = vcores, units = , type = COUNTABLE
Application Report :
Application-Id : application_1621995850095_6901
Application-Name : HIVE-f07905b9-25b6-4e3f-93a4-652ed349b9bd
Application-Type : TEZ
User : hadoop
Queue : default
Application Priority : 0
Start-Time : 1622098349177
Finish-Time : 1622098762224
Progress : 100%
State : FINISHED
Final-State : ENDED
job final state is not SUCCEEDED but ENDED.Cause shell command always running.
worker.log
[INFO] 2021-05-27 07:05:41.030 - [taskAppId=TASK-10-264-3804]:[127] - FINALIZE_SESSION
[INFO] 2021-05-27 07:05:41.809 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:42.811 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:43.812 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:44.814 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:45.816 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:46.818 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:47.820 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:48.821 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:49.823 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:50.825 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
[INFO] 2021-05-27 07:05:51.826 - [taskAppId=TASK-16-259-3724]:[404] - appId:application_1621995850095_6901, final state:RUNNING_EXECUTION
```
**Which version of Dolphin Scheduler:**
-[1.3.6]
| https://github.com/apache/dolphinscheduler/issues/5551 | https://github.com/apache/dolphinscheduler/pull/6289 | 8d39bf14b1b189b43d27acfa2a3ae9ddd4eec5c6 | 2dc09c627fe1d32c63e9a7551390540581916d7d | 2021-05-27T07:22:10Z | java | 2021-12-05T06:03:29Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,540 | ["sql/dolphinscheduler_mysql.sql", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.4.0_schema/postgresql/dolphinscheduler_ddl.sql"] | [Bug][JSON Split] Project created failure and unknown column p.code in field list | **To Reproduce**
Refer to https://dolphinscheduler.apache.org/zh-cn/development/development-environment-setup.html
And run `org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler`
**Expected behavior**
Bug fixed
**Screenshots**
If applicable, add screenshots to help explain your problem.


**Which version of Dolphin Scheduler:**
-[dev]
@JinyLeeChina | https://github.com/apache/dolphinscheduler/issues/5540 | https://github.com/apache/dolphinscheduler/pull/5611 | 0d5037e7c37d7903d9172f165b348058f1ddbf88 | c5bea3c77430e0b46a2f5a3a91a7fbbc78874196 | 2021-05-23T10:38:54Z | java | 2021-06-15T06:45:39Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,539 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/cache/impl/TaskInstanceCacheManagerImpl.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterTaskExecThread.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/cache/impl/TaskInstanceCacheManagerImplTest.java", "pom.xml"] | [Improvement][Master] Check status of taskInstance from cache | **Describe the question**
After the master submit a task, the master will wait for the task execution to end, and it will loop to query the task status from database.
https://github.com/apache/dolphinscheduler/blob/8a1d849701671544327a1d4e7852575af6872017/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterTaskExecThread.java#L123-L164
Why doesn't it query the status from the taskInstanceCacheManager?
When the master receive the response from worker, it will also update the cache.
https://github.com/apache/dolphinscheduler/blob/8a1d849701671544327a1d4e7852575af6872017/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/processor/TaskResponseProcessor.java#L68-L87
I think if we query the status from cache, we can reduce the pressure of the database.
The main risk is that after the worker crashed, we need to send a response to the master when doing worker tolerance.
So as a compromise, can we query the cache 9 times and then query the database once? Or we get task status from cache, and the cache query the task status from database periodically(the schedule interval can be longer).
**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5539 | https://github.com/apache/dolphinscheduler/pull/5572 | e2243d63bee789b96d8ceeb302261564c5a28ce7 | 79eb2e85d78f380bb9b8f812d874f1143b661e76 | 2021-05-22T07:08:34Z | java | 2021-06-10T01:39:12Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,527 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/CommonUtilsTest.java"] | [Improvement][api-server] failed find any kerberos | kerberos.expire.time 已经设置成了1
但是,每隔几天后,资源中心的资源就无法下载了,提示,failed find any kerberos ,重启后才可用。

建议优化使之能够长期生效,避免重启 | https://github.com/apache/dolphinscheduler/issues/5527 | https://github.com/apache/dolphinscheduler/pull/5533 | 46660b58ed82d76904f26c5b869f3aa96e50727a | 9ba4ffbe48ca9cfeaaceeef2d346235e5e39dd86 | 2021-05-20T06:44:32Z | java | 2021-05-23T15:43:59Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,525 | ["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/AlertDao.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertMapper.xml", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/AlertDaoTest.java"] | server down will send repetitive message | The master and worker will listen to other master or worker services down from zk, and will send message notifications, but this message will send one for each monitored service, so repeat.
For example, I have 3 masters and 3 workers, and one of the masters is down. The remaining five services will insert an alert data
in the database.
I haven't a good plan to fix this issue ,shoule we consider the influence of normal version iterations? | https://github.com/apache/dolphinscheduler/issues/5525 | https://github.com/apache/dolphinscheduler/pull/5529 | 60af52fb2bbf5f0fcab072024f44b01d85a8d620 | f8ecb536b71d6f33b71c73930832b62890b84ea1 | 2021-05-19T06:41:24Z | java | 2021-06-01T02:21:46Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,519 | ["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/test/java/org/apache/dolphinscheduler/api/controller/ExecutorControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ExecutorService2Test.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ExecutorServiceTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"] | [Feature][JsonSplit-api]executors interface | from #5498
Change the request parameter processDefinitionId to processDefinitionCode,including the front end and controller interface | https://github.com/apache/dolphinscheduler/issues/5519 | https://github.com/apache/dolphinscheduler/pull/5863 | 8f0c400ee094e9f93fd74e9d09f6258903f56d91 | c5bc4fc48e67d3e8e1b40157403c8c4017ffae57 | 2021-05-18T14:03:18Z | java | 2021-07-20T09:22:10Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,517 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/WorkFlowLineageController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/WorkFlowLineageService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkFlowLineageServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/WorkFlowLineageControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/WorkFlowLineageServiceTest.java", "dolphinscheduler-ui/src/js/conf/home/store/kinship/actions.js"] | [Feature][JsonSplit-api]WorkFlowLineage interface | from #5498
Change the request parameter projectId to projectCode,including the front end and controller interface | https://github.com/apache/dolphinscheduler/issues/5517 | https://github.com/apache/dolphinscheduler/pull/5834 | 741d757dcb8c80c97c32d314c0fb5da08ebad5ea | 901bc9a43cc3f6f48a9681b1884a714c143759f1 | 2021-05-18T14:02:08Z | java | 2021-07-19T01:49:40Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,511 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/SchedulerService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/SchedulerServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/AbstractControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/SchedulerControllerTest.java", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js"] | [Feature][JsonSplit-api]schedule update interface | from #5498
remove the request parameter workerGroupId,including the front end and controller interface | https://github.com/apache/dolphinscheduler/issues/5511 | https://github.com/apache/dolphinscheduler/pull/5761 | d382a7ba8c454b41944958c6e42692843a765234 | cfa22d7c89bcd8e35b8a286b39b67b9b36b3b4dc | 2021-05-18T13:58:16Z | java | 2021-07-07T10:15:19Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,510 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/SchedulerController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/SchedulerService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/SchedulerServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/AbstractControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/SchedulerControllerTest.java", "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/timing/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js", "pom.xml"] | [Feature][JsonSplit-api]schedule list-paging interface | from #5498
Change the request parameter processDefinitionId to processDefinitionCode,including the front end and controller interface | https://github.com/apache/dolphinscheduler/issues/5510 | https://github.com/apache/dolphinscheduler/pull/5771 | e4f427a8d8bf99754698e054845291a5223c2ea6 | 72535a47e3dafc68c457996ea6e01b8da17685aa | 2021-05-18T13:57:34Z | java | 2021-07-09T02:13:00Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,487 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/TaskRecordController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/TaskRecordService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/TaskRecordServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/TaskRecordControllerTest.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/TaskRecordDao.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractTask.java"] | [Improvement][Task] Remove TaskRecordDao And simply the after() in the AbstractTask class | Dolphin scheduler 目前已经移除了数据质量检测,
可见在配置文件中也已经移除了对 相关数据质量涉及的db的
但是代码中依旧存在TaskRecordDao对数据质量的query,
并且SELECT * FROM eamp_hive_log_hd WHERE PROC_NAME='%s' and PROC_DATE like '%s'"
中涉及的eamp_hive_log_hd db明显已经不存在于配置的默认数据库中,
但是在重要的抽象类AbstractTask 中依旧存在对
TaskRecordDao的数据质量检测逻辑的判定,建议移除来保持对重要抽象类的纯净
public void after() {
if (getExitStatusCode() == Constants.EXIT_CODE_SUCCESS) {
// task recor flat : if true , start up qianfan
if (TaskRecordDao.getTaskRecordFlag()
&& TaskType.typeIsNormalTask(taskExecutionContext.getTaskType())) {
AbstractParameters params = TaskParametersUtils.getParameters(taskExecutionContext.getTaskType(), taskExecutionContext.getTaskParams());
// replace placeholder
Map<String, Property> paramsMap = ParamUtils.convert(ParamUtils.getUserDefParamsMap(taskExecutionContext.getDefinedParams()),
taskExecutionContext.getDefinedParams(),
params.getLocalParametersMap(),
CommandType.of(taskExecutionContext.getCmdTypeIfComplement()),
taskExecutionContext.getScheduleTime());
if (paramsMap != null && !paramsMap.isEmpty()
&& paramsMap.containsKey("v_proc_date")) {
String vProcDate = paramsMap.get("v_proc_date").getValue();
if (!StringUtils.isEmpty(vProcDate)) {
TaskRecordStatus taskRecordState = TaskRecordDao.getTaskRecordState(taskExecutionContext.getTaskName(), vProcDate);
logger.info("task record status : {}", taskRecordState);
if (taskRecordState == TaskRecordStatus.FAILURE) {
setExitStatusCode(Constants.EXIT_CODE_FAILURE);
}
}
}
}
} else if (getExitStatusCode() == Constants.EXIT_CODE_KILL) {
setExitStatusCode(Constants.EXIT_CODE_KILL);
} else {
setExitStatusCode(Constants.EXIT_CODE_FAILURE);
}
}
| https://github.com/apache/dolphinscheduler/issues/5487 | https://github.com/apache/dolphinscheduler/pull/5492 | 018f5c89f6ee1dbb8259a6036c4beb1874cd3f5c | bc22ae7c91c9cbd7c971796ba3a45358c2f11864 | 2021-05-17T09:46:25Z | java | 2021-05-18T09:00:03Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,483 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/JSONUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/JSONUtilsTest.java"] | [Bug][Api] Can't view variables | **Describe the bug**
When I want to view the variables defined in process instance, it will throw an exception.
**To Reproduce**
Steps to reproduce the behavior, for example:
1. Create a process definition
2. Add localparams
3. Execute the process definition
4. View params in process instance
**Screenshots**

**Which version of Dolphin Scheduler:**
-[dev]
**Additional context**
This issue caused by deserialize the taskParams in TaskDefinitionLog.
https://github.com/apache/dolphinscheduler/blob/68301db6b914ff4002bfbc531c6810864d8e47c2/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java#L664-L666
For example, there exist list in the json attribute, so it cannot be deserialized as string.
```json
{
"resourceList":[
],
"localParams":[
{
"prop":"BATCH_TIME",
"direct":"IN",
"type":"VARCHAR",
"value":"20210517131849"
}
],
"rawScript":"echo "${BATCH_TIME}"",
"conditionResult":"{"successNode":[""],"failedNode":[""]}",
"dependence":"{}"
}
```
And there are multiple places use different way to deserialize the` taskParams`.
https://github.com/apache/dolphinscheduler/blob/68301db6b914ff4002bfbc531c6810864d8e47c2/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java#L1611
I think it is better to use the same way to do this transform, otherwise, once we make changes, we need to change many places.
And the `taskParams` is transported by front-end and stored in database as a JSON string. We use Map to represent this field in backend, I think it is better to define a specific class to express the `taskParams`, this maybe helpful for deserialize and code maintain.
| https://github.com/apache/dolphinscheduler/issues/5483 | https://github.com/apache/dolphinscheduler/pull/5631 | 8bf042ae6ef7576209a0489e784684f4960ae6e0 | 0d5037e7c37d7903d9172f165b348058f1ddbf88 | 2021-05-17T06:24:02Z | java | 2021-06-13T03:43:53Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,475 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/FileUtils.java"] | [Improvement][Api] Upload resource to remote failed, the local tmp file need to be cleared | **Describe the question**
When we upload a resource file, ds will do three thing.
1. create a local tmp file
2. cope the local tmp file to remote and delete the local file
https://github.com/apache/dolphinscheduler/blob/d04f4b60535cd86905e56b0a732f2ec038680eb7/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java#L595-L605
But when the second step is failed, the local tmp file will not be cleaned,
**Which version of DolphinScheduler:**
-[1.3.6]
-[dev]
**Describe alternatives you've considered**
When upload to remote throw an exception, clean local tmp file
| https://github.com/apache/dolphinscheduler/issues/5475 | https://github.com/apache/dolphinscheduler/pull/5476 | d04f4b60535cd86905e56b0a732f2ec038680eb7 | 68301db6b914ff4002bfbc531c6810864d8e47c2 | 2021-05-15T03:21:13Z | java | 2021-05-17T03:13:14Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,474 | ["sql/dolphinscheduler_mysql.sql", "sql/upgrade/1.4.0_schema/mysql/dolphinscheduler_ddl.sql"] | [Bug][SQL] Fix symbol error in sql script | **Describe the bug**
**To Reproduce**
Steps to reproduce the behavior, for example:
1. execute dolphinscheduler_mysql.sql
2. see error info:
[42000][1064] You have an error in your SQL syntax;
**Which version of Dolphin Scheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5474 | https://github.com/apache/dolphinscheduler/pull/5462 | a925f645719edec4afdb994ef57029c45c55d27e | 018f5c89f6ee1dbb8259a6036c4beb1874cd3f5c | 2021-05-15T02:54:44Z | java | 2021-05-18T02:20:18Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,469 | ["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java"] | [Improvement][Task] Improved shell task execution result log information | **Describe the question**
Improved shell task execution result log information, adding process.waitFor() and process.exitValue() information to the original log
```
logger.info("process has exited, execute path:{}, processId:{} ,exitStatusCode:{}",
taskExecutionContext.getExecutePath(), processId, result.getExitStatusCode());
```
```
logger.error("process has failure , exitStatusCode : {} , ready to kill ...", result.getExitStatusCode());
```
**Which version of DolphinScheduler:**
-[dev]
easy to improvement
#4124 | https://github.com/apache/dolphinscheduler/issues/5469 | https://github.com/apache/dolphinscheduler/pull/5691 | bae047e4a38e4d0e985fad2fcc0d184cf9ca8b53 | 3b80760c42e4d3208349969a9ec9d5ee1ed86222 | 2021-05-14T05:09:44Z | java | 2021-06-25T01:13:26Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,468 | ["docker/build/conf/dolphinscheduler/common.properties.tpl", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/NetUtils.java", "dolphinscheduler-common/src/main/resources/common.properties"] | [Bug][Common] Obtaining IP is incorrect | **To Reproduce**
In some scenarios, obtaining IP is incorrect
**Expected behavior**
Bug fixed
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Scenario 1: IP is null**

**Scenario 2: IP incorrect order**


**Scenario 3: IP is 127.0.0.1**


**Scenario 4: IP is 0.0.0.0.0.0**



**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/5468 | https://github.com/apache/dolphinscheduler/pull/5594 | 75be09735a29469ef5169550239c65a5a27af3ba | 281b5aea6b85df86b279eb3377ff6851c560bcbd | 2021-05-14T05:04:32Z | java | 2021-06-07T14:12:49Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,452 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/FlinkArgsUtils.java"] | [Improvement][Task] ds flink task support submit a PyFlink job via the CLI | **Describe the question**
ds flink task support submit a PyFlink job via the CLI
```
$ ./bin/flink run --python examples/python/table/batch/word_count.py
```
**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5452 | https://github.com/apache/dolphinscheduler/pull/5453 | b05957db419bcf05e17b0a6f309d23382b0a95ec | 3026f04d8528a63f26d9b62da00a495c8e9f47ab | 2021-05-12T07:43:56Z | java | 2021-06-17T07:19:25Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,429 | ["dolphinscheduler-dist/src/main/assembly/dolphinscheduler-bin.xml"] | [Improvement][dist] Cleanup of useless files in the binary package lib directory | **Describe the question**
There is dolphinscheduler-dist-${version}.tar.gz in the binary package lib directory

**Which version of DolphinScheduler:**
-[dev]
| https://github.com/apache/dolphinscheduler/issues/5429 | https://github.com/apache/dolphinscheduler/pull/5430 | f88bbbd637700401715bc3802601e7802b56b9ae | 0d8011f9c1daa2b79dd45b0c80731d6b31ab0f07 | 2021-05-08T09:05:30Z | java | 2021-05-10T01:44:17Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,424 | ["dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/src/main/java/org/apache/dolphinscheduler/plugin/alert/email/ExcelUtils.java"] | [Feature][Plugin-Email] Numeric data type support in email attachment | Status Quo
Dolphinscheduler currently supports executing SQL and send result as email table/attachment, however the .xls attachment is forcing all columns to be "text" type and creates difficulty in data manipulation down the line (not sure this is a bug or expected behavior).
Suggestion
Hoping to see support for automatic data type in .xls, and/or additional support for other attachment format such as csv, txt or xlsx | https://github.com/apache/dolphinscheduler/issues/5424 | https://github.com/apache/dolphinscheduler/pull/5426 | fbef290cc5e611bfee7a430472b2b2774dd6d921 | 5556e47a85b40b28688cd41e27a96f4b1bc4e225 | 2021-05-06T13:13:24Z | java | 2021-05-11T12:53:27Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,408 | ["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/datasource/ConnectionFactory.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/datasource/SpringConnectionFactory.java"] | [Improvement][Dao] Database add connection check | **Describe the question**
When the database connects fails, the application should fail quickly and shouldn't start successfully.
At present, if we set the wrong database params, we can still start the application successful, we need to check the log to determine whether the program is normal.
**Which version of DolphinScheduler:**
-[1.3.6-release]
-[dev]
**Describe alternatives you've considered**
Do initialize when the database is created
| https://github.com/apache/dolphinscheduler/issues/5408 | https://github.com/apache/dolphinscheduler/pull/5409 | 0bdf15efb9774ee11afab61f79d5f5547457e402 | 71f39fa8751252c9b665213e2f3a4a1827da2a27 | 2021-04-29T14:45:12Z | java | 2021-05-06T01:41:44Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,386 | ["dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java", "dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/AlertServerTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/PluginDao.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"] | [Bug][Alert] ERROR: relation "t_ds_plugin_define" does not exist | **To Reproduce**
Steps to reproduce the behavior, for example:
1. Run `docker-compose up -d`
2. Run `docker logs -f dolphinscheduler-alert`
3. See error
**Expected behavior**
Bug fixed
**Screenshots**
Alert logs:
```
[INFO] 2021-04-26 00:27:39.678 org.apache.dolphinscheduler.alert.plugin.AlertPluginManager:[104] - Registering Alert Plugin 'DingTalk'
[INFO] 2021-04-26 00:27:39.681 org.apache.dolphinscheduler.alert.plugin.AlertPluginManager:[86] - -- Loaded Alert Plugin DingTalk --
[INFO] 2021-04-26 00:27:41.901 com.alibaba.druid.pool.DruidDataSource:[994] - {dataSource-1} inited
Exception in thread "main" java.lang.RuntimeException: load Alert Plugin Failed !
at org.apache.dolphinscheduler.alert.AlertServer.initPlugin(AlertServer.java:104)
at org.apache.dolphinscheduler.alert.AlertServer.start(AlertServer.java:145)
at org.apache.dolphinscheduler.alert.AlertServer.main(AlertServer.java:161)
Caused by: org.springframework.jdbc.BadSqlGrammarException:
### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: relation "t_ds_plugin_define" does not exist
Position: 23
### The error may exist in org/apache/dolphinscheduler/dao/mapper/PluginDefineMapper.xml
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: select * from t_ds_plugin_define where plugin_name = ? and plugin_type = ?
### Cause: org.postgresql.util.PSQLException: ERROR: relation "t_ds_plugin_define" does not exist
Position: 23
; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "t_ds_plugin_define" does not exist
Position: 23
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:74)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440)
at com.sun.proxy.$Proxy11.selectList(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:223)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:158)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:76)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61)
at com.sun.proxy.$Proxy15.queryByNameAndType(Unknown Source)
at org.apache.dolphinscheduler.dao.PluginDao.addOrUpdatePluginDefine(PluginDao.java:67)
at org.apache.dolphinscheduler.alert.plugin.AlertPluginManager.installPlugin(AlertPluginManager.java:111)
at org.apache.dolphinscheduler.common.plugin.DolphinPluginLoader.loadPlugin(DolphinPluginLoader.java:111)
at org.apache.dolphinscheduler.common.plugin.DolphinPluginLoader.loadPlugin(DolphinPluginLoader.java:99)
at org.apache.dolphinscheduler.common.plugin.DolphinPluginLoader.loadPlugins(DolphinPluginLoader.java:85)
at org.apache.dolphinscheduler.alert.AlertServer.initPlugin(AlertServer.java:102)
... 2 more
Caused by: org.postgresql.util.PSQLException: ERROR: relation "t_ds_plugin_define" does not exist
Position: 23
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:143)
at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:132)
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
at com.sun.proxy.$Proxy23.query(Unknown Source)
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doQuery(MybatisSimpleExecutor.java:67)
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:324)
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:83)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426)
... 14 more
End start alert-server.
2021-04-26 00:27:43,637 INFO exited: alert (exit status 0; expected)
```
**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/5386 | https://github.com/apache/dolphinscheduler/pull/5387 | d45b27ce2e54c972e64d6b00b359643e34c1d2a8 | 0f3eed9d00e6b688342c7885b0d2fc2528481ce0 | 2021-04-25T16:30:21Z | java | 2021-04-29T08:17:01Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,381 | ["dolphinscheduler-dao/pom.xml", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/upgrade/DolphinSchedulerManager.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/upgrade/UpgradeDao.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/upgrade/shell/CreateDolphinScheduler.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/upgrade/shell/InitDolphinScheduler.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/upgrade/UpgradeDaoTest.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/upgrade/shell/CreateDolphinSchedulerTest.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/upgrade/shell/InitDolphinSchedulerTest.java", "pom.xml"] | [Bug][API] Upload file failure with PostgreSQL | **To Reproduce**
Steps to reproduce the behavior, for example:
1. Upload file in `Resource Manage`
2. See error
**Expected behavior**
Bug fixed
**Screenshots**
If applicable, add screenshots to help explain your problem.

**API logs:**
```
[INFO] 2021-04-25 21:14:51.550 org.apache.dolphinscheduler.api.controller.ResourcesController:[157] - login user admin, create resource, type: FILE, resource alias: license.lic, desc: , file: file,license.lic
[ERROR] 2021-04-25 21:14:51.711 org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl:[233] - resource already exists, can't recreate
org.springframework.jdbc.BadSqlGrammarException:
### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: column "is_directory" is of type integer but expression is of type boolean
Hint: You will need to rewrite or cast the expression.
Position: 192
### The error may exist in org/apache/dolphinscheduler/dao/mapper/ResourceMapper.java (best guess)
### The error may involve org.apache.dolphinscheduler.dao.mapper.ResourceMapper.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO t_ds_resources ( file_name, size, create_time, description, full_name, alias, update_time, pid, type, user_id, is_directory ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
### Cause: org.postgresql.util.PSQLException: ERROR: column "is_directory" is of type integer but expression is of type boolean
Hint: You will need to rewrite or cast the expression.
Position: 192
; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: column "is_directory" is of type integer but expression is of type boolean
Hint: You will need to rewrite or cast the expression.
Position: 192
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:74)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440)
at com.sun.proxy.$Proxy97.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:271)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:58)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:61)
at com.sun.proxy.$Proxy111.insert(Unknown Source)
at org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl.createResource(ResourcesServiceImpl.java:222)
at org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl$$FastClassBySpringCGLIB$$d2d5d7f6.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
at org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl$$EnhancerBySpringCGLIB$$22f4defc.createResource(<generated>)
at org.apache.dolphinscheduler.api.controller.ResourcesController.createResource(ResourcesController.java:159)
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:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633)
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:97)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:766)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.postgresql.util.PSQLException: ERROR: column "is_directory" is of type integer but expression is of type boolean
Hint: You will need to rewrite or cast the expression.
Position: 192
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:143)
at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:132)
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
at com.sun.proxy.$Proxy159.update(Unknown Source)
at com.baomidou.mybatisplus.core.executor.MybatisSimpleExecutor.doUpdate(MybatisSimpleExecutor.java:54)
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197)
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184)
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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:426)
... 93 common frames omitted
[ERROR] 2021-04-25 21:14:51.720 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[46] - 创建资源错误
org.apache.dolphinscheduler.api.exceptions.ServiceException: resource already exists, can't recreate
at org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl.createResource(ResourcesServiceImpl.java:234)
at org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl$$FastClassBySpringCGLIB$$d2d5d7f6.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:752)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
at org.apache.dolphinscheduler.api.service.impl.ResourcesServiceImpl$$EnhancerBySpringCGLIB$$22f4defc.createResource(<generated>)
at org.apache.dolphinscheduler.api.controller.ResourcesController.createResource(ResourcesController.java:159)
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:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633)
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:97)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:766)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)
```
**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/5381 | https://github.com/apache/dolphinscheduler/pull/5383 | e6d8da484f8d3eff528b206ab4b159b451865df3 | 6b8461e901de65000f4f8f34ebfe011946e787d3 | 2021-04-25T13:21:43Z | java | 2021-04-25T15:29:00Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,357 | ["dolphinscheduler-dao/pom.xml", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/upgrade/DolphinSchedulerManager.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/upgrade/UpgradeDao.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/upgrade/shell/CreateDolphinScheduler.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/upgrade/shell/InitDolphinScheduler.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/upgrade/UpgradeDaoTest.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/upgrade/shell/CreateDolphinSchedulerTest.java", "dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/upgrade/shell/InitDolphinSchedulerTest.java", "pom.xml"] | [Improvement][DAO] CreateDolphinScheduler | **Describe the question**
When we run `sh script/create-dolphinscheduler.sh` to init the dolphinscheduler database environment, it will execute the old script in `sql/create` and upgrade to latest. It is better to execute the new sql script.
**Which version of DolphinScheduler:**
-[1.3.6]
-[dev]
**Describe alternatives you've considered**
Change the sql init file to `sql/dolphinscheduler_mysql.sql`
| https://github.com/apache/dolphinscheduler/issues/5357 | https://github.com/apache/dolphinscheduler/pull/5358 | 75d1ad645c994feadf157fb2343141b3d9ec49bf | b108ac43b8489ad1d744afd0321d4ec150880548 | 2021-04-22T11:13:59Z | java | 2021-04-23T14:03:47Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,352 | ["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue"] | [Bug][ui] input field cat't select multiple characters ,cat't copy | [Bug][ui] input field cat't select multiple characters ,cat't copy
There are two kind of the input field of node definition , distinguish by background. One of them has a white background.When we input something in this One of them has a white background ,we can't select characters use mouse | https://github.com/apache/dolphinscheduler/issues/5352 | https://github.com/apache/dolphinscheduler/pull/5829 | bca92157a088c78d245ff60dfee2504ea8716c6a | 8db1b042b2523bd3b6ed363303283308ea14b2cc | 2021-04-22T06:35:31Z | java | 2021-07-27T15:54:07Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,351 | ["sql/dolphinscheduler_mysql.sql", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.3.6_schema/mysql/dolphinscheduler_ddl.sql", "sql/upgrade/1.3.6_schema/postgresql/dolphinscheduler_ddl.sql"] | [Bug][K8s] Quartz cron task cannot take effect | **To Reproduce**
Steps to reproduce the behavior, for example:
1. Deploy DolphinScheduler in K8s
2. Configure Quartz cron task for a Process Definition
3. See error
**Expected behavior**
Bug fixed
**Screenshots**
If applicable, add screenshots to help explain your problem.




**Which version of Dolphin Scheduler:**
-[1.3.5]
-[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/5351 | https://github.com/apache/dolphinscheduler/pull/5353 | abdd2337b144df149a2031c3b26862ae41b4e936 | 3a7006a79649df4f45397f125c2e9665f9659c0b | 2021-04-22T06:34:43Z | java | 2021-04-22T11:07:19Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,349 | ["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/DependResult.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java"] | [Bug][master] Manually kill the task that fails to be retried. After the parallel task succeeds, the workflow status is always running | 1. The configuration of task 2 fails to be retried. When the failure is retried for the second time, manually kill the process ID of task 2
2. After task 3 is successfully executed, a task will be added to the master, resulting in the workflow status running all the time


**Which version of Dolphin Scheduler:**
-[1.3.6-prepare]
| https://github.com/apache/dolphinscheduler/issues/5349 | https://github.com/apache/dolphinscheduler/pull/5362 | 3a7006a79649df4f45397f125c2e9665f9659c0b | 75d1ad645c994feadf157fb2343141b3d9ec49bf | 2021-04-22T03:56:30Z | java | 2021-04-23T06:29:26Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,346 | ["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/flink.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/mr.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"] | [Improvement][UI] Resource files support copy path operations |
The current resource file does not support copying paths
When using the path is very easy to output errors. Add copy button. Support copy operation

| https://github.com/apache/dolphinscheduler/issues/5346 | https://github.com/apache/dolphinscheduler/pull/5348 | 0f3eed9d00e6b688342c7885b0d2fc2528481ce0 | 2a59ed092ca1eea733a28f3ceb7f03776582ecb6 | 2021-04-22T02:35:20Z | java | 2021-04-29T08:29:29Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,328 | ["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"] | [Bug][MasterServer] process contain depend task is always running | **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. Will the process scheduling up regularly, and must be "failed policies" to "end"
2. The first mission there is no corresponding directory file (for the first time this failure) (namely the execution of the catalog file to a certain consensus ikkkk and fb both task execution of the same file)
3. Then retry the second time, in the corresponding directory to create executable files, so that it was successful
4. Observe the state of the process
| https://github.com/apache/dolphinscheduler/issues/5328 | https://github.com/apache/dolphinscheduler/pull/5344 | 5f1fc462c9ba321736f9fe9a1bfc057d1da894d0 | e12a26289bce0b38bd65ac74a3349ecadd8a9141 | 2021-04-20T06:07:08Z | java | 2021-04-21T14:29:53Z |
closed | apache/dolphinscheduler | https://github.com/apache/dolphinscheduler | 5,326 | ["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProjectController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProjectService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UsersServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/ProjectControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProjectServiceTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/UsersServiceTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/createProject.vue"] | [Bug][api-server] delete the user ,when query the project by join the table of t_ds_user will return null. | delete the user ,when query the project by join the table of t_ds_user will return null.
Suggested that [
from t_ds_project p
join t_ds_user u on p.user_id = u.id
]changed to [
from t_ds_project p
left join t_ds_user u on p.user_id = u.id
] | https://github.com/apache/dolphinscheduler/issues/5326 | https://github.com/apache/dolphinscheduler/pull/5394 | 6b8461e901de65000f4f8f34ebfe011946e787d3 | cbbe9c333c39a0163c100c5ced270f76301c97b3 | 2021-04-20T03:12:14Z | java | 2021-04-29T06:50:05Z |
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":"[email protected]","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='[email protected]', 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.



**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**

**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 |


**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.

**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**

**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"

**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)

In *UDF Resources*: (picture 2)

In **File Manage** to **Re-upload**: (picture 3)

**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:

Picture 2:

**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]

| 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

**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启动容错


**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 |


**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**

**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.

```
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**

**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**

**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.

**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.



**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:

**Screenshots**
If applicable, add screenshots to help explain your problem.
Incorrect host:

**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.

**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后,工作流实例显示状态为准备停止


worker日志
任务正在运行日志

任务kill时日志

| 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.

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.

**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 |


**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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.