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

Create an object for cgroups mount enable and cgroups mount path as they belong together

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 3.2.1, 3.1.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      YarnConfiguration.NM_LINUX_CONTAINER_CGROUPS_MOUNT and 

      YarnConfiguration.NM_LINUX_CONTAINER_CGROUPS_MOUNT_PATH are used in conjunction many places in the code, so for the sake of readabilty and simplicity, it is better to wrap the values of these configs to an object and use it instead of having 2 fields in 

      CGroupsHandlerImpl and in CgroupsLCEResourcesHandler as well.

        Attachments

        1. YARN-9092.003.patch
          10 kB
          Szilard Nemeth
        2. YARN-9092.002.patch
          10 kB
          Szilard Nemeth
        3. YARN-9092.001.patch
          10 kB
          Szilard Nemeth

          Activity

            People

            • Assignee:
              shuzirra Gergely Pollak
              Reporter:
              snemeth Szilard Nemeth
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: