Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1312

Stage causes Invalid event error: SQ_SHUFFLE_REPORT at KILLED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • QueryMaster
    • None

    Description

      We should add ignoring an event for KILLED -> KILLED to send from remote SQ_SHUFFLE_REPORT event.

      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
      

      Attachments

        1. TAJO-1312_2.patch
          12 kB
          Jinho Kim
        2. TAJO-1312.patch
          12 kB
          Jinho Kim

        Issue Links

          Activity

            People

              jhkim Jinho Kim
              jhkim Jinho Kim
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: