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

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

            • Assignee:
              zxu zhihai xu
              Reporter:
              zxu zhihai xu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: