You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/08 14:11:37 UTC

[GitHub] [dolphinscheduler] seagle-yuan opened a new issue #7501: [Bug] [master] TASK_STATE_CHANGE executeStatus: RU NNING_EXECUTION task instance id: XXX process instance id: XXX context: null

seagle-yuan opened a new issue #7501:
URL: https://github.com/apache/dolphinscheduler/issues/7501


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   [INFO] 2021-12-20 15:28:44.034 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[286] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RU
   NNING_EXECUTION task instance id: 102 process instance id: 28 context: null
   [ERROR] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[249] - state handle error:
   java.lang.NullPointerException: null
   [ERROR] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[249] - state handle error:
   java.lang.NullPointerException: null
   [INFO] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[286] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RU
   NNING_EXECUTION task instance id: 104 process instance id: 29 context: null
   [INFO] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[286] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RU
   NNING_EXECUTION task instance id: 106 process instance id: 27 context: null
   [ERROR] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[249] - state handle error:
   java.lang.NullPointerException: null
   [INFO] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[286] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RU
   NNING_EXECUTION task instance id: 102 process instance id: 28 context: null
   [ERROR] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[249] - state handle error:
   java.lang.NullPointerException: null
   [ERROR] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[249] - state handle error:
   java.lang.NullPointerException: null
   [INFO] 2021-12-20 15:28:44.035 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[286] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: RU
   NNING_EXECUTION task instance id: 104 process instance id: 29 context: null
   
   ### What you expected to happen
   
   it's always write this error log
   
   ### How to reproduce
   
   1
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.0
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] lenboo closed issue #7501: [Bug] [master] TASK_STATE_CHANGE executeStatus: RU NNING_EXECUTION task instance id: XXX process instance id: XXX context: null

Posted by GitBox <gi...@apache.org>.
lenboo closed issue #7501:
URL: https://github.com/apache/dolphinscheduler/issues/7501


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] xialinlin101 commented on issue #7501: [Bug] [master] TASK_STATE_CHANGE executeStatus: RU NNING_EXECUTION task instance id: XXX process instance id: XXX context: null

Posted by GitBox <gi...@apache.org>.
xialinlin101 commented on issue #7501:
URL: https://github.com/apache/dolphinscheduler/issues/7501#issuecomment-1084357748


   I found that this error occurs after stopping the task and deleting the process instance,The corresponding task instance is also deleted.
   The error occurred in: org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread
   private boolean taskStateChangeHandler(StateEvent stateEvent) {
           TaskInstance task = processService.findTaskInstanceById(stateEvent.getTaskInstanceId());
           **if (task.getState().typeIsFinished())** {
               taskFinished(task);
           } else if (activeTaskProcessorMaps.containsKey(stateEvent.getTaskInstanceId())) {
               ITaskProcessor iTaskProcessor = activeTaskProcessorMaps.get(stateEvent.getTaskInstanceId());
               iTaskProcessor.action(TaskAction.RUN);
   
               if (iTaskProcessor.taskState().typeIsFinished()) {
                   task = processService.findTaskInstanceById(stateEvent.getTaskInstanceId());
                   taskFinished(task);
               }
           } else {
               logger.error("state handler error: {}", stateEvent.toString());
           }
           return true;
       }


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] lenboo commented on issue #7501: [Bug] [master] TASK_STATE_CHANGE executeStatus: RU NNING_EXECUTION task instance id: XXX process instance id: XXX context: null

Posted by GitBox <gi...@apache.org>.
lenboo commented on issue #7501:
URL: https://github.com/apache/dolphinscheduler/issues/7501#issuecomment-1004770478


   @seagle-yuan 
   I think we need more details for this problem : 
     - When did it happened?
     - What's the state of workflow/tasks?
     - What's the task types of the workflow?
   Please reopen it when you supply more details.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #7501: [Bug] [Module Name] Bug title

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #7501:
URL: https://github.com/apache/dolphinscheduler/issues/7501#issuecomment-997673664


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] kangweihao0321 commented on issue #7501: [Bug] [master] TASK_STATE_CHANGE executeStatus: RU NNING_EXECUTION task instance id: XXX process instance id: XXX context: null

Posted by GitBox <gi...@apache.org>.
kangweihao0321 commented on issue #7501:
URL: https://github.com/apache/dolphinscheduler/issues/7501#issuecomment-1066253223


   I found this problem also because I had a task executing when restarting the cluster. It doesn't happen that I restart the task I'm doing after I stop it.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org