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

Use switch case for ProtoUtils#convertFromProtoFormat containerState

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None

    Description

      On large cluster with 100K+ containers on every heartbeat

      ContainerState.valueOf(e.name().replace(CONTAINER_STATE_PREFIX, "")) will be too costly. Update with switch case.

      Attachments

        1. YARN-9624.003.patch
          6 kB
          Bilwa S T
        2. YARN-9624.002.patch
          6 kB
          Bilwa S T
        3. YARN-9624.001.patch
          4 kB
          Bilwa S T

        Issue Links

          Activity

            People

              BilwaST Bilwa S T
              bibinchundatt Bibin Chundatt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: