You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Szilard Nemeth (JIRA)" <ji...@apache.org> on 2018/12/08 00:12:00 UTC

[jira] [Created] (YARN-9092) Create an object for cgroups mount enable and cgroups mount path as they belong together

Szilard Nemeth created YARN-9092:
------------------------------------

             Summary: Create an object for cgroups mount enable and cgroups mount path as they belong together
                 Key: YARN-9092
                 URL: https://issues.apache.org/jira/browse/YARN-9092
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Szilard Nemeth
            Assignee: Szilard Nemeth


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org