[
https://issues.apache.org/jira/browse/TAJO-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyunsik Choi updated TAJO-638:
------------------------------
Attachment: TAJO-638_2.patch
I've attached the updated patch. In QueryUnitAttempt, the state machine already
deals with TA_UPDATE event at TA_ASSIGNED. So, this error must not be incurred
at that situation. I don't know the exact problem. I'll continue to observe
this problem.
Regardless of the above issue, this report includes additional issue for error
handling. If QueryUnitAttempt faces such a situation, Query will be hang. In
order to eliminate the problem, in this patch, I've added some error handling
code to QueryUnitAttempt::handle. When a exception occurs in the situation, it
will abort the query without hanging.
> QueryUnitAttempt causes Invalid event error: TA_UPDATE at TA_ASSIGNED
> ---------------------------------------------------------------------
>
> Key: TAJO-638
> URL: https://issues.apache.org/jira/browse/TAJO-638
> Project: Tajo
> Issue Type: Bug
> Affects Versions: 0.8-incubating, 1.0-incubating
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Priority: Minor
> Attachments: TAJO-638.patch, TAJO-638_2.patch
>
>
> In TAJO-630, Hyoungjun reported the following error message. According to
> QueryUnitAttempt class, TA_UPDATE event at TA_ASSIGNED should not incur
> error. We need to investigate it.
> {noformat}
> 2014-02-23 22:25:55,617 ERROR querymaster.QueryUnitAttempt
> (QueryUnitAttempt.java:handle(425)) - Can't handle this event at current
> state of ta_1393161894205_0001_000004_000101_00)
> org.apache.hadoop.yarn.state.InvalidStateTransitonException: Invalid event:
> TA_UPDATE at TA_ASSIGNED
> at
> org.apache.hadoop.yarn.state.StateMachineFactory$MultipleInternalArc.doTransition(StateMachineFactory.java:388)
> at
> org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:302)
> 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.master.querymaster.QueryUnitAttempt.handle(QueryUnitAttempt.java:423)
> at
> org.apache.tajo.master.querymaster.QueryMasterTask$TaskAttemptEventDispatcher.handle(QueryMasterTask.java:241)
> at
> org.apache.tajo.master.querymaster.QueryMasterTask$TaskAttemptEventDispatcher.handle(QueryMasterTask.java:233)
> at
> org.apache.tajo.master.TajoAsyncDispatcher.dispatch(TajoAsyncDispatcher.java:137)
> at
> org.apache.tajo.master.TajoAsyncDispatcher$1.run(TajoAsyncDispatcher.java:79)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)