You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/01/26 03:06:36 UTC

[jira] [Commented] (TAJO-1312) Stage causes Invalid event error: SQ_SHUFFLE_REPORT at KILLED

    [ https://issues.apache.org/jira/browse/TAJO-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291383#comment-14291383 ] 

ASF GitHub Bot commented on TAJO-1312:
--------------------------------------

GitHub user jinossy opened a pull request:

    https://github.com/apache/tajo/pull/359

    TAJO-1312: Stage causes Invalid event error: SQ_SHUFFLE_REPORT at KILLED...

    ....

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jinossy/tajo TAJO-1312

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/359.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 #359
    
----
commit ceea28ceb797c6707f8b911d521da070fc820316
Author: jhkim <jh...@apache.org>
Date:   2015-01-26T02:05:17Z

    TAJO-1312: Stage causes Invalid event error: SQ_SHUFFLE_REPORT at KILLED.

----


> Stage causes Invalid event error: SQ_SHUFFLE_REPORT at KILLED
> -------------------------------------------------------------
>
>                 Key: TAJO-1312
>                 URL: https://issues.apache.org/jira/browse/TAJO-1312
>             Project: Tajo
>          Issue Type: Bug
>          Components: query master
>    Affects Versions: 0.10
>            Reporter: Jinho Kim
>            Priority: Minor
>
> We should add ignoring an event for KILLED -> KILLED  to send from remote SQ_SHUFFLE_REPORT event.
> {noformat}
> 2015-01-23 16:32:51,723 INFO: org.apache.tajo.querymaster.Query (handle(730)) - q_1421998352154_0010 Query Transitioned from QUERY_KILL_WAIT to QUERY_KILLED
> 2015-01-23 16:32:51,723 INFO: org.apache.tajo.querymaster.QueryMasterTask (handle(276)) - Query completion notified from q_1421998352154_0010
> 2015-01-23 16:32:51,723 INFO: org.apache.tajo.worker.TaskRunnerManager (handle(165)) - ======================== Processing eb_1421998352154_0010_000001 of type STOP
> 2015-01-23 16:32:51,723 INFO: org.apache.tajo.master.rm.TajoWorkerResourceManager (releaseWorkerResource(513)) - Release Resource: 0.5,512
> 2015-01-23 16:32:51,723 INFO: org.apache.tajo.storage.HashShuffleAppenderManager (close(159)) - Close HashShuffleAppender:eb_1421998352154_0010_000001, not a hash shuffle
> 2015-01-23 16:32:51,723 INFO: org.apache.tajo.querymaster.QueryMasterTask (handle(287)) - Query final state: QUERY_KILLED
> 2015-01-23 16:32:51,724 INFO: org.apache.tajo.storage.HashShuffleAppenderManager (close(159)) - Close HashShuffleAppender:eb_1421998352154_0010_000001, not a hash shuffle
> 2015-01-23 16:32:51,724 INFO: org.apache.tajo.worker.TaskRunnerManager (handle(203)) - Stopped execution block:eb_1421998352154_0010_000001
> 2015-01-23 16:32:51,725 ERROR: org.apache.tajo.querymaster.Stage (handle(732)) - Can't handle this event at current state, eventType:, oldState:KILLED, nextState:KILL
> ED
> org.apache.hadoop.yarn.state.InvalidStateTransitonException: Invalid event: SQ_SHUFFLE_REPORT at 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.Stage.handle(Stage.java:729)
>         at org.apache.tajo.querymaster.QueryMasterTask$StageEventDispatcher.handle(QueryMasterTask.java:226)
>         at org.apache.tajo.querymaster.QueryMasterTask$StageEventDispatcher.handle(QueryMasterTask.java:220)
>         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:695)
> 2015-01-23 16:32:51,727 INFO: org.apache.tajo.querymaster.QueryMaster (cleanupExecutionBlock(180)) - cleanup executionBlocks:
> 2015-01-23 16:32:51,728 INFO: org.apache.tajo.querymaster.Query (handle(712)) - Processing q_1421998352154_0010 of type STAGE_COMPLETED
> 2015-01-23 16:32:51,729 ERROR: org.apache.tajo.querymaster.Query (handle(720)) - Can't handle this event at current state, type:EventType: STAGE_COMPLETED, oldState:QUERY_KILLED, next
> State:QUERY_KILLED
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)