status
stringclasses
1 value
repo_name
stringclasses
13 values
repo_url
stringclasses
13 values
issue_id
int64
1
104k
updated_files
stringlengths
11
1.76k
title
stringlengths
4
369
body
stringlengths
0
254k
issue_url
stringlengths
38
55
pull_url
stringlengths
38
53
before_fix_sha
stringlengths
40
40
after_fix_sha
stringlengths
40
40
report_datetime
unknown
language
stringclasses
5 values
commit_datetime
unknown
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** ![image](https://user-images.githubusercontent.com/4902714/120445701-75f19780-c3bb-11eb-9f36-68628724c818.png) **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,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. ![image](https://user-images.githubusercontent.com/4902714/119256897-76d53d00-bbf5-11eb-9a1e-aa82c3948d2e.png) ![image](https://user-images.githubusercontent.com/4902714/119256898-79d02d80-bbf5-11eb-99ae-08cf47a95976.png) **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,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 ,重启后才可用。 ![1908dee0e78a739c5a20284aa524c27](https://user-images.githubusercontent.com/18589655/118931587-bde1da80-b936-11eb-94a8-1f1f86c7a003.jpg) 建议优化使之能够长期生效,避免重启
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,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** ![image](https://user-images.githubusercontent.com/4902714/118223662-5f3edb80-b4b4-11eb-9046-3565f6fe1a2c.png) **Scenario 2: IP incorrect order** ![image](https://user-images.githubusercontent.com/4902714/118223277-92cd3600-b4b3-11eb-920c-46c3bfe1cc2f.png) ![image](https://user-images.githubusercontent.com/4902714/118223548-230b7b00-b4b4-11eb-8775-57abc66abf41.png) **Scenario 3: IP is 127.0.0.1** ![image](https://user-images.githubusercontent.com/4902714/118223722-7e3d6d80-b4b4-11eb-8cec-a3d408be41a3.png) ![image](https://user-images.githubusercontent.com/4902714/118223725-81d0f480-b4b4-11eb-95aa-0c1a0add8560.png) **Scenario 4: IP is 0.0.0.0.0.0** ![image](https://user-images.githubusercontent.com/4902714/119919935-07b56b00-bf9e-11eb-9972-00d73be4f381.png) ![image](https://user-images.githubusercontent.com/4902714/119919948-0e43e280-bf9e-11eb-8947-9eccfac17b47.png) ![image](https://user-images.githubusercontent.com/4902714/119920051-3895a000-bf9e-11eb-87dc-efc7d6181d64.png) **Which version of Dolphin Scheduler:** -[1.3.x] -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/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 ![image](https://user-images.githubusercontent.com/37063904/117533124-97aa6980-b01d-11eb-9efc-9b898868a39a.png) **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,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. ![image](https://user-images.githubusercontent.com/4902714/115995032-28d81400-a60c-11eb-9f4a-4cdeac626d79.png) **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. ![image](https://user-images.githubusercontent.com/4902714/115666960-d1217a80-a377-11eb-8d64-a7c3e643e949.png) ![image](https://user-images.githubusercontent.com/4902714/115666973-d41c6b00-a377-11eb-88a2-0f9f1310da49.png) ![image](https://user-images.githubusercontent.com/4902714/115666992-d979b580-a377-11eb-84ef-94898df057fc.png) ![image](https://user-images.githubusercontent.com/4902714/115667005-dd0d3c80-a377-11eb-8779-be755adbcb29.png) **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 ![image](https://user-images.githubusercontent.com/55787491/115653438-bf34dd00-a361-11eb-94c2-240df791059c.png) ![image](https://user-images.githubusercontent.com/55787491/115653120-2aca7a80-a361-11eb-8a66-f688e68d248c.png) **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 ![image](https://user-images.githubusercontent.com/39816903/115647469-6ca1f380-a356-11eb-9341-30bb2d8257a0.png)
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,310
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/ExecutorDispatcher.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/dispatch/host/LowerWeightHostManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/registry/HeartBeatTask.java"]
[Improvement][Server] The log "load is too high or availablePhysicalMemorySize(G) is too low" is not clear
**Describe the question** The log `load is too high or availablePhysicalMemorySize(G) is too low` is not clear **What are the current deficiencies and the benefits of improvement** - The updated log `current cpu load average {} is too high or available memory {}G is too low, under max.cpuload.avg={} and reserved.memory={}G` will be more clear **Which version of DolphinScheduler:** -[1.3.x] -[dev] **Describe alternatives you've considered** A clear and concise description of any alternative improvement solutions you've considered.
https://github.com/apache/dolphinscheduler/issues/5310
https://github.com/apache/dolphinscheduler/pull/5311
e92e29ef9a126d1d5660011545056d4dd806d105
83519bdfc3a5cdd40f2d538d64ab6f8221bef246
"2021-04-16T16:01:16Z"
java
"2021-04-19T02:29:32Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,309
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/os/OSUtilsTest.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/OSUtilsTest.java", "dolphinscheduler-dist/release-docs/LICENSE", "pom.xml", "tools/dependencies/known-dependencies.txt"]
[Bug][Common] memoryUsage is `-33%`
**To Reproduce** `memoryUsage` is `-33%` **Expected behavior** Bug fixed **Screenshots** ![image](https://user-images.githubusercontent.com/4902714/115050583-779bf480-9f0e-11eb-8eed-4abcc8df3fc4.png) **Which version of Dolphin Scheduler:** -[1.3.x] -[dev]
https://github.com/apache/dolphinscheduler/issues/5309
https://github.com/apache/dolphinscheduler/pull/5312
5ef1f731b7f3b48915859b7a9595ec42df614c48
e92e29ef9a126d1d5660011545056d4dd806d105
"2021-04-16T15:51:04Z"
java
"2021-04-19T02:24:54Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,304
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProjectMapper.xml", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java"]
[Improvement][dao]When I search for the keyword Modify User, the web UI shows empty
**Describe the question** The search function in the project module is currently only fuzzy matching by workflow name **What are the current deficiencies and the benefits of improvement** - Keyword query is too single, we can fuzzy query by each column name, similar to yarn web UI interface **Which version of DolphinScheduler:** -[1.3.x] -[dev] **Describe alternatives you've considered** We modify the source code to support fuzzy search for each column. If the amount of data is huge, we can consider introducing Elasticsearch components as a search engine <img width="814" alt="1618562781(1)" src="https://user-images.githubusercontent.com/22792154/115001364-25d77800-9ed6-11eb-8306-791d95d79d7b.png">
https://github.com/apache/dolphinscheduler/issues/5304
https://github.com/apache/dolphinscheduler/pull/5952
1887bde1ebf8249de153890e78d449582e3eaf4a
04423260a16b03221e4db23f3d99e5d21212fa29
"2021-04-16T09:11:27Z"
java
"2021-08-17T16:53:12Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,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,235
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/configuration/AppConfiguration.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/configuration/TrafficConfiguration.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/interceptor/RateLimitInterceptor.java", "dolphinscheduler-api/src/main/resources/application-api.properties", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/configuration/TrafficConfigurationTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/interceptor/RateLimitInterceptorTest.java", "pom.xml"]
[Improvement][ApiServer] Traffic limit
**Describe the question** After support OpenAPI, it is necessary to control the traffic, otherwise the service may be breakdown. **What are the current deficiencies and the benefits of improvement** - Maybe we can add global request rate limit. And in the future, we can consider to support tenant-level rate control **Which version of DolphinScheduler:** -[1.3.6-preview]
https://github.com/apache/dolphinscheduler/issues/5235
https://github.com/apache/dolphinscheduler/pull/5307
07e612c8777447349ed074ec7bb4384c647df1d8
7843ed40873bcb4b7f2e1b05f5773e1fc2efa51f
"2021-04-08T13:44:34Z"
java
"2021-04-16T14:41:02Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,233
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java"]
[Bug]If commandMap doesn't contains StartParams,REPEAT RUNNING processInstance will throw exceprion
[Bug]if commandMap doesn't contains CMD_PARAM_START_PARAMS,REPEAT RUNNING processInstance will throw exceprion. The commandMap contains key ,except the key of StartParams ,when REPEAT RUNNING processInstance will throw exceprion .
https://github.com/apache/dolphinscheduler/issues/5233
https://github.com/apache/dolphinscheduler/pull/5234
2f1f193ba85abb7d4738f4f10ad05e6d510132c5
5c898e38ed62b0f8d034d1e910be4b45692dae8e
"2021-04-08T08:40:01Z"
java
"2021-04-08T10:58:43Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,229
["dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/LoggerServiceImpl.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/resources/common.properties", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/WorkerServer.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/log/LoggerServerTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Feature][server port] server port custom config
**Describe the feature** all application can custom config server port
https://github.com/apache/dolphinscheduler/issues/5229
https://github.com/apache/dolphinscheduler/pull/6947
100a9ba3fc21764158593bd33e2b261b0ef39982
0dcff1425a28da0ce0004fc3e594b97d080c5fd9
"2021-04-07T09:22:45Z"
java
"2021-11-30T16:21:03Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,210
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistry.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/registry/WorkerRegistry.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZookeeperOperator.java"]
[Improvement][Server] Must restart master if Zk reconnect
**Describe the question** If zookeeper is disconnect, the master server stop work, and when the zookeeper reconnect, we need to restart the master server, the master server can't automatic recovery. Because when the zookeeper reconnect, treeCache will produce NODE_REMOVED event, `ZKMasterClient` receive this event and add the server to deadNode. When the `HeartBeatTask` check the master is on dead path, it will stop the MasterServer. **What are the current deficiencies and the benefits of improvement** Improving the server availability. **Which version of DolphinScheduler:** -[1.3.6-preview]
https://github.com/apache/dolphinscheduler/issues/5210
https://github.com/apache/dolphinscheduler/pull/5211
9d0c816cee102edbba2ac080f483c8a73a0b7b30
842c5400e605a8b8eb0d8fdc78701f10222063fd
"2021-04-04T14:23:48Z"
java
"2021-05-24T21:03:29Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,199
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java"]
[Bug][api] When sleep is included in a shell task, cannot kill the task
![image](https://user-images.githubusercontent.com/55787491/113400980-429f8600-93d5-11eb-8002-7684d36d6ed1.png) ![image](https://user-images.githubusercontent.com/55787491/113401140-81cdd700-93d5-11eb-89dd-a259284e5dae.png) **Which version of Dolphin Scheduler:** -[1.3.6-prepare]
https://github.com/apache/dolphinscheduler/issues/5199
https://github.com/apache/dolphinscheduler/pull/5212
97fb08f0ced20a4b9563725ed9e9600e5ea5722b
4a1303b625f3425550636a522ad2e38bd8cae1b7
"2021-04-02T09:04:44Z"
java
"2021-04-06T02:47:53Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,180
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/DataxUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/DataxUtilsTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/datax/DataxTaskTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue", "pom.xml"]
[Improvement][Module Name] DataX Node doesn't Support Clickhouse as the datasource
**Describe the question** When I create a DataX node, I can't use a Clickhouse Datasource as the source or the target in a DataX task. Currently, I can only select from Mysql, Postgresql,Oracle ans Sqlserver. ![image](https://user-images.githubusercontent.com/23460917/112953652-3d8dcd00-9170-11eb-87e2-029ab4d56939.png) **Describe alternatives you've considered** I hope I can't use Clickhouse as my datasource.
https://github.com/apache/dolphinscheduler/issues/5180
https://github.com/apache/dolphinscheduler/pull/5243
faa111674fb77bc8e4486e62a578b129e403012b
cc7a4446f50a247f054a9671648e948c654dfe65
"2021-03-30T07:54:54Z"
java
"2021-04-14T03:31:40Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,170
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProjectServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProjectServiceTest.java"]
[Improvement][API] the QueryAuthorizedProject interface adds permission judgment (easy to implement)
**Describe the question** The QueryAuthorizedProject interface has query authority only for administrators,the project scenario where a user queries the user's own authorization cannot be satisfied. **What are the current deficiencies and the benefits of improvement** The QueryAuthorizedProject interface adds permission judgment ,the user itself can query the user's own authorized project **Which version of DolphinScheduler:** -[1.3.4-release]
https://github.com/apache/dolphinscheduler/issues/5170
https://github.com/apache/dolphinscheduler/pull/5184
73e917d3c179b67afd0f3fbd2902d683dbed172d
039d517c1358c197629d54c580ba6e1b356d551d
"2021-03-29T09:49:27Z"
java
"2021-04-11T06:44:20Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,147
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterBaseTaskExecThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/log/LogClientService.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Improvement][Master] this expression which always evaluates "true"
*For better global communication, please give priority to using English description, thx! * *Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.* **Describe the question** this expression which always evaluates "true" **What are the current deficiencies and the benefits of improvement** this expression which always evaluates "true" ,removeTaskLogFile method of org.apache.dolphinscheduler.service.process **Which version of DolphinScheduler:** -[1.3.5] **Describe alternatives you've considered** public void removeTaskLogFile(Integer processInstanceId) { LogClientService logClient = null; try { logClient = new LogClientService(); List<TaskInstance> taskInstanceList = findValidTaskListByProcessId(processInstanceId); if (CollectionUtils.isEmpty(taskInstanceList)) { return; } for (TaskInstance taskInstance : taskInstanceList) { String taskLogPath = taskInstance.getLogPath(); if (StringUtils.isEmpty(taskInstance.getHost())) { continue; } int port = Constants.RPC_PORT; String ip = ""; try { ip = Host.of(taskInstance.getHost()).getIp(); } catch (Exception e) { // compatible old version ip = taskInstance.getHost(); } // remove task log from loggerserver logClient.removeTaskLog(ip, port, taskLogPath); } } finally { logClient.close(); } }
https://github.com/apache/dolphinscheduler/issues/5147
https://github.com/apache/dolphinscheduler/pull/5156
fe144e46a3f23f5b484a3ce74552cc6faad9009c
513eb769196971956f15665640aefd782b9f69f3
"2021-03-25T07:29:28Z"
java
"2021-04-19T09:48:09Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,144
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/gantt/index.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/edit/index.vue"]
[Improvement][UI] error v-show directives cannot be put on template tags
**Describe the question** error 'v-show' directives cannot be put on <template> tags vue/valid-v-show **Which version of DolphinScheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/5144
https://github.com/apache/dolphinscheduler/pull/5145
492b318bd321d35247488e1f181e3ea9d1259963
f6d62a4924417fbcdea35ba2896a652eb9bc735c
"2021-03-25T06:13:05Z"
java
"2021-03-26T08:42:13Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,132
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java"]
[Bug][server] when an exception occurs in the taskExecuteThread, task cannot stop immediately
**Describe the bug** When an exception occurs in the taskExecuteThread, task will be called the `cancelApplication()` method to stop the task immediately。Howerver,the task whose` cancelApplication()` method base on the `AbstractCommandExecutor.cancelApplication()` cannot be killed immediately,because `AbstractCommandExecutor.cancelApplication()` would not call `hardKill()` method when soft kill process fail; **To Reproduce** **Expected behavior** In order to make the error task stop immediately ,It should call the `hardKill()` method when soft kill process fails; **Screenshots** ![image](https://user-images.githubusercontent.com/68894048/112130011-f600c180-8c02-11eb-934c-e490f63c0d73.png) **Which version of Dolphin Scheduler:** -[dev] **Additional context** It is a very simple Bug, the `softKill()` method returns the opposite state, so just modify the return value can fix this bug. I will fix this Bug. **Requirement or improvement**
https://github.com/apache/dolphinscheduler/issues/5132
https://github.com/apache/dolphinscheduler/pull/5133
573252f3e1baba5e133b6c8f608c22e3c2267a03
9c0439621836b5134b8a7da4e671cb74edc7c31b
"2021-03-23T10:23:38Z"
java
"2021-03-29T02:41:51Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,128
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-common/src/main/resources/common.properties", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java"]
[Feature][Worker] Support turning off sudo permissions
*For better global communication, please give priority to using English description, thx! * *Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.* **Describe the feature** The current version of multi-tenant implementation requires sudo permission. Most of the time the deployment execution user does not have sudo permission and does not need to be executed by the tenant account. At this time, the sudo permission dependency can be turned off, and the task execution is executed by the deployment user. 当前版本多租户的实现,需要sudo权限,大多数时候部署执行用户没有sudo权限,并且不需要利用租户账户执行,这时候可以关掉sudo权限依赖,任务执行采用部署用户执行 sudo stands for privilege escalation. If privilege escalation is not configured, multi-tenant is only used to isolate resources and users. After privilege escalation is configured, task execution will be performed by tenants, and deployment users will not be configured; and if privilege escalation is not configured, tenants cannot be automatically created. sudo 代表提权,如果不配置提权,多租户仅用来隔离资源与用户,配置提权以后,任务执行使用租户执行,不配置使用部署用户执行;并且不配置提权不允许自动创建租户
https://github.com/apache/dolphinscheduler/issues/5128
https://github.com/apache/dolphinscheduler/pull/5129
9c0439621836b5134b8a7da4e671cb74edc7c31b
a6a1b94df4f5c4d22845fe99f2f778ba53d60e5c
"2021-03-23T04:00:15Z"
java
"2021-03-29T03:07:39Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,124
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java"]
[Bug][API] do not set file name when reupload
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** 1. upload file with name "ojdbc3.jar" 2. reupload file with name "ojdbc3.jar" and real file name is "ojdbc6jar" ![image](https://user-images.githubusercontent.com/11975398/111952083-88c83000-8b1f-11eb-8b76-70b72eb3372a.png) **Expected behavior** fileName is same with what we specify
https://github.com/apache/dolphinscheduler/issues/5124
https://github.com/apache/dolphinscheduler/pull/5125
f20bb54896a9ac7b65c20b0cc7b0a744d1741155
6b565f0aed07cd328702d9fc1bec99e682c7525f
"2021-03-22T07:14:07Z"
java
"2021-04-01T12:44:03Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,103
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java"]
[Bug][Resource] The file name of File and UDF resource not changed and cannot re-upload after renaming name
**To Reproduce** Steps to reproduce the behavior, for example: 1. Go to 'File Manage' 2. Upload a file 3. Rename the file 4. See error (picture 1) 5. The same error also occurs in 'UDF Resources' (picture 2) 6. In 1.3.x version, if the renamed file is re-uploaded, 'resource already exists' error occurs (picture 3) **Expected behavior** Bug fixed. **Screenshots** In **File Manage**: (picture 1) ![image](https://user-images.githubusercontent.com/4902714/111659876-85dfed80-8848-11eb-8fa1-83dc95e816c8.png) In *UDF Resources*: (picture 2) ![image](https://user-images.githubusercontent.com/4902714/111659982-9e500800-8848-11eb-8718-3b9fc4b4660d.png) In **File Manage** to **Re-upload**: (picture 3) ![image](https://user-images.githubusercontent.com/4902714/111734181-8f06a400-88b4-11eb-8340-ed4ead79c97c.png) **Which version of Dolphin Scheduler:** -[1.3.x] -[dev]
https://github.com/apache/dolphinscheduler/issues/5103
https://github.com/apache/dolphinscheduler/pull/5107
91c29e6ca35b6ca81172f8b8c4ce3191d094852f
4a6e8b7afac5c56392ca74de008ef5f1319a3be6
"2021-03-18T16:20:49Z"
java
"2021-03-19T06:51:12Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,094
["dolphinscheduler-ui/src/js/conf/home/App.vue", "dolphinscheduler-ui/src/js/conf/home/router/index.js", "dolphinscheduler-ui/src/lib/external/config.js"]
[Improvement][UI] Add a main switch for refresh_in_switched_tab
**Describe the question** Add a main switch for `refresh_in_switched_tab` **What are the current deficiencies and the benefits of improvement** - If a user does not want to automatically refresh the page in switched tab, he can set a main switch to `false` **Which version of DolphinScheduler:** -[dev] @lijufeng2016 once mentioned this user requirement.
https://github.com/apache/dolphinscheduler/issues/5094
https://github.com/apache/dolphinscheduler/pull/5095
9008fa4b0c43a615270f080e9d8c3c2a324bee9c
91c29e6ca35b6ca81172f8b8c4ce3191d094852f
"2021-03-18T07:34:01Z"
java
"2021-03-19T03:58:33Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,089
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.scss", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/jsonBox.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/scriptBox.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/datax.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/python.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/shell.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sqoop.vue", "dolphinscheduler-ui/src/js/module/components/conditions/conditions.vue", "dolphinscheduler-ui/src/sass/common/index.scss"]
[Bug][UI] Code mirror cannot be displayed normally in sqoop task
**To Reproduce** Steps to reproduce the behavior, for example: 1. Go to 'Create process' in 'Process definition' 2. Create a sqoop task 3. Switch 'Custom Job' and 'ModelType' 4. See error **Expected behavior** Bug fixed **Screenshots** Picture 1: ![image](https://user-images.githubusercontent.com/4902714/111579750-86996500-87f1-11eb-8ceb-fa00645a6ad9.png) Picture 2: ![image](https://user-images.githubusercontent.com/4902714/111579796-9c0e8f00-87f1-11eb-9e13-0577426b9aa4.png) **Which version of Dolphin Scheduler:** -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/5089
https://github.com/apache/dolphinscheduler/pull/5090
086e71644163a0bb44e4bd1c5f7f16abc383ab1a
9008fa4b0c43a615270f080e9d8c3c2a324bee9c
"2021-03-18T05:55:52Z"
java
"2021-03-19T03:57:46Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,087
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/sql/SqlParameters.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/task/SqlParametersTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/sql.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js", "pom.xml"]
[Feature][SqlTask] Add a switch to send mail and print head logs in SqlTask
**Describe the feature** **Add the switch to send mail and print head logs in SqlTask**
https://github.com/apache/dolphinscheduler/issues/5087
https://github.com/apache/dolphinscheduler/pull/5088
4a6e8b7afac5c56392ca74de008ef5f1319a3be6
8ac72e80e6656ab2119f938e038df663765e1379
"2021-03-18T05:17:33Z"
java
"2021-03-19T07:07:39Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,085
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[Bug][server-master]if global Param of out is a number, throw format exception
sql or shell task node has out param,if the format of param is number,throw format exception.
https://github.com/apache/dolphinscheduler/issues/5085
https://github.com/apache/dolphinscheduler/pull/5077
5856a12855328e67aeb6a2005f86b3c1081750a1
29d42fd92d6720a8a0641e37923c6e6f38a5ae85
"2021-03-18T02:56:45Z"
java
"2021-03-18T03:50:10Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,071
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/shell/ShellTask.java"]
[Bug][Server] When setting value on shell script, it not working on the next task node.
**When setting value on shell script, it not working on the next task node.** If using `${setValue(key, value)}` function in the shell task, it needs to share the `key` to the process instance. but now, it's not working. **Which version of Dolphin Scheduler:** - [current dev branch]
https://github.com/apache/dolphinscheduler/issues/5071
https://github.com/apache/dolphinscheduler/pull/5067
6bf5031f455a930488ab58bb15c108cab80425a4
0ba120e8ab80d4687685837f6aa52460e7201813
"2021-03-16T13:51:01Z"
java
"2021-03-16T13:56:05Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,059
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionVersionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionVersionServiceTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue"]
[Improvement][API] Verify that the new workflow definition version is the current version before removing it
**Describe the question** Verify that the new workflow definition version is the current version before removing it 1.A new method to the Delete API verifies that the workflow definition version is in use 2.UI additions prohibit deleting the current version **Which version of DolphinScheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/5059
https://github.com/apache/dolphinscheduler/pull/5060
6216817861c64d9a170686c4c5aa6f3b9b0da110
705715c3130be49a8bab9bc2d181b2ad26d453da
"2021-03-15T12:35:24Z"
java
"2021-03-18T01:37:17Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,058
["dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/plugin/DolphinSchedulerPluginLoaderTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerService.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/DependentExecute.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ParamUtils.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/AlertManagerTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/alert/ProcessAlertManager.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/alert/ProcessAlertManagerTest.java", "pom.xml"]
[Improvement][Master] The master-server creates the DB data source twice
**Describe the question** The master-server creates the DB data source twice 1. Load the data source through Spring 2.AlertManager builds the data source with the ConnectionFactory factory class **Which version of DolphinScheduler:** -[dev] ![image](https://user-images.githubusercontent.com/37063904/112297565-03847d00-8cd1-11eb-878b-75e12060172a.png)
https://github.com/apache/dolphinscheduler/issues/5058
https://github.com/apache/dolphinscheduler/pull/5139
0d8011f9c1daa2b79dd45b0c80731d6b31ab0f07
9c77faa8ace7242ab9d37b9c6e65a699f1e2f829
"2021-03-15T12:24:11Z"
java
"2021-05-10T01:56:17Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,055
["dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/subUdfDirectory/index.vue", "dolphinscheduler-ui/src/js/module/components/fileUpdate/fileChildUpdate.vue", "dolphinscheduler-ui/src/js/module/components/fileUpdate/resourceChildUpdate.vue"]
[Bug][UI] Can not upload file to correct dir
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Create 2 file resources dir on UI,named dirA and dirB 2. upload a file to dirA 3. upload another file to dirB,but this file appear at dirA but not dirB **Expected behavior** Upload file to correct dir **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/5055
https://github.com/apache/dolphinscheduler/pull/5056
5d7dc1cb2aff2147b09b13ed002cbe54f3478a2c
e8c9c33d7e45b361c3c25085b01d3d78b6b11d90
"2021-03-15T10:09:31Z"
java
"2021-04-01T12:57:46Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,048
["dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapperTest.java", "sql/dolphinscheduler_postgre.sql", "sql/upgrade/1.3.6_schema/postgresql/dolphinscheduler_ddl.sql", "sql/upgrade/1.3.6_schema/postgresql/dolphinscheduler_dml.sql"]
[Bug][Api] Delete the stopped workflow without deleting the corresponding sub process, the workflow instance name is not displayed in the sub process
1.stop workflow,Workflow contains sub_process 2.delete the workflow, No sub_process were deleted, the workflow instance name is not displayed in the sub process ![image](https://user-images.githubusercontent.com/55787491/111032444-40d24a80-8447-11eb-9bc9-963c9914a06a.png) **Expected results** delete the workflow, need to delete all tasks under the workflow, including sub_process **Which version of Dolphin Scheduler:** -[1.3.6-prepare]
https://github.com/apache/dolphinscheduler/issues/5048
https://github.com/apache/dolphinscheduler/pull/5066
ba039dc252a2ddfe316297a2955f0ea9f966432a
f109a758f8388a0499391f5a87ccd6d1e17db3aa
"2021-03-13T14:00:33Z"
java
"2021-03-23T03:26:11Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,044
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/zk/ZKMasterClient.java"]
[Bug][Master] Fix First master fault tolerance when startup
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** Filtering an empty Host results in failure to perform Master startup fault tolerance 过滤空Host导致未执行Master启动容错 ![image](https://user-images.githubusercontent.com/11975398/110957734-df4aa700-8386-11eb-851f-530a9699630e.png) ![image](https://user-images.githubusercontent.com/11975398/110957590-b3c7bc80-8386-11eb-8648-5c28c65ecc12.png) **Which version of Dolphin Scheduler:** -[1.3.6-prerelease]
https://github.com/apache/dolphinscheduler/issues/5044
https://github.com/apache/dolphinscheduler/pull/5045
cc2a94a9735099b0a453624ce1c9f3be7a375a9d
a3153b5e44d40cceea6e705f2406c4a4ec5f99c9
"2021-03-12T15:02:48Z"
java
"2021-03-12T16:01:18Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
5,006
["docker/build/conf/dolphinscheduler/worker.properties.tpl", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/OSUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/config/WorkerConfig.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/resources/worker.properties"]
[Feature][Worker] Add a configuration item to set whether the tenant is automatically created on Worker
**Describe the feature** In the dev branch, the tenant executing a task will not be automatically created in worker. This will cause issue [#4995](https://github.com/apache/incubator-dolphinscheduler/issues/4995) In the following two scenarios, it will cause inconvenience to users - Product or operation people want to automatically create users instead of manually creating tenants - In the docker container environment, the tenants cannot be created in advance. Once the container is pulled up again, all tenants will disappear **Which version of Dolphin Scheduler:** - [dev] **Is your feature request related to a problem? Please describe.** In the docker container environment, it's a very painful thing to create new tenants on every worker every time. **Describe the solution you'd like** Add a configuration item to set whether the tenant is automatically created on Worker The default value of this configuration item is `false`, but it needs to be set to `true` in the container The name of this configuration item is `worker.tenant.auto.create` **Additional context** Previous dev email discussion: https://lists.apache.org/thread.html/ra44b2e69759fcc980e4ed04c1811037bf0e743e47827fc2dcd1049d6%40%3Cdev.dolphinscheduler.apache.org%3E
https://github.com/apache/dolphinscheduler/issues/5006
https://github.com/apache/dolphinscheduler/pull/5007
29d42fd92d6720a8a0641e37923c6e6f38a5ae85
f94cfc620dfd0c51010a49134a073e3848c0bd7e
"2021-03-08T15:28:05Z"
java
"2021-03-18T10:34:42Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,995
["docker/build/conf/dolphinscheduler/worker.properties.tpl", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/OSUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/config/WorkerConfig.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/resources/worker.properties"]
[Bug][api] select an existing tenant, the workflow fails to run, indicating that the tenant does not exist
![image](https://user-images.githubusercontent.com/55787491/110239702-40d3d580-7f83-11eb-8cb9-14f0110ac478.png) ![image](https://user-images.githubusercontent.com/55787491/110239708-47fae380-7f83-11eb-8c43-5435143e5c7b.png) **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4995
https://github.com/apache/dolphinscheduler/pull/5007
29d42fd92d6720a8a0641e37923c6e6f38a5ae85
f94cfc620dfd0c51010a49134a073e3848c0bd7e
"2021-03-07T12:25:55Z"
java
"2021-03-18T10:34:42Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,972
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/ProcessUtilsTest.java"]
[Improvement][Worker] yarn kill job after kinit (kerberos)
*For better global communication, please give priority to using English description, thx! * *Please review https://dolphinscheduler.apache.org/en-us/community/development/issue.html when describe an issue.* **Describe the question** After yarn kerberos authentication is enabled, kerberos TGT needs to be initialized when yarn kill is executed yarn 开启kerberos认证之后,执行yarn kill 的时候需要初始化kerberos TGT **Which version of DolphinScheduler:** -[1.3.*]
https://github.com/apache/dolphinscheduler/issues/4972
https://github.com/apache/dolphinscheduler/pull/4973
fd581af72675b6c71ee46bba2a393091e6643b90
c3f43a19242c3cb4538372f02e7eaf83b971ab1e
"2021-03-05T14:09:19Z"
java
"2021-03-08T12:17:28Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,971
["dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java", "dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/PropertyUtils.java", "dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/plugin/AlertPluginManagerTest.java", "dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/plugin/EmailAlertPluginTest.java", "dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/utils/PropertyUtilsTest.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/PropertyUtils.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/TaskRecordDao.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/datasource/SpringConnectionFactory.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/utils/PropertyUtils.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/quartz/QuartzExecutors.java"]
[Improvement][common] Remove redundant PropertyUtils.class
We are flooded with too many PropertyUtils.class, in my opinion, there is no need, therefore, it is best to keep only the common-model.
https://github.com/apache/dolphinscheduler/issues/4971
https://github.com/apache/dolphinscheduler/pull/5020
1cd62b4a5e6d5e8ac3adf8b7e2ffd61a8e87f71b
6216817861c64d9a170686c4c5aa6f3b9b0da110
"2021-03-05T13:58:44Z"
java
"2021-03-17T07:28:07Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,963
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/DataSourceMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/UdfFuncMapper.xml"]
[Bug][Dao] Mybtis Mapper used foreach syntax to traverse collections and the collection was empty
**Describe the bug** Mybtis Mapper used foreach syntax to traverse collections and the collection was empty **Screenshots** ![image](https://user-images.githubusercontent.com/37063904/110100105-003a5780-7ddd-11eb-8a37-71fcd7713108.png) **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4963
https://github.com/apache/dolphinscheduler/pull/4964
89c9b517409279e551683aafa130eff50bdad091
d13fab7497c999483e7ffe19beec5c6da089c2f3
"2021-03-05T10:02:58Z"
java
"2021-03-09T01:44:11Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,960
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/task/spark/SparkParameters.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/FlinkArgsUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/SparkArgsUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/mr/MapReduceTask.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/spark/SparkTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/FlinkArgsUtilsTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/utils/SparkArgsUtilsTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/spark.vue"]
[Feature][Spark] Support spark name
**Describe the feature** Support spark name, which is common option **Is your feature request related to a problem? Please describe.** No. **Describe the solution you'd like** I will implement this feature
https://github.com/apache/dolphinscheduler/issues/4960
https://github.com/apache/dolphinscheduler/pull/4959
0ac0f31548ef8bfe9a968663db11fd3e09d0bf2d
e74932cfc21c95d7824cd55dd3cb6e441e2b8305
"2021-03-04T17:04:42Z"
java
"2021-03-09T04:51:35Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,940
["dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/subdirectory/index.vue"]
[Bug][UI] when upload a file to a directory in resource page,then call resources/list-paging error
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Go to Resources Center 2. Create a directory,then click into this dir 3. upload a file to the dir you created 4. use F12 debug page,see the call **http://xxxxxx:8888/dolphinscheduler/resources/list-paging** **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** ![微信图片_20210303153502.png](http://ww1.sinaimg.cn/large/005Cc2n2gy1go6r7ads75j316o0mj76y.jpg) **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4940
https://github.com/apache/dolphinscheduler/pull/4941
53aedc50eca8bad176e1c9dfbec6d38b9c34cd4b
658a7f5661a3bee4f6bfb72d6981eb8d1c428e77
"2021-03-03T07:35:49Z"
java
"2021-03-03T12:37:35Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,939
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/LoggerUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/LoggerUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessor.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessorTest.java", "dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/log/LogClientService.java", "dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/log/LogClientServiceTest.java", "pom.xml"]
[Improvement][worker] Optimize KillYarnJob
When KillYarnJob, determine whether the target host is the local machine, if it is, rpc communication is not required org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor#killYarnJob
https://github.com/apache/dolphinscheduler/issues/4939
https://github.com/apache/dolphinscheduler/pull/4943
beb5adb9855521341e8b88a31440075b9708b852
ea6b1de120cd438b7611b966d396164dec421cbb
"2021-03-03T07:19:13Z"
java
"2021-03-11T14:13:44Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,934
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/index/index.vue"]
[Bug][UI] Index page statics info not show todays but show all history statics task info
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Go to index page 2. See task info statics and time range,it shows all history task statics info but not todays 3. Use F12 debug page,you can see **startDate** and **endtDate** is null **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** ![微信图片_20210303103153.png](http://ww1.sinaimg.cn/large/005Cc2n2ly1go6igf2agxj31ls0omah2.jpg) **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4934
https://github.com/apache/dolphinscheduler/pull/4935
5bfe3fca673d9f0a0622ef5c3f089e52a9599641
53aedc50eca8bad176e1c9dfbec6d38b9c34cd4b
"2021-03-03T02:32:48Z"
java
"2021-03-03T12:36:41Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,929
["dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/UdfFunc.java"]
[Bug][dao] when run a hive-sql with udf throw ClassCastException
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. create an hive udf 2. run a hive-sql with udf 3. check task log **Expected behavior** Can run hive-sql with udf success **Screenshots** If applicable, add screenshots to help explain your problem. ![企业微信截图_16146789692797.png](http://ww1.sinaimg.cn/large/005Cc2n2gy1go5pomkwcjj30nx05ujrw.jpg) **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4929
https://github.com/apache/dolphinscheduler/pull/4930
ba2bb22100a2d20180477897cadd6cb57b139dd2
397c78149c3eb0aad10b6cacd82e82013d4b7dbd
"2021-03-02T09:57:49Z"
java
"2021-03-02T10:26:14Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,908
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/dependItemList.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/_source/nodeStatus.vue", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/conditions.vue"]
[Bug][UI] Dependent task item cannot delete and select
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Go to 'Process definition create' 2. Create 'Dependent' task 3. Click 'Add dependency' 4. Click 'Add' 4. See error: Dependent task item cannot delete and select This bug is caused by replacing element-ui. **Expected behavior** Bug fixed **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/4902714/109503586-6d947280-7ad5-11eb-9940-fdbb0b794030.png) ![image](https://user-images.githubusercontent.com/4902714/109503550-62414700-7ad5-11eb-851d-622eb73bd0a4.png) ![image](https://user-images.githubusercontent.com/4902714/109504208-412d2600-7ad6-11eb-9177-01868928a395.png) **Which version of Dolphin Scheduler:** -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/4908
https://github.com/apache/dolphinscheduler/pull/4909
a25c3974fcba99d96e884c9f928d5dae4d455785
54fc458e442f823a2d2c491472ce767edeec2196
"2021-03-01T13:31:46Z"
java
"2021-03-01T13:58:39Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,905
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/NetUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/CommonTest.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/NetUtilsTest.java"]
[Bug][K8s] Incorrect host problem in minikube
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Deploy K8s on minikube by `helm` 2. Access `Worker groups manage` 3. See incorrect host **Expected behavior** Bug fixed, and the host in the picture below is correct: ![image](https://user-images.githubusercontent.com/4902714/109470921-ff3aba80-7aaa-11eb-9555-9e5c97504ecb.png) **Screenshots** If applicable, add screenshots to help explain your problem. Incorrect host: ![image](https://user-images.githubusercontent.com/4902714/109471044-2a250e80-7aab-11eb-840b-a59cf2fd8e36.png) **Which version of Dolphin Scheduler:** -[1.3.x] -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/4905
https://github.com/apache/dolphinscheduler/pull/4906
4706de717ceb6d399aca1dbd683566ef8f97b578
d6675259132c7eeebb183782bdc7f09fe04ff21b
"2021-03-01T08:28:45Z"
java
"2021-03-04T02:05:24Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,897
[".licenserc.yaml", "docker/build/Dockerfile", "docker/build/conf/dolphinscheduler/logback/logback-alert.xml", "docker/build/conf/dolphinscheduler/logback/logback-api.xml", "docker/build/conf/dolphinscheduler/logback/logback-master.xml", "docker/build/conf/dolphinscheduler/logback/logback-worker.xml", "docker/build/conf/dolphinscheduler/supervisor/supervisor.ini", "docker/build/startup-init-conf.sh", "docker/build/startup.sh", "script/dolphinscheduler-daemon.sh"]
[Bug][Docker] `docker logs -f` command cannot keep outputting logs all the time
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Run a dolphinscheduler by `docker-compose up -d` 2. Run `docker logs -f dolphinscheduler-master` command 3. Wait more than an hour 4. See error: The logs outputed by `docker logs -f dolphinscheduler-master` are not changed, while the log file in the container contains more log contents by `docker exec -it dolphinscheduler-master cat /opt/dolphinscheduler/logs/dolphinscheduler-master.log` **Bug reason**: Due to log rotation, the `tail` command cannot obtain a new rotation log **Expected behavior** Bug fixed **Screenshots** If applicable, add screenshots to help explain your problem. **Which version of Dolphin Scheduler:** -[1.3.x] -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/4897
https://github.com/apache/dolphinscheduler/pull/4900
d6675259132c7eeebb183782bdc7f09fe04ff21b
cf13c87dae0b30d994f448140f5c7e506d8f3ca4
"2021-02-27T05:14:30Z"
java
"2021-03-04T02:08:03Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,893
["README.md"]
[Improvement][READM.md] update the latest url for `QuickStart in Docker`
please update the following url ``` Please referer the official website document:[[QuickStart in Docker](https://dolphinscheduler.apache.org/en-us/docs/1.3.4/user_doc/docker-deployment.html)] ```` with new 1.3.5 version : https://dolphinscheduler.apache.org/en-us/docs/1.3.5/user_doc/docker-deployment.html
https://github.com/apache/dolphinscheduler/issues/4893
https://github.com/apache/dolphinscheduler/pull/4895
b8788f007b1617605e05d70c0ff33c4aa7318c4b
d170b92dc6ab5deda8ab88d5eede1e8d642ee158
"2021-02-27T01:36:39Z"
java
"2021-02-27T06:46:18Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,886
["docker/build/Dockerfile", "docker/build/conf/dolphinscheduler/common.properties.tpl", "docker/build/conf/dolphinscheduler/env/dolphinscheduler_env.sh.tpl", "docker/build/startup-init-conf.sh", "docker/docker-swarm/docker-compose.yml", "docker/docker-swarm/docker-stack.yml", "docker/docker-swarm/dolphinscheduler_env.sh"]
[Bug][Docker] Cannot create container for service dolphinscheduler-worker: invalid volume specification in Windows
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Run `docker-compose` on Windows 2. See error: `Cannot create container for service dolphinscheduler-worker: invalid volume specification` **Expected behavior** Bug fixed. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/4902714/109300088-0e362880-7871-11eb-9132-f716462a26eb.png) **Which version of Dolphin Scheduler:** -[1.3.x] -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/4886
https://github.com/apache/dolphinscheduler/pull/4887
a75793d875a9a7c3394dc8768c014e1d4efa6e7f
b8788f007b1617605e05d70c0ff33c4aa7318c4b
"2021-02-26T12:27:50Z"
java
"2021-02-27T01:45:23Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,884
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/exception/BaseException.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/HadoopUtilsTest.java"]
[Improvement][Common] a concatenation URL problem occurred when the address of the ACITVE ResourceManager in YARN HA mode failed to be obtained
**Describe the question** Acitve ReSourceManager IP = null when obtaining Acitve ReSourceManager address in YARN HA mode fails, the program will return splicing application url = http://null:8088/ws/v1/cluster/apps/%s **What are the current deficiencies and the benefits of improvement** The yarn application URL generation failed exception should be thrown here **Which version of DolphinScheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4884
https://github.com/apache/dolphinscheduler/pull/4885
ea6b1de120cd438b7611b966d396164dec421cbb
c8e31ad58e15936174e773172d12337a8cf26d69
"2021-02-26T04:31:57Z"
java
"2021-03-11T14:14:52Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,881
["docker/build/README.md"]
[Improvement][Docker] Add default login username and password in readme
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** Documentation for the docker-compose instructions is missing the default login credentials. (https://github.com/apache/incubator-dolphinscheduler/tree/dev/docker/build) **To Reproduce** Steps to reproduce the behavior, for example: 1. Go to https://github.com/apache/incubator-dolphinscheduler/tree/dev/docker/build **Expected behavior** A clear and concise description of what you expected to happen. The default login username and password (admin / dolphinscheduler123) should be in the readme for the above location. **Which version of Dolphin Scheduler:** -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/4881
https://github.com/apache/dolphinscheduler/pull/4882
d217937de3c876c2f1d44cd05eeb266159111b1e
fbe0edac070df6322ce72b269255ff70f64c9c3d
"2021-02-26T03:33:09Z"
java
"2021-02-26T05:28:39Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,837
["docker/kubernetes/dolphinscheduler/README.md", "docker/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-api.yaml", "docker/kubernetes/dolphinscheduler/templates/ingress.yaml", "docker/kubernetes/dolphinscheduler/templates/svc-dolphinscheduler-api.yaml", "docker/kubernetes/dolphinscheduler/values.yaml"]
Docker & K8s Improvement Plan
### 1.3.5-release Docker Improvement Plan - [x] Reduce image size - [x] Remove frontend/nginx - [x] Remove stdout log in properties - [x] improve compose/swarm deployment - [x] Fix random PSQLException - [x] Sync docker conf templates to the latest conf properties - [x] Update outdated readme K8s Improvement Plan - [x] Remove frontend/nginx - [x] Remove redundant configs - [x] Support resource storage when fs.defaultFS=file:/// - [x] Fix task log disappear after recreating or upgrading helm release - [x] Improve long host display in K8s - [x] Update outdated readme ### dev & 1.3.6-release Docker Improvement Plan - [x] Reduce image size - [x] Remove frontend/nginx - [x] Remove stdout log in properties - [x] improve compose/swarm deployment - [x] Fix random PSQLException - [x] Sync docker conf templates to the latest conf properties - [x] Update outdated readme - [x] Rename `WORKER_GROUP` to `WORKER_GROUPS` (#4843) - [x] Add FAQ support about MySQL and Oracle in readme (#4732 #4871) - [x] Add default login username and password in readme (#4881) - [x] Check compatibility in Windows (#4804) - [x] Fix invalid volume specification in Windows (#4886) - [x] Support supervisor management (#2687) - [x] Optimize log stdout with supervisor (#4897) - [x] Fix that can not build a docker image on Windows (#3124) - [x] Support docker compose file 3.1+ version - [x] Add tenant tip for quick start - [x] Sync the latest configs in master.properties and worker.properties - [x] Support all configs in common.properties - [x] Improve the environment variables and reduce the duplication configs - [x] Fix mysql check - [x] Add config.env.sh for docker compose and swarm - [x] Add `MASTER_SERVER_OPTS`, `WORKER_SERVER_OPTS`, `ALERT_SERVER_OPTS`, `API_SERVER_OPTS`, `LOGGER_SERVER_OPTS` - [x] Support skywalking config in docker - [x] Replace alpine with debian:slim (#5155) - [x] Remove redundant postgresql-client and mysql-client - [x] Add faq for python, spark, hadoop, flink and datax - [x] Add docs for support matrix on docker (#5068) - [x] Support task scalability on Docker such as Spark, Flink and DataX (#5100) K8s Improvement Plan - [x] Remove frontend/nginx - [x] Remove redundant configs - [x] Support resource storage when fs.defaultFS=file:/// - [x] Fix task log disappear after recreating or upgrading helm release - [x] Improve long host display in K8s - [x] Adapt to the latest alert-server with updated config and port 50052 - [x] Update outdated readme - [x] Rename `WORKER_GROUP` to `WORKER_GROUPS` (#4843) - [x] Add FAQ support about MySQL and Oracle in readme (#2584) - [x] Add FAQ support to use namespace, access ui and delete pv in readme - [x] Incorrect host problem in minikube (#4905) - [x] Check compatibility in all Kubernetes 1.12+ - [x] Support local docker image - [x] Optimize image pull secret - [x] Optimize fullname - [x] Optimize metadata name - [x] Sync the latest configs in master.properties and worker.properties - [x] Support all configs in common.properties - [x] Improve the environment variables and reduce the duplication configs - [x] Support skywalking config in k8s - [x] Unify annotations, affinity, nodeSelector, tolerations, resources and probe in K8s - [x] Support more service access like ClusterIP, NodePort and LoadBalancer - [x] Improve https tip in k8s - [x] Add `MASTER_SERVER_OPTS`, `WORKER_SERVER_OPTS`, `ALERT_SERVER_OPTS`, `API_SERVER_OPTS`, `LOGGER_SERVER_OPTS` - [x] Add faq for python, spark, hadoop, flink and datax - [x] Add docs for support matrix on k8s (#5068) - [x] Support task scalability on K8s such as Spark, Flink and DataX (#5100) - [x] Fix quartz cron task cannot take effect in K8s (#5351) - [x] Reduce long host and improve long host display on K8s
https://github.com/apache/dolphinscheduler/issues/4837
https://github.com/apache/dolphinscheduler/pull/4902
24fda3fbb1cdf4a58b519feb85e7613b15804dd2
4706de717ceb6d399aca1dbd683566ef8f97b578
"2021-02-22T07:30:35Z"
java
"2021-03-04T01:40:28Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,721
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HadoopUtils.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/StringUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/StringUtilsTest.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertGroupMapper.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/utils/ProcessUtils.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java"]
[Bug][worker] The shell background starts the YARN task scenario, and the kill function is abnormal
**Describe the bug** The shell background starts the YARN task scenario, and the kill function is abnormal **To Reproduce** 1.Create a new shell task to start the yarn task in the background 2.While the yarn task is running, the page clicks on this task kill function **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Which version of Dolphin Scheduler:** -[1.3.4-release,dev] --- **描述 bug** 在shell后台启动yarn任务场景,kill功能异常 **To Reproduce** 1.新建一个shell任务,用于后台启动yarn任务 2.在yarn任务正在运行时,页面点击此任务kill功能 异常: 页面点击kill后,工作流实例显示状态为准备停止 ![image](https://user-images.githubusercontent.com/37063904/107142822-606be400-696c-11eb-97a8-466dbdc1dd80.png) ![image](https://user-images.githubusercontent.com/37063904/107142827-6661c500-696c-11eb-99ed-2bcf204b3412.png) worker日志 任务正在运行日志 ![image](https://user-images.githubusercontent.com/37063904/107142955-2cdd8980-696d-11eb-96e9-300a28b5e156.png) 任务kill时日志 ![image](https://user-images.githubusercontent.com/37063904/107143000-86de4f00-696d-11eb-977a-e168b1b757c3.png)
https://github.com/apache/dolphinscheduler/issues/4721
https://github.com/apache/dolphinscheduler/pull/4722
9c3cec5bbdec2eea90e4525da9e4b915d4b5bb82
e53369318bdf61f169dcbf2644caf8521b3dd536
"2021-02-07T09:54:49Z"
java
"2021-03-30T14:33:49Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,705
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/WorkerGroupServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/WorkerGroupServiceTest.java"]
[Bug][API] KeeperException$NoNodeException
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Start an initial DB and ZK, run `CreateDolphinScheduler` to import sql data 2. Start UI and API, DO NOT start master and worker 3. Click 'Create process' 4. Drag a task icon to dag editor 5. See error **Expected behavior** Exception can be captured and friendly information can be prompted in UI. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/4902714/107109032-d04c7280-6877-11eb-9cb9-910c8f5d61dd.png) API log: ``` [ERROR] 2021-02-06 12:25:08.744 org.apache.dolphinscheduler.service.zk.ZookeeperOperator:[138] - getChildrenKeys key : /dolphinscheduler/nodes/worker org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/nodes/worker at org.apache.zookeeper.KeeperException.create(KeeperException.java:114) at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659) at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242) at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231) at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67) at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81) at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228) at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219) at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41) at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:132) at org.apache.dolphinscheduler.api.service.WorkerGroupService.getWorkerGroups(WorkerGroupService.java:132) at org.apache.dolphinscheduler.api.service.WorkerGroupService.queryAllGroup(WorkerGroupService.java:113) at org.apache.dolphinscheduler.api.controller.WorkerGroupController.queryAllWorkerGroups(WorkerGroupController.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:502) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.lang.Thread.run(Thread.java:748) [ERROR] 2021-02-06 12:25:08.749 org.apache.dolphinscheduler.api.exceptions.ApiExceptionHandler:[45] - 查询worker分组失败 java.lang.RuntimeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/nodes/worker at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:139) at org.apache.dolphinscheduler.api.service.WorkerGroupService.getWorkerGroups(WorkerGroupService.java:132) at org.apache.dolphinscheduler.api.service.WorkerGroupService.queryAllGroup(WorkerGroupService.java:113) at org.apache.dolphinscheduler.api.controller.WorkerGroupController.queryAllWorkerGroups(WorkerGroupController.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:897) at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:502) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /dolphinscheduler/nodes/worker at org.apache.zookeeper.KeeperException.create(KeeperException.java:114) at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1659) at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:242) at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:231) at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67) at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81) at org.apache.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:228) at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:219) at org.apache.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:41) at org.apache.dolphinscheduler.service.zk.ZookeeperOperator.getChildrenKeys(ZookeeperOperator.java:132) ... 71 common frames omitted ``` **Which version of Dolphin Scheduler:** -[1.3.x] -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/4705
https://github.com/apache/dolphinscheduler/pull/4961
e851ec13671af7d68792cc134175c4a5d6c01f20
8112f5bcb5c27a2b48fbfff2fe9a5c6595b0273d
"2021-02-06T04:35:45Z"
java
"2021-03-05T13:34:54Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,648
["dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue"]
[Bug][UI] TypeError: Cannot read property 'id' of undefined in createUser
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 0. Init Bare databse 1. Go to 'User Manage' 2. Click on 'Edit User' 3. See error **Expected behavior** TypeError fixed. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/4902714/106452923-82281f80-64c3-11eb-84de-b72ecaa5f352.png) **Which version of Dolphin Scheduler:** -[1.3.4] -[dev] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/4648
https://github.com/apache/dolphinscheduler/pull/4649
6a49d8163e333b27ce941cabdd3957aeb1779e14
8419ad798c76ef5c1fec07c120e56ca78f892cf5
"2021-02-01T11:27:55Z"
java
"2021-02-02T05:46:02Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,641
["dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/src/main/java/org/apache/dolphinscheduler/plugin/alert/email/MailParamsConstants.java", "dolphinscheduler-alert-plugin/dolphinscheduler-alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/MailUtilsTest.java"]
[Bug][Alert] Sending the email to the following server failed :null:null
**Describe the bug** Alert-server email alert error, the message is 'Sending the email to the following server failed :null:null' **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4641
https://github.com/apache/dolphinscheduler/pull/4642
14d49bc584685a33e2952573a0cb6e88377ab9f9
6df87b89d7b0ec013c5a2bfdfb92fa3ff1496c40
"2021-02-01T04:50:30Z"
java
"2021-02-03T06:20:16Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,592
["ambari_plugin/common-services/DOLPHIN/1.3.3/configuration/dolphin-worker.xml", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/WorkerGroupService.java"]
[Improvement][api] Worker group data returned incorrectly
![image](https://user-images.githubusercontent.com/55787491/105975589-16604400-60ca-11eb-91b8-83fd8568673e.png) ![image](https://user-images.githubusercontent.com/55787491/105975823-6212ed80-60ca-11eb-91a5-772c93a899bb.png) **Which version of DolphinScheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4592
https://github.com/apache/dolphinscheduler/pull/4620
658376ad363dcafafe1054f8babfc5bb5ffe60c0
afd201e6fa50700cf16aad2a292e61c4e5b6e5f9
"2021-01-27T10:06:43Z"
java
"2021-01-29T08:54:39Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,526
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OSUtils.java"]
[Bug][WorkerServer] worker server doesn't work fine in K8s
i run a worker server in k8s,not change the worker server parms,sometime i run into the error in the picture,dispath do not find a suiteable worker to do the task. <img width="964" alt="截屏2021-01-20 下午8 44 42" src="https://user-images.githubusercontent.com/3957251/105436336-ff6cbc80-5c99-11eb-993c-ac13193efd96.png">
https://github.com/apache/dolphinscheduler/issues/4526
https://github.com/apache/dolphinscheduler/pull/4524
cfa88a4a804b3bc565f6571d5a6e842df18644a2
5bae9336b025afb77bb0459fc10f333a8ff35d48
"2021-01-22T02:10:46Z"
java
"2021-01-24T06:53:27Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,496
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java"]
[BUG][server] Add to! {} is used to mark the custom parameters to be output as-is in sql
The hdfs path mapped when hive adds partitions is passed in by custom parameters: Sample statement: alter table test add if not exists partition(dt='${time}') location "/.../${time}/"; Custom parameters:time in varchar $[yyyy-MM-dd] Problem Description: Quotation marks are added to the custom parameters in the Hive load partition SQL, which causes the partition path mapping error: before modification: location "/.../${time}/" Is parsed into location "/.../'2020-01-19'/" After modification : location "/.../${time}/" Is parsed into location "/.../2020-01-19/" After the modification, there are no quotation marks in the hdfs path, which meets the requirements of the partition of the hive table -------------------------------------------------------------------------------------------------------------- hive添加分区时所映射的hdfs路径由自定义参数传入 样例语句:alter table test add if not exists partition(dt='${time}') location "/.../${time}/"; 自定义参数:time in varchar $[yyyy-MM-dd] 问题描述: Hive加载分区SQL里的自定义参数上加了引号,导致分区路径映射错误: 修改前 location "/.../${time}/ 被解析成 location "/.../'2020-01-19'/ 修改后 location "/.../${time}/ 被解析成 location "/.../2020-01-19/ 修改后hdfs路径中不再有引号,符合hive表的分区的需求
https://github.com/apache/dolphinscheduler/issues/4496
https://github.com/apache/dolphinscheduler/pull/4497
0ab246da5fc30cc21734d7fa511be4f9080c7a9c
43586da376cf60f3d719bee5b35c312568408cc7
"2021-01-19T13:35:25Z"
java
"2021-01-21T12:43:59Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,493
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionControllerTest.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/udp/udp.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/store/dag/state.js"]
[Improvement][api] The Process Definition interface parameter releaseState is changed to an enumeration type
**Describe the question** The Process Definition interface parameter releaseState is changed to an enumeration type **What are the current deficiencies and the benefits of improvement** - The current Process Definition interface parameter releaseState variable uses an int type, and the releaseState mapping relationship needs to be recorded in both the front-end and back-end code **Which version of DolphinScheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4493
https://github.com/apache/dolphinscheduler/pull/4494
046940b1a008c63d6cad44b3f7aff954f6f9af83
cfa88a4a804b3bc565f6571d5a6e842df18644a2
"2021-01-19T10:21:18Z"
java
"2021-01-22T14:39:58Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,428
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/DataSourceMapper.xml", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ResourceMapper.xml", "dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
It is recommended to add an owner in the data source center and the Resource Center to make it easier to manage
It is recommended to add an owner in the data source center and the Resource Center to make it easier to manage ![image](https://user-images.githubusercontent.com/42087586/104288645-0ace2400-54f3-11eb-9466-04cb435d5fd0.png) ![image](https://user-images.githubusercontent.com/42087586/104288766-3224f100-54f3-11eb-9a9f-82d082a45670.png)
https://github.com/apache/dolphinscheduler/issues/4428
https://github.com/apache/dolphinscheduler/pull/4442
2a98aee1bd36039be1fd0ef03488432c70b6c63a
d0ac87a6389c2ff8766f477acaf3e236e11de7b1
"2021-01-12T08:28:56Z"
java
"2021-01-14T09:10:14Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,385
["dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ExecutorController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ExecutorService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java", "dolphinscheduler-api/src/main/resources/i18n/messages_en_US.properties", "dolphinscheduler-api/src/main/resources/i18n/messages_zh_CN.properties", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ExecutorService2Test.java", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js"]
[Improvement][recording data] Manually configure the parallelism of supplementary when recording data
*i met a situation that the memory fulls and the dolphinscheduler server down when i start the recording data(补数) tasks, if there is a feature that we can configure the parallelism of supplementary recording data manually * **Describe the question** The memory fulls and the dolphinscheduler server down when i start the recording data(补数) tasks. **What are the current deficiencies and the benefits of improvement** We can configure the parallelism of supplementary recording data manually so that the machine resource will not be occupied too much. **Which version of DolphinScheduler:** -[1.3.3-preview] **Describe alternatives you've considered** Changing the model to "Serial"(串行) but this model will take too much time.
https://github.com/apache/dolphinscheduler/issues/4385
https://github.com/apache/dolphinscheduler/pull/5912
2afa625a753680313e8a6c5fb3a68e01e56f5caa
1887bde1ebf8249de153890e78d449582e3eaf4a
"2021-01-06T02:58:47Z"
java
"2021-08-16T06:59:28Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,359
["dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/timing/_source/list.vue"]
[Bug][UI] the page does not refresh after clicking the delete function
**Describe the bug** the page does not refresh after clicking the delete function. **To Reproduce** Steps to reproduce the behavior, for example: 1. Click workflow Definition 2. Click the timer management button of a workflow 3. Click a timed delete button **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4359
https://github.com/apache/dolphinscheduler/pull/4360
46443a6f3b4228556562606e29b2026c21f1d252
66141d58f6e19285a1a5d4d7cbd508b0f585a26c
"2021-01-02T05:10:18Z"
java
"2021-01-04T01:30:04Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,338
["dolphinscheduler-ui/src/js/module/filter/filter.js"]
[Bug][UI] Invalid date problem in IE
**For better global communication, Please describe it in English. If you feel the description in English is not clear, then you can append description in Chinese(just for Mandarin(CN)), thx! ** **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior, for example: 1. Go to 'Task Instance', 'Warnning group manage' or 'Token manage' in IE 2. See 'Invalid Date' error **Expected behavior** Bug fixed. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/4902714/103278240-02132380-4a06-11eb-8c3c-db16e9558201.png) ![image](https://user-images.githubusercontent.com/4902714/103278253-06d7d780-4a06-11eb-8903-52d25bc5f6dc.png) ![image](https://user-images.githubusercontent.com/4902714/103278260-09d2c800-4a06-11eb-9145-185b8081518d.png) **Which version of Dolphin Scheduler:** -[all versions] **Additional context** Add any other context about the problem here. **Requirement or improvement** - Please describe about your requirements or improvement suggestions.
https://github.com/apache/dolphinscheduler/issues/4338
https://github.com/apache/dolphinscheduler/pull/4339
2e44f4c553b761236a78daf993e150b08172ed37
45b097f37870d2a7b8e51fbba3e6d70b49ed2341
"2020-12-29T10:45:50Z"
java
"2020-12-30T04:00:56Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,326
["dolphinscheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue"]
[Improvement][UI] Add description field to data source list
**Describe the question** [UI] Add description field to data source list **Which version of DolphinScheduler:** -[dev] Anyone interested can claim this PR.
https://github.com/apache/dolphinscheduler/issues/4326
https://github.com/apache/dolphinscheduler/pull/4362
66141d58f6e19285a1a5d4d7cbd508b0f585a26c
0b71c77b2d2ff85afe2b440e53773fe2c428bed3
"2020-12-28T11:19:08Z"
java
"2021-01-04T02:04:58Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,310
["dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/plugin/AlertPluginManager.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/UiPluginController.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UiPluginService.java", "dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UiPluginServiceImpl.java", "dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/UiPluginServiceTest.java", "dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/PluginType.java", "dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/PluginDefineMapper.java", "dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/PluginDefineMapper.xml", "pom.xml"]
[Feature][Alert-SPI] Plug-ins containing UI components provide display pages
*Some plugins (such as alert plugin) need to provide UI interfaces to users. * We use from-creat to dynamically generate UI interfaces. Related parameters are mainly provided by pluginParams. * From-create can generate dynamic ui based on this parameter.
https://github.com/apache/dolphinscheduler/issues/4310
https://github.com/apache/dolphinscheduler/pull/4311
0f31152aeedf56e3a16883ded012952dbcacfc6b
17d44216a4795d9b5a93a35b1457a2ead1f2b2c8
"2020-12-25T09:01:31Z"
java
"2020-12-28T03:25:00Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,306
["dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue", "dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue"]
[Bug][UI] The version information closing function does not take effect
**Describe the bug** 1. The closing function of version information in workflow definition page does not take effect 2. The closing function of version information in DAG chart page does not take effect **To Reproduce** 1. Click to enter the workflow definition page and click the version information button of a specific workflow definition 2. Clicking the Cancel button on the version information page does not take effect **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4306
https://github.com/apache/dolphinscheduler/pull/4307
ede78950836b77cceda0caafb0503a47b10fbbbd
48b5fc6ae46a061346cf985ca0c0614f2e325bd3
"2020-12-25T05:14:03Z"
java
"2020-12-26T06:03:41Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,301
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AccessTokenMapper.xml"]
[Bug][dao] The token management list does not display the user name
**Describe the bug** The token management list does not display the user name **To Reproduce** 1. Click on the token Management menu **Screenshots** ![image](https://user-images.githubusercontent.com/37063904/103061290-d64b0480-45e5-11eb-872d-cb9d002d62f1.png) **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4301
https://github.com/apache/dolphinscheduler/pull/4302
3f9dcd5d4489197b22027d752e2c0bd0d453c30c
ec84695323190a24a0d277b1598a3bdd2baa901f
"2020-12-24T04:46:45Z"
java
"2020-12-24T05:01:29Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,294
["dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/UdfFuncMapper.xml"]
[Bug][dao] The database field of the t_ds_udfs table is the mysql DB keyword
**Describe the bug** The database field of the t_ds_udfs table is the mysql DB keyword **Screenshots** ![image](https://user-images.githubusercontent.com/37063904/102960654-5d807580-451d-11eb-9246-86c506b1cf7a.png) **Which version of Dolphin Scheduler:** -[dev]
https://github.com/apache/dolphinscheduler/issues/4294
https://github.com/apache/dolphinscheduler/pull/4295
f0ada2aa2dba2ecdbfdd28c7f88a68fe06730d86
3f9dcd5d4489197b22027d752e2c0bd0d453c30c
"2020-12-23T04:54:47Z"
java
"2020-12-24T01:20:58Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,215
["dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java"]
[improvement] ProcessService invalid code removal
*For better global communication, please give priority to using English description, thx! * *Please review https://dolphinscheduler.apache.org/en-us/docs/development/issue.html when describe an issue.* **Describe the question** A clear and concise description of what the question is. org.apache.dolphinscheduler.service.process.ProcessService#checkTaskExistsInTaskQueue方法恒返回false **Which version of DolphinScheduler:** 1.1.3 **Additional context** Add any other context about the problem here. ![image](https://user-images.githubusercontent.com/41229600/101970917-6002e580-3c68-11eb-84c1-135b943ec38b.png) **Requirement or improvement** - Please describe about your requirements or improvement suggestions. 如果返回恒定值,业务逻辑是否完备
https://github.com/apache/dolphinscheduler/issues/4215
https://github.com/apache/dolphinscheduler/pull/4221
b694474c78cafb298dd41d03cc0c54d2179dde2a
426eb9af034ff481f22d5da0a03662f6c9c7e32c
"2020-12-12T02:53:50Z"
java
"2020-12-13T15:05:27Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,172
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/entity/TaskExecutionContext.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/cache/TaskExecutionContextCacheManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/cache/impl/TaskExecutionContextCacheManagerImpl.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/cache/TaskExecutionContextCacheManagerTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/processor/TaskCallbackServiceTest.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/processor/TaskKillProcessorTest.java"]
TaskKillProcessor throw NullPointException
1.when worker runing more than 100 tasks , there are some tasks in queue. with that ,master send a kill commad to this worker,TaskKillProcessor receive ,and get processId in cache(TaskExecutionContext). But the taskInstance isn't running in this worker ,it is in queue.so the TaskKillProcessor throw NullPointException. 2.This exception will be catched in this method.The TaskKillProcessor will continue run to build command .In method "buildKillTaskResponseCommand" , get TaskInstanceId in cache(TaskExecutionContext),but this cache is null,so the command send to master with a null taskInstanceId.
https://github.com/apache/dolphinscheduler/issues/4172
https://github.com/apache/dolphinscheduler/pull/4182
b3120a74d2656f7ad2054ba8245262551063b549
a13e737eb472b21b6b4c596ede9afc80fa3beb06
"2020-12-07T08:19:05Z"
java
"2020-12-11T07:41:35Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,138
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumer.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/consumer/TaskPriorityQueueConsumerTest.java"]
[Feature][Master] dispatch workgroup error add sleep time
If the task group cannot be found when running a task, a large number of logs will be output ![image](https://user-images.githubusercontent.com/39816903/100732974-7ad38f80-3408-11eb-88b7-89d32a242acc.png) It is suggested to add sleep operation When there are tasks with assignment failure and the number of tasks in the current task queue is less than 10, sleep for 1 second ------------------- 如果运行任务的时候,任务的分组找不到,会输出大量的日志. ![image](https://user-images.githubusercontent.com/39816903/100732974-7ad38f80-3408-11eb-88b7-89d32a242acc.png) 建议增加休眠操作: 当存在分配失败的任务 , 并且当前任务队列[taskPriorityQueue]中的任务数量小于10, 休眠1秒.
https://github.com/apache/dolphinscheduler/issues/4138
https://github.com/apache/dolphinscheduler/pull/4139
0039b1bfcbf822cb851898a1ceb4844fd6943731
b3120a74d2656f7ad2054ba8245262551063b549
"2020-12-01T11:08:26Z"
java
"2020-12-11T07:35:40Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,114
["dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/FileUtils.java", "dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/FileUtilsTest.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterExecThread.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/processor/TaskExecuteProcessor.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/runner/TaskExecuteThread.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/master/MasterExecThreadTest.java"]
[Question] data.basedir.path cleanup problem.
1, I have modified the data. The basedir. Path from/tmp/dolphinscheduler to /mydata/dolphinscheduler/tmp/. 2. Developer mode is false. 3, /mydata/dolphinscheduler/tmp folder read and write access to normal, ds is perfectly normal. 4, after running for a period of time only, find/data/dolphinscheduler files in the/tmp directory cannot be automatically deleted, lead to disk pile up. Q: Can temporary files in this directory only be removed manually?Cannot automatically delete?? 1、我修改了data.basedir.path从/tmp/dolphinscheduler/ 到数据盘/data/dolphinscheduler/tmp. 2、开发者模式为false. 3、/data/dolphinscheduler/tmp文件夹读写权限正常,ds工作完全正常. 4、在运行了一段时间只有,发现/data/dolphinscheduler/tmp目录中的文件不能自动删除,导致磁盘被占满. 问题:这个目录中的临时文件只能手动删除么?不能自动删除???
https://github.com/apache/dolphinscheduler/issues/4114
https://github.com/apache/dolphinscheduler/pull/5123
a8b47e1d4f4ebb9795239ef69b57f2928a81f44c
492b318bd321d35247488e1f181e3ea9d1259963
"2020-11-27T02:11:34Z"
java
"2021-03-26T02:11:56Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,104
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sqoop/generator/sources/MysqlSourceGenerator.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sqoop/generator/targets/MysqlTargetGenerator.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/sqoop/SqoopTaskTest.java"]
[Bug][Sqoop] when jdbc connect string contains special characters, import fail
**Describe the bug** when jdbc connect string contains special characters, import fail **To Reproduce** Steps to reproduce the behavior, for example: 1. sqoop import data source string contains special characters like "&" 2. run sqoop task 3. find command not found error **Expected behavior** sqoop import RDBMS success **Which version of Dolphin Scheduler:** -[ds-1.3.3]
https://github.com/apache/dolphinscheduler/issues/4104
https://github.com/apache/dolphinscheduler/pull/4105
656ec295b9e09468fc6a871df821ba42436c5e57
1cf40e1d1e4379e6b50a92871987d59291ccfd50
"2020-11-25T15:22:52Z"
java
"2020-11-27T01:46:23Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,093
["dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java", "dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/procedure/ProcedureTask.java", "dolphinscheduler-server/src/test/java/org/apache/dolphinscheduler/server/worker/task/procedure/ProcedureTaskTest.java", "dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/procedure.vue", "dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js", "dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js", "pom.xml"]
[Feature][server] Support for stored procedures and stored function calls and data source supports DB2
**Describe the feature** 1.Support for stored procedures and stored function calls 2. Task node page data source parameters can support the selection of a variety of data sources, rather than currently only limited to mysql, Oracle and other data sources 3. When the calling script is filled in on the page, there will be subtle differences between the calling scripts corresponding to various data sources **Is your feature request related to a problem? Please describe.** 1. Fixed Issues #3990 , data source supports DB2 **Describe the solution you'd like** 1.Support for stored procedures and stored function calls ``` {call <procedure-name>[(<arg1>,<arg2>, ...)]} {?= call <procedure-name>[(<arg1>,<arg2>, ...)]} ``` 2. Task node page selection can support multiple types of data sources, instead of only configuring several data sources like mysql and Oracle 3. Call the script to fill in the page and verify the matching of the number of parameters --- **描述特征** 1.支持存储过程和存储函数调用 2.任务节点页面数据源参数可以支持选择多种类型数据源,而不是现在只限制mysql,oracle等几个数据源 3.调用脚本在页面填写,各个数据源对应的调用脚本会存在细微区别 **您的特性请求与问题有关吗?请描述** 1.修复issues #3990 ,数据源支持DB2 **描述你想要的解决方案** 1.支持存储过程和存储函数调用 ``` {call <procedure-name>[(<arg1>,<arg2>, ...)]} {?= call <procedure-name>[(<arg1>,<arg2>, ...)]} ``` 2.任务节点页面选择可以支持多种类型数据源,而不是现在只配置mysql,oracle等几个数据源 3.调用脚本在页面填写,做参数个数匹配验证
https://github.com/apache/dolphinscheduler/issues/4093
https://github.com/apache/dolphinscheduler/pull/4094
2a59ed092ca1eea733a28f3ceb7f03776582ecb6
88a07f7b55d164b6a022d2f9df75ecbb258c280f
"2020-11-20T11:10:34Z"
java
"2021-04-29T10:29:44Z"
closed
apache/dolphinscheduler
https://github.com/apache/dolphinscheduler
4,054
["dolphinscheduler-ui/src/js/module/components/crontab/source/_times/day.vue"]
[Bug][Api] The last week of the month for adding/editing timing, preview and save timing will report an error
1.Add or Edit timing, select the last week of the month regularly 2. Click the preview or save button, an error will be reported ![image](https://user-images.githubusercontent.com/55787491/98796191-172bf700-2446-11eb-920f-e6ab421c420a.png) ![image](https://user-images.githubusercontent.com/55787491/98797454-8f46ec80-2447-11eb-8479-e07df5b620b7.png) ![image](https://user-images.githubusercontent.com/55787491/98796434-55291b00-2446-11eb-9aee-1a1b89954970.png) ![image](https://user-images.githubusercontent.com/55787491/98796656-96b9c600-2446-11eb-92d2-acabf2c647ec.png) **Expect Result** 0 15 10? * 6L 2020-2025 Fire at 10:15 am on the last Friday of each month from 2020 to 2025 -------------------------------------------------------------------------------------------------------- 0 15 10 ? * 6L 2020-2025 2020年至2025年的每月的最后一个星期五上午10:15触发 **Which version of Dolphin Scheduler:** -[1.3.2]
https://github.com/apache/dolphinscheduler/issues/4054
https://github.com/apache/dolphinscheduler/pull/4081
3c89c9ad74e55e3aca1a36a4341202e31ceecbf7
f152cae7f6beee585bc43a2b0bee2686c21d03c4
"2020-11-11T09:56:20Z"
java
"2020-11-19T02:59:25Z"