Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2689

InvalidStateTransisiton when AM is not assigned to a job

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None

      Description

      In cases where an AM is not being assigned to a job, RELEASED at COMPLETED invalid event is observed. This is easily reproducible in cases such as MAPREDUCE-2687.

        Activity

        Hide
        Ramya Sunil added a comment -

        Below is the complete stacktrace:

        ERROR org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.ApplicationImpl: Can't handle this event at current state
        org.apache.hadoop.yarn.state.InvalidStateTransitonException: Invalid event: RELEASED at COMPLETED
                at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:297)
                at org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:39)
                at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:439)
                at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.ApplicationImpl.handle(ApplicationImpl.java:587)
                at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:202)
                at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:187)
                at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:111)
                at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:74)
                at java.lang.Thread.run(Thread.java:619)
        
        Show
        Ramya Sunil added a comment - Below is the complete stacktrace: ERROR org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.ApplicationImpl: Can't handle this event at current state org.apache.hadoop.yarn.state.InvalidStateTransitonException: Invalid event: RELEASED at COMPLETED at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:297) at org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:39) at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:439) at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.ApplicationImpl.handle(ApplicationImpl.java:587) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:202) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:187) at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:111) at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:74) at java.lang.Thread.run(Thread.java:619)
        Hide
        Arun C Murthy added a comment -

        Fixed as part of recent RM re-factor

        Show
        Arun C Murthy added a comment - Fixed as part of recent RM re-factor

          People

          • Assignee:
            Unassigned
            Reporter:
            Ramya Sunil
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development