maketubu7 commented on issue #14130:
URL: 
https://github.com/apache/dolphinscheduler/issues/14130#issuecomment-1551066237

   master.log
   
![image](https://github.com/apache/dolphinscheduler/assets/39480244/549fd9de-0d3a-409b-b12a-7580871fbdad)
   
   `[ERROR] 2023-05-17 17:29:51.318 +0800 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[292] 
- [WorkflowInstance-1062][TaskInstance-3980] - State event handle error, will 
remove this event: TaskStateEvent(processInstanceId=1062, taskInstanceId=3980, 
taskCode=0, status=TaskExecutionStatus{code=1, desc='running'}, 
type=TASK_STATE_CHANGE, key=null, channel=null, context=null)
   org.apache.dolphinscheduler.server.master.event.StateEventHandleError: The 
current task instance state is TaskExecutionStatus{code=7, desc='success'}, but 
the task state event status is TaskExecutionStatus{code=1, desc='running'}, so 
the task state event will be ignored
        at 
org.apache.dolphinscheduler.server.master.event.TaskStateEventHandler.handleStateEvent(TaskStateEventHandler.java:69)
        at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.handleEvents(WorkflowExecuteRunnable.java:288)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   [INFO] 2023-05-17 17:29:52.318 +0800 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[287] 
- [WorkflowInstance-1062][TaskInstance-3980] - Begin to handle state event, 
TaskStateEvent(processInstanceId=1062, taskInstanceId=3980, taskCode=0, 
status=TaskExecutionStatus{code=7, desc='success'}, type=TASK_STATE_CHANGE, 
key=null, channel=null, context=null)
   [INFO] 2023-05-17 17:29:52.319 +0800 
org.apache.dolphinscheduler.server.master.event.TaskStateEventHandler:[57] - 
[WorkflowInstance-1062][TaskInstance-3980] - Handle task instance state event, 
the current task instance state TaskExecutionStatus{code=7, desc='success'} 
will be changed to TaskExecutionStatus{code=7, desc='success'}
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to