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 2020/12/07 08:19:17 UTC

[GitHub] [incubator-dolphinscheduler] wangxj3 opened a new issue #4172: TaskKillProcessor throw NullPointException

wangxj3 opened a new issue #4172:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4172


   1.when worker runing more than 100 tasks , there are some tasks in queue.
   with that ,master send a kill commad to this worker,TaskKillProcessor receive ,and get processId in cache(TaskExecutionContext).
   But the taskInstance isn't running in this worker ,it is in queue.so the TaskKillProcessor  throw NullPointException.
   2.This exception will be catched in this method.The TaskKillProcessor will continue run to build command .In method "buildKillTaskResponseCommand" , get TaskInstanceId in cache(TaskExecutionContext),but this cache is null,so the command send to master with a null taskInstanceId.


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] lgcareer closed issue #4172: TaskKillProcessor throw NullPointException

Posted by GitBox <gi...@apache.org>.
lgcareer closed issue #4172:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4172


   


----------------------------------------------------------------
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.

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



[GitHub] [incubator-dolphinscheduler] CalvinKirs commented on issue #4172: TaskKillProcessor throw NullPointException

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #4172:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4172#issuecomment-740707384


   How to verify: Add a sleep before the cache code, and execute the kill operation during sleep.


----------------------------------------------------------------
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.

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