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

RMAppAttempt state machine entries for KILLED state has duplicate event entries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • resourcemanager
    • None
    • Reviewed

    Description

      remove duplicate entries in the EnumSet of event type in RMAppAttempt state machine. The event RMAppAttemptEventType.EXPIRE is duplicated in the following code.

                EnumSet.of(RMAppAttemptEventType.ATTEMPT_ADDED,
                    RMAppAttemptEventType.EXPIRE,
                    RMAppAttemptEventType.LAUNCHED,
                    RMAppAttemptEventType.LAUNCH_FAILED,
                    RMAppAttemptEventType.EXPIRE,
                    RMAppAttemptEventType.REGISTERED,
                    RMAppAttemptEventType.CONTAINER_ALLOCATED,
                    RMAppAttemptEventType.UNREGISTERED,
                    RMAppAttemptEventType.KILL,
                    RMAppAttemptEventType.STATUS_UPDATE))
      

      Attachments

        1. YARN-2361.000.patch
          1 kB
          Zhihai Xu

        Activity

          People

            zxu Zhihai Xu
            zxu Zhihai Xu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: