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

Removed Unused field from Resource: NUM_MANDATORY_RESOURCES

    XMLWordPrintableJSON

    Details

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

      Description

      I suppose this constant remained in the code from historical reasons, but this is not used anymore so it could be removed.

      This field is especially confusing for new readers, as ResourceInformation now has a field named MANDATORY_RESOURCES and this map contains not only memory and vcores but GPU and FPGA as well.

        Attachments

        1. 445.patch
          1 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                vbmudalige Vidura Bhathiya Mudalige
                Reporter:
                snemeth Szilard Nemeth
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: