Wenjun Ruan
61915a2d5d
Fix workflow instance restart failed due to duplicate key in varpool ( #16001 )
2024-05-16 11:32:27 +08:00
刘阳阳(liuyangyang)
ba5de75829
Add tenantCode propagation to DynamicCommandUtils.createCommand ( #15956 )
2024-05-09 13:06:22 +08:00
privking
bbca37d03e
[FIX] Completed tasks cannot be re-executed in a workflow instance ( #15884 )
...
* fix bug: Failed to resume stopped workflow instance
* Revert "fix bug: Failed to resume stopped workflow instance"
This reverts commit 1546e9d5a51178a94bedd18a718b15431355428b.
* fix bug : Completed tasks cannot be re-executed in a workflow instance
---------
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
2024-05-09 11:36:56 +08:00
Wenjun Ruan
99d8276be7
Optimizing the scope of RPC base classes ( #15946 )
...
* Optimizing the scope of RPC base classes
* Fix UT
2024-05-08 11:46:09 +08:00
JohnHuang
d218b021e7
[DSIP-25][Remote Logging] Split remote logging configuration ( #15826 )
...
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
2024-05-06 11:33:16 +08:00
Wenjun Ruan
647cbae400
[DSIP-32][Master] Add command fetcher strategy for master fetch command ( #15900 )
2024-04-29 16:14:23 +08:00
DaqianLiao
b29965bdce
[Fix] In updateWorkerNodes method, the workerNodeInfoWriteLock should be used. #15898 ( #15903 )
...
Co-authored-by: answerliao <answerliao@tencent.com>
2024-04-26 11:24:05 +08:00
Wenjun Ruan
b3b8c0784d
Fix kill dynamic task doesn't kill the wait to run workflow instances ( #15896 )
2024-04-25 11:05:51 +08:00
Wenjun Ruan
e2c8b080f9
[DSIP-31] Reduce the thread pool size of hikari ( #15890 )
2024-04-22 17:05:24 +08:00
Wenjun Ruan
285c5a8eb5
[DSIP-28] Donnot scan whole bean under classpath ( #15874 )
2024-04-19 18:12:40 +08:00
Wenjun Ruan
163f8f01f0
Fix jdbc registry cannot work ( #15861 )
2024-04-18 15:43:28 +08:00
Wenjun Ruan
883848f6ee
Remove unused caffeine cache ( #15830 )
2024-04-11 19:28:00 +08:00
Wenjun Ruan
66df5d4b90
Split cpuUsage to systemCpuUsage and jvmCpuUsage ( #15803 )
2024-04-09 14:04:24 +08:00
Evan Sun
c0435e5bd8
fix dependent task logic ( #15795 )
...
Co-authored-by: abzymeinsjtu <abzymeinsjtu@B-54Q8MD6R-0244.local>
2024-04-03 13:56:41 +08:00
Wenjun Ruan
dc4dad135c
Fix TaskGroupCoordinator might cause OOM when there is a lot of waiting TaskGroupQueue ( #15773 )
2024-03-30 09:43:42 +08:00
Wenjun Ruan
dcc9d64ef6
Fix Switch logic task doesn't check the branch exist ( #15755 )
2024-03-24 20:52:00 +08:00
Wenjun Ruan
2e169076dc
Fix delay execution task will never be dispatched ( #15751 )
...
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
2024-03-22 16:23:55 +08:00
caishunfeng
99a2461785
[Improvement] change js engine ( #15747 )
...
* change js engine
* add dependent jar
2024-03-22 11:31:47 +08:00
caishunfeng
4a255fd523
Fix switch js, add black key ( #15680 )
...
Co-authored-by: fuchanghai <changhaifu@apache.org>
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
2024-03-18 20:24:54 +08:00
calvin
eab71f1071
[Improvement-15707][Master] Work out the issue that the workflow with a task dependency couldn't work well. ( #15712 )
2024-03-14 17:57:13 +08:00
ZhongJinHacker
738da1cda3
[Fix][Master] Fix Potential danger in the event of a worker failover ( #15689 )
...
* clean unused import
* fix style check
* fix when path is null or empty, it will cause serverhost is null,
* fix UT test (#15684 )
* [Fix-15639] parameterPassing is null case NPE (#15678 )
Co-authored-by: caishunfeng <caishunfeng2021@gmail.com>
* fix when path is null or empty, it will cause serverhost is null,
2024-03-11 21:50:21 +08:00
Wenjun Ruan
04a6b0d281
Fix task mighe be dispatched even if it has been killed ( #15662 )
2024-03-04 17:30:43 +08:00
Wenjun Ruan
2b4c1e06b6
Fix recover pause workflowInstance may generate failover taskInstance ( #15611 )
2024-02-22 15:57:08 +08:00
Wenjun Ruan
8a35e8b2f8
Fix switch task will throw exception when there is not parameters ( #15594 )
2024-02-19 11:12:22 +08:00
Wenjun Ruan
3526b42df6
Add Server HealthIndicator ( #15274 )
2024-02-07 14:07:30 +08:00
Jay Chung
01eb8f834f
fix: start param for wf not work ( #15544 )
...
* fix: start param for wf not work
fix : #15280
* fix test
2024-02-05 16:17:30 +08:00
caishunfeng
ef9ed3db55
fix switch js ( #15487 )
...
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
2024-02-05 10:23:47 +08:00
Jay Chung
8efaa9fa1f
fix: data quality can not use ( #15551 )
...
* fix: data quality can not use
fix : #15468 , #15249 , #14858
---------
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
2024-02-05 09:54:06 +08:00
Wenjun Ruan
89742332a8
Fix TaskGroupQueue will never be wakeup due to wakeup failed at one time ( #15528 )
2024-02-01 17:13:58 +08:00
Wenjun Ruan
25810a81dc
Exit JVM when OOM ( #15538 )
2024-01-31 13:59:30 +08:00
sleo
431414729f
【Master】【Bug】Fix a bug, When the worker service offline, workerNodeInfo cache in master cannot delete the offline worker ( #15459 )
...
* remove work from workerNodeInfo when work server down
* modify log msg
Co-authored-by: xiangzihao <zihaoxiang@apache.org>
* add unit test
* add unit test
* modify the code style
* add license header
---------
Co-authored-by: xiangzihao <zihaoxiang@apache.org>
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
2024-01-25 18:10:36 +08:00
Wenjun Ruan
64e1e67581
Use DefaultUncaughtExceptionHandler to log the uncached exception ( #15496 )
...
Co-authored-by: fuchanghai <changhaifu@apache.org>
2024-01-18 14:59:17 +08:00
Wenjun Ruan
44c356db4d
TaskGroupPriority only compare When TaskGroup is same ( #15486 )
2024-01-18 10:59:54 +08:00
Wenjun Ruan
603dfa2e4b
Fix notify failover WorkflowInstance will cause NPE ( #15499 )
2024-01-17 10:24:41 +08:00
Wenjun Ruan
7b9c9e0eb2
Enable set ServerLoadProtection fot Master/Worker ( #15439 )
2024-01-14 22:17:58 +08:00
Gallardot
a405abec9e
[Bug][Master]serial_wait strategy workflow unable to wake up ( #15270 )
...
* fix: serial_wait strategy workflow unable to wake up
Signed-off-by: Gallardot <gallardot@apache.org>
* fix: serial_wait strategy workflow unable to wake up
Signed-off-by: Gallardot <gallardot@apache.org>
---------
Signed-off-by: Gallardot <gallardot@apache.org>
Co-authored-by: fuchanghai <changhaifu@apache.org>
2024-01-12 17:53:24 +08:00
Gallardot
575b89e2f9
[Bug][Registry] Optimizing waiting strategy ( #15223 )
...
* [Improvement][Registry] Optimizing waiting strategy
Signed-off-by: Gallardot <gallardot@apache.org>
2024-01-02 22:41:50 +09:00
Wenjun Ruan
d6dea4633c
Optimize server startup log ( #15362 )
2023-12-27 20:20:21 +08:00
Wenjun Ruan
5523a62825
Remove taskQueue and looper in worker ( #15292 )
2023-12-27 19:51:45 +08:00
Wenjun Ruan
5b6b0ceb31
Fix resource file usage(Delete Resource/ResourceUser which is deprecated) ( #15355 )
2023-12-23 22:47:59 +08:00
Gallardot
f8a44ff719
[Bug][Master] send ACK event timeout ( #15346 )
2023-12-21 18:54:44 +08:00
ll
0c470ffe66
[ Fix #15129 ] [Dependent] The date rules of the dependent node are ambiguous. ( #15289 )
...
* [Fix-15129][Dependent] Fix the ambiguity in date rules for dependent node.
* [fix #15129 ] Revert ddl
* restore findLastProcessInterval
* update: mvn spotless:apply
---------
Co-authored-by: 李乐 <lile@boimc.com>
Co-authored-by: xiangzihao <460888207@qq.com>
2023-12-08 16:18:33 +08:00
Wenjun Ruan
14272dafab
Fix failover Master might not release taskGroup ( #15287 )
2023-12-06 13:31:46 +08:00
Wenjun Ruan
2119e41800
[Improvement] Move delay calculation to Master ( #15278 )
2023-12-06 09:37:14 +08:00
Wenjun Ruan
43f5f24529
Add dolphinscheduler-extract-common module ( #15266 )
2023-12-05 21:06:39 +08:00
caishunfeng
b5eddc0ce8
fix switch condition ( #15228 )
...
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
2023-11-27 14:03:37 +08:00
Wenjun Ruan
1d23e4fe5d
Remove spring cache for dao ( #15184 )
2023-11-24 14:54:05 +08:00
Dyqer
cca1c4a172
fix can't stop bug ( #15191 )
...
Co-authored-by: Leoric Yue <leoric.yue@zoom.us>
2023-11-20 21:02:44 +08:00
Wenjun Ruan
d6175f3bbf
Exclude DataSourceAutoConfiguration in worker server ( #15169 )
2023-11-16 19:17:39 +08:00
旺阳
5afd94136c
[Fix][Data Quality] Change t_ds_dq_rule_input_entry field name fix PostgreSQL not support value issue ( #14992 )
...
* change data quality field name
* fix-dao
* fix-dao
* fix-dao
* fix-dao
* update
* test
* update
* update
2023-11-13 11:04:30 +08:00
fuchanghai
2622685784
[Bug] Fix endless loop ( #15092 )
...
* [fix-#13045] fix endless loop
---------
Co-authored-by: fuchanghai <‘2875334588@qq.com’>
2023-11-08 11:03:55 +08:00
Eric Gao
d675d32771
Fix confusing constant string for unit convertor ( #15126 )
2023-11-06 21:32:36 +08:00
Wei Xiaonan
c0ed68121d
[Feature-14832][Listener]Implementation of Listener Mechanism ( #14981 )
...
* first commit
* 1. sql: sync ddl
2. front-end: change to ternary expression
3. back-end: correct license header in ListenerEvent.java
* test case
* frontend: remove unnecessary console
* fix unit test
* remove log depends on user-provided value
* fix dolphinscheduler_postgresql.sql
* sync database schema
* fix unit test
* fix unit test
* fix some NIT.
* extract GLOBAL_ALERT_GROUP_ID into variable
* fix ddl bug
* add column task_type in t_ds_fav_task in upgrade/3.2.0_schema
* add unit test
2023-10-29 20:28:05 +08:00
Wenjun Ruan
a5284e4024
Remove mapper usage in tools ( #15073 )
2023-10-25 22:58:47 +08:00
Orange Summer
688f84452d
[Feature-14678][Master][UI]Dependent task parameter passing ( #14702 )
...
* feat: dependent task parameter passing
* style: code format
* refactor: remove inappropriate log
* refactor: Modify unreasonable code structure
* refactor: Modify unreasonable code structure
* refactor: Solve conflicts caused by merge
---------
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
Co-authored-by: BaoLiang <29528966+lenboo@users.noreply.github.com>
2023-10-25 16:24:30 +08:00
caishunfeng
c59b2d5b8c
remove sub workflow finish notify ( #15057 )
...
Co-authored-by: xiangzihao <460888207@qq.com>
2023-10-23 10:19:57 +08:00
Wenjun Ruan
33084d281f
Add dolphinscheduler-dao-plugin module ( #15019 )
2023-10-14 17:58:40 +08:00
dbac
d683553324
[Improvement][Master] Calculate the remainTime then we set the delay execution. ( #15012 )
...
* [#15007 ][fix][worker-server] fix bug task delay execution
* [#15007 ][fix][worker-server] fix bug task delay execution
mvn spotless:apply
* [#15007 ][fix][worker-server] fix bug task delay execution
worker fix task delay logic
---------
Co-authored-by: 旺阳 <wang@lqwang.net>
2023-10-11 02:32:07 -05:00
Wenjun Ruan
629fced9ef
Fix task log appender will not be closed immediate after throwing exception ( #14989 )
2023-10-07 20:19:02 -05:00
Aaron Wang
73e846d03e
[Improvement-14884][Master] Add overload state in master heartbeat to trigger slot change ( #14887 )
2023-09-14 10:36:42 +08:00
sgw
76bbcbeb30
[Improvement][Master] Split the task dependency mode of the dependent node into workflow dependent and task dependent ( #14824 )
...
* [Improvement][Master] Split the task dependency mode of the dependent node into workflow dependent and task dependent. (#11970 )
* [Improvement][Master] Split the task dependency mode of the dependent node into workflow dependent and task dependent. (#11970 )
- delete useless output
* [Improvement][Master] Split the task dependency mode of the dependent node into workflow dependent and task dependent. (#11970 )
- add log
- run spotless check
---------
Co-authored-by: 旺阳 <qingwli@cisco.com>
Co-authored-by: JinYong Li <42576980+JinyLeeChina@users.noreply.github.com>
2023-09-09 17:23:34 +08:00
eye-gu
7ae4fb3787
[Fix-14149][master] task finished so not dispatch ( #14161 )
2023-08-31 20:08:09 +08:00
eye-gu
33525a17c3
[Fix-14828][master] check task id not null to avoid NPE ( #14829 )
...
Co-authored-by: eye <eye.gu@aloudata.com>
Co-authored-by: Aaron Wang <wangweirao16@gmail.com>
Co-authored-by: caishunfeng <caishunfeng2021@gmail.com>
2023-08-31 18:34:31 +08:00
Wenjun Ruan
742f0c3e60
Add workflowInstanceHost and taskInstanceHost in ITaskInstanceExecutionEvent ( #14827 )
2023-08-29 13:32:17 +08:00
Wenjun Ruan
d223d654cc
Add rpc benchmark test ( #14797 )
2023-08-27 20:59:55 +08:00
sgw
9c2838ccc9
fix the status of logical task is not be correctly changed when task is finished. ( #14820 ) ( #14822 )
2023-08-27 13:20:37 +08:00
sgw
ac04288e2b
fix the full log path of logical task is not be set when task is dispatched ( #14819 ) ( #14821 )
2023-08-27 12:24:04 +08:00
Wenjun Ruan
55cc77226f
[RPC] Refactor the remote module. ( #14776 )
...
* Add dolphinscheduler-extract-base
* Add dolphinscheduler-extract-master
* Add dolphinscheduler-extract-worker
* Add dolphinscheduler-extract-alert
2023-08-23 09:43:17 +08:00
caishunfeng
59998f4c75
[Improvement] add dispatch fail times when compare ( #14761 )
...
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
2023-08-18 15:26:01 +08:00
JieguangZhou
8e64026e93
fix fault tolerant enviroment missing ( #14735 )
2023-08-11 14:35:31 +08:00
eye-gu
7c37a7f9fe
[Fix-14714][master] package task instance before put into cache ( #14718 )
...
Co-authored-by: eye <eye.gu@aloudata.com>
Co-authored-by: xiangzihao <460888207@qq.com>
2023-08-09 13:41:28 +08:00
Wenjun Ruan
db62ce0e47
Fix serial mode will cause NPE in Workflow bootstrap ( #14703 )
2023-08-04 23:43:57 +08:00
Tengting Xu
9963bfc612
[Workflow] Print WorkflowInstance detail/ TaskInstance detail when finished ( #14677 )
...
* [Workflow] Print WorkflowInstance detail/ TaskInstance detail when finished
* [Workflow] minor fix
* [Workflow] add ut
* [Workflow] add header
---------
Co-authored-by: tengting.xu <xtt@dipeak.com>
2023-08-01 20:50:00 +08:00
KingsleyY
4a80e3a021
[DS-14566][master] fix serial_wait command_param does not replace global_params ( #14606 )
...
This closes #14566
Co-authored-by: yangxin3 <yangxin3@newhope.cn>
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
Co-authored-by: xiangzihao <460888207@qq.com>
2023-07-25 13:36:35 +08:00
Aaron Wang
ca760aabd4
[Fix-14512][BOM] kubernetes-client version conflict ( #14561 )
2023-07-21 18:17:53 +08:00
Wenjun Ruan
cbd354d134
Add host/port in heartbeat ( #14591 )
2023-07-20 21:26:35 +08:00
Orange Summer
af2986eca1
[Feature-14545][Master][UI]Cross workflow parameter passing ( #14552 )
...
* feat: cross-workflow parameter passing
* refactor: remove useless parameters
* refactor: remove useless code
* refactor: code format
* docs: update docs
* docs: docs format
* more effective information
Co-authored-by: xiangzihao <zihaoxiang@apache.org>
* more effective information
Co-authored-by: xiangzihao <zihaoxiang@apache.org>
* fix: wrong writing of log code
* fix: perfect error log
---------
Co-authored-by: xiangzihao <zihaoxiang@apache.org>
Co-authored-by: xiangzihao <460888207@qq.com>
Co-authored-by: Rick Cheng <rickchengx@gmail.com>
Co-authored-by: Jay Chung <zhongjiajie955@gmail.com>
2023-07-19 18:00:44 +08:00
Wenjun Ruan
399d0d0ce9
Add log for NetUtils ( #14578 )
2023-07-18 21:17:17 +08:00
Wenjun Ruan
e6d94632b9
Add WorkflowExecuteContext ( #14544 )
2023-07-14 18:40:01 +08:00
旺阳
c812bf9d49
[Bug] [Mater] Not got latest task intance by task code ( #14529 )
...
* add task code->instance map
---------
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
2023-07-14 14:51:39 +08:00
Wenjun Ruan
0246327083
Polish config, expose rpc config in application.yml ( #14501 )
2023-07-11 09:29:31 +08:00
Wenjun Ruan
406aeaf659
Use jvm_args_env.sh to set JVM args ( #14487 )
2023-07-10 17:39:57 +08:00
Eric Gao
0d2ea3e27b
Fix worker failover service comment ( #14494 )
2023-07-10 15:54:06 +08:00
Aaron Wang
0b69236b04
[Feature-14251][Task] Support yarn queue definition in yarn task ( #14310 )
2023-07-07 14:24:47 +08:00
旺阳
d38d504332
[Fix] Fix running task instance throught api gots failed ( #14433 )
...
* update logic
* split method
2023-07-06 11:38:26 +08:00
Aaron Wang
64e5741063
[Bug-14378][Master] Trigger task execution in workflow instance page cause workflow instance keep running status ( #14389 )
2023-06-24 22:10:14 +08:00
kami
5cbe170e43
[Bug] [Master] Fix complementListDate will throw IndexOutOfBoundsException ( #14361 )
2023-06-19 23:23:05 +08:00
Rick Cheng
b49b91c45d
[Improvement-14331][common] Remove the duplicate ParameterUtils ( #14332 )
2023-06-14 15:00:54 +08:00
旺阳
1c0dfbb044
[Improvement][Etcd] Support SSL In Etcd And Enhance Etcd In Helm ( #13924 )
2023-06-14 13:29:50 +08:00
旺阳
465e7ae6ee
[Bug] [Master] Workflow keep running when task has no id ( #14315 )
...
* change completeTaskMap to completeTaskSet
* Update dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java
Co-authored-by: Wenjun Ruan <wenjun@apache.org>
* change method name
* fix ut
* fix spotless
---------
Co-authored-by: Wenjun Ruan <wenjun@apache.org>
2023-06-14 12:53:16 +08:00
Wenjun Ruan
a55612e4f7
Fix switch task use boolean type error ( #14326 )
2023-06-13 13:26:05 +08:00
Kerwin
75f4fa2881
Fix the complement function does not generate the next running instances in parallel mode ( #14335 )
2023-06-12 19:40:26 +08:00
Wenjun Ruan
aa2d9a7f05
Add baseDao ( #14316 )
2023-06-09 19:02:50 +08:00
JieguangZhou
e7cdc7c136
[Feature][Task Plugin] Add Dynamic task to generate dynamic worklfows with list parameters ( #14127 )
...
* add dynamic task plugin
* fix ui
* update code
* add DOC
* ADD UT
* fix doc
* fix sanity check
* add upgrade ddl
* fix sql
2023-06-07 16:01:06 +08:00
HQFGit
d587b5f03d
[Bug][Master][Fixes 14216]workflow state keep READY_STOP when sub_process state … ( #14221 )
...
* [Bug] [Master] workflow state keep READY_STOP when sub_process state STOP
Fixes #14216
* [Bug] [Master] workflow state keep READY_STOP when sub_process state STOP
Fixes mvn spotless:apply#14216
* Update testFile.txt.crc
* Update testFile.txt.crc
* Delete testFile.txt.crc
2023-06-06 11:04:32 +08:00
Wenjun Ruan
5e9f1de075
Remove state check for dependent/subProcess in StateWheelExecuteThread ( #14242 )
2023-05-31 16:39:12 +08:00
Wenjun Ruan
d810c487fd
Fix taskGroupQueue doesn't removed from inQueue where wakeup failed ( #14200 )
...
* Fix taskGroupQueue doesn't removed from inQueue where wakeup failed
* Fix avaliable taskGroup is 0 the TaskGroupQueue doesn't out queue
2023-05-25 14:42:32 +08:00
Wenjun Ruan
deca0a7ea1
Fix master memory leak due to MasterTaskExecuteRunnableDoesn't be removed ( #14162 )
...
* Fix master memory leak due to MasterTaskExecuteRunnableDoesn't be removed
* Update dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/execute/MasterTaskExecuteRunnable.java
Co-authored-by: caishunfeng <caishunfeng2021@gmail.com>
2023-05-24 13:49:32 +08:00
Wenjun Ruan
05df0269f6
Fix task exception might not exist in task instance log ( #14085 )
2023-05-21 09:55:35 +08:00
Kerwin
8315279620
[Feature-#14148][Task] Added status check interval and dependent failure policy parameters for dependent task nodes ( #14150 )
...
* Added a dependent task failure policy in the dependent task node
2023-05-19 14:49:50 +08:00