dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

In version 1.2.1,The task is killed, but the workflow status shows success

Open dataHunterAssassi opened this issue 6 years ago • 3 comments

*For better global communication, please give priority to using English description, thx! * Please review https://dolphinscheduler.apache.org/en-us/docs/development/issue.html when describe an issue.

Describe the bug I have 30 tasks in a workflow, two of them are killed after the scheduling is completed, but the workflow state is set for success, in this case, the entire workflow state should be the failure state.

Expected behavior when the task is killed,the workflow state is set to failure。

Screenshots If applicable, add screenshots to help explain your problem. bug1-1 bug1-2

Which version of Dolphin Scheduler: version:1.2.1

-----------------------------中文描述------------ 在1.2.1版本,我一个工作流里有30个任务,调度运行完毕后,其中有两个任务被杀了,但这个工作流的状态却置为了成功,这种情况整个工作流状态应该是失败状态才对的呀。

dataHunterAssassi avatar Sep 04 '20 03:09 dataHunterAssassi

The workflow should be the kill state, can you describe the operation steps in detail. You can look at the status of the master and worker logs

xingchun-chen avatar Sep 07 '20 06:09 xingchun-chen

you should check the code of MasterExecThread#getProcessInstanceState I encounter the bug in 1.2.1 when I kill the process instance,there are some retry tasks image

itbasketplayer avatar Sep 18 '20 09:09 itbasketplayer

This issue will be closed because no update for a long time. You can reopen it if need.

caishunfeng avatar Jan 04 '22 12:01 caishunfeng