liunaijie commented on issue #15683: URL: https://github.com/apache/dolphinscheduler/issues/15683#issuecomment-2709254289
I am using version 3.2.0. I found some abnormal logs in the logs. ``` [INFO] 2025-03-07 11:45:21.157 +0800 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[292] - [WorkflowInstance-182][TaskInstance-323] - Begin to handle state event, TaskStateEvent(processInstanceId=182, taskInstanceId=323, taskCode=0, status=null, type=TASK_STATE_CHANGE, key=183-0-182-323, channel=null, context=null) [WARN] 2025-03-07 11:45:22.157 +0800 org.apache.dolphinscheduler.server.master.event.TaskStateEventHandler:[96] - [WorkflowInstance-182][TaskInstance-323] - The task event is broken..., taskEvent: TaskStateEvent(processInstanceId=182, taskInstanceId=323, taskCode=0, status=null, type=TASK_STATE_CHANGE, key=183-0-182-323, channel=null, context=null) ``` https://github.com/apache/dolphinscheduler/blob/3.2.0-release/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java#L292 https://github.com/apache/dolphinscheduler/blob/3.2.0-release/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java#L94 the processInstanceId `292` is the `parent process instance id` (this process job that include sub_process task), the taskInstance `323` is the `sub_process` task instance id. This event is `TASK_STATE_CHANGE` event, and it required `status` can't be null. But in this event, the `status` is null. can't handle this event, and this event won't be removed from the queue `stateEvents`. So from the server log we can see a lots of log about this event. Could someone give me some guide about why this `status` is null? I think this maybe related to this `sub_process task can't finished` issue. -- 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]
