Benjamin Teke created YARN-11743:
------------------------------------

             Summary: Cgroup v2 support should fall back to v1 when there are 
no v2 controllers
                 Key: YARN-11743
                 URL: https://issues.apache.org/jira/browse/YARN-11743
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: yarn
            Reporter: Benjamin Teke


Cgroup v1/v2 mixed mode support was introduced in YARN-11692, however it does 
not support an edgecase where NM has the cgroup v2 support enabled (using 
{{yarn.nodemanager.linux-container-executor.cgroups.v2.enabled}} set to true), 
but there are only cgroup v1 controllers mounted. In larger clusters there is a 
chance that some part of the cluster is already on newer OSes with cgroup v2 as 
a default, and others are still using v1. 

Currently trying to launch an NM with cgroup v2 support enabled will fail if 
there are no cgroup.controllers file present.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to