[
https://issues.apache.org/jira/browse/TAJO-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306885#comment-14306885
]
ASF GitHub Bot commented on TAJO-1336:
--------------------------------------
GitHub user jinossy opened a pull request:
https://github.com/apache/tajo/pull/376
TAJO-1336: Fix task failure of stopped task
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jinossy/tajo TAJO-1336
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/376.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #376
----
commit 969e304452a104dfa556747da4de02a3167b3edb
Author: jhkim <[email protected]>
Date: 2015-02-05T09:07:38Z
TAJO-1336: Fix task failure of stopped task
----
> Fix task failure of stopped task
> --------------------------------
>
> Key: TAJO-1336
> URL: https://issues.apache.org/jira/browse/TAJO-1336
> Project: Tajo
> Issue Type: Bug
> Components: worker
> Affects Versions: 0.10
> Reporter: Jinho Kim
> Assignee: Jinho Kim
> Fix For: 0.10
>
>
> A task is killed, but {{Task.run()}} can try to change the task state to
> running.
> {noformat}
> 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)