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

Removed Unused field from Resource: NUM_MANDATORY_RESOURCES

    XMLWordPrintableJSON

Details

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

    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

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

              Dates

                Created:
                Updated:
                Resolved: