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

Use switch case for ProtoUtils#convertFromProtoFormat containerState

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:

      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.001.patch
          4 kB
          Bilwa S T
        2. YARN-9624.002.patch
          6 kB
          Bilwa S T
        3. YARN-9624.003.patch
          6 kB
          Bilwa S T

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: