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

RM logs InvalidStateTransitionException when app is submitted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.10.0, 3.3.0, 3.2.1, 3.1.4
    • None
    • None

    Description

      It is observed that RM logs InvalidStateTransitionException. Not sure what is the impact but its better to handle it.

      2019-09-08 12:40:46,327 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: appattempt_1567926390667_0001_000001 State change from ALLOCATED to LAUNCHED on event = LAUNCHED
      2019-09-08 12:40:46,327 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: update the launch time for applicationId: application_1567926390667_0001, attemptId: appattempt_1567926390667_0001_000001launchTime: 1567926646327
      2019-09-08 12:40:46,328 INFO org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore: Updating info for app: application_1567926390667_0001
      2019-09-08 12:40:46,332 ERROR org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: App: application_1567926390667_0001 can't handle this event at current state
      org.apache.hadoop.yarn.state.InvalidStateTransitionException: Invalid event: APP_UPDATE_SAVED at ACCEPTED
          at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:305)
          at org.apache.hadoop.yarn.state.StateMachineFactory.access$500(StateMachineFactory.java:46)
          at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:487)
          at org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl.handle(RMAppImpl.java:881)
          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:1030)
          at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:1014)
          at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:219)
          at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:133)
          at java.lang.Thread.run(Thread.java:748)
      

      Attachments

        1. YARN-9820-001.patch
          3 kB
          Prabhu Joseph
        2. YARN-9820-002.patch
          3 kB
          Prabhu Joseph
        3. YARN-9820-003.patch
          6 kB
          Prabhu Joseph

        Issue Links

          Activity

            People

              prabhujoseph Prabhu Joseph
              rohithsharma Rohith Sharma K S
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: