Description
A task is killed, but Task.run() can try to change the task state to running.
2015-02-05 06:01:49,971 INFO: org.apache.tajo.worker.Task (<init>(179)) - ================================== 2015-02-05 06:01:49,971 INFO: org.apache.tajo.worker.TaskAttemptContext (setState(145)) - Query status of ta_1423116109181_0001_000003_000000_00 is changed to TA_KILLED 2015-02-05 06:01:49,972 INFO: org.apache.tajo.worker.TaskAttemptContext (setState(145)) - Query status of ta_1423116109181_0001_000003_000000_00 is changed to TA_RUNNING ... 2015-02-05 06:01:50,028 INFO: org.apache.tajo.worker.TaskRunner (stop(151)) - Stop TaskRunner: eb_1423116109181_0001_000003,container_1423116109181_0001_01_000029 2015-02-05 06:01:50,028 ERROR: org.apache.tajo.querymaster.TaskAttempt (handle(417)) - Can't handle this event at current state of ta_1423116109181_0001_000003_000000_00), eventType:TA_FATAL_ERROR, oldState:TA_KILLED, nextState:TA_KILLED org.apache.hadoop.yarn.state.InvalidStateTransitonException: Invalid event: TA_FATAL_ERROR at TA_KILLED at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:305) at org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:46) at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:448) at org.apache.tajo.querymaster.TaskAttempt.handle(TaskAttempt.java:415) at org.apache.tajo.querymaster.QueryMasterTask$TaskAttemptEventDispatcher.handle(QueryMasterTask.java:250) at org.apache.tajo.querymaster.QueryMasterTask$TaskAttemptEventDispatcher.handle(QueryMasterTask.java:243) at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:173) at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:106) at java.lang.Thread.run(Thread.java:662) 2015-02-05 06:01:50,031 INFO: org.apache.tajo.worker.TaskRunnerManager (stopTaskRunner(116)) - Stop