Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7663

RMAppImpl:Invalid event: START at KILLED

    Details

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Send kill to application, the RM log shows:

      org.apache.hadoop.yarn.state.InvalidStateTransitionException: Invalid event: START 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.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl.handle(RMAppImpl.java:805)
              at org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl.handle(RMAppImpl.java:116)
              at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:901)
              at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:885)
              at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:184)
              at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:110)
              at java.lang.Thread.run(Thread.java:745)
      
      

      if insert sleep before where the START event was created, this bug will deterministically reproduce.

        Attachments

        1. YARN-7663_7.patch
          4 kB
          lujie
        2. YARN-7663_6.patch
          4 kB
          lujie
        3. YARN-7663_5.patch
          4 kB
          lujie
        4. YARN-7663_4.patch
          6 kB
          lujie
        5. YARN-7663_3.patch
          6 kB
          lujie
        6. YARN-7663_2.patch
          3 kB
          lujie
        7. YARN-7663_1.patch
          1 kB
          lujie

          Activity

            People

            • Assignee:
              xiaoheipangzi lujie
              Reporter:
              xiaoheipangzi lujie
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: