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 "Benjamin Teke (Jira)" <ji...@apache.org> on 2024/05/28 08:34:00 UTC

[jira] [Commented] (YARN-11673) Extend the cgroup mount functionality to mount the v2 structure

    [ https://issues.apache.org/jira/browse/YARN-11673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17849935#comment-17849935 ] 

Benjamin Teke commented on YARN-11673:
--------------------------------------

Might not be needed, since the mount option was disabled due to security reasons in v1: https://github.com/apache/hadoop/commit/351cf87c92872d90f62c476f85ae4d02e485769c

> Extend the cgroup mount functionality to mount the v2 structure
> ---------------------------------------------------------------
>
>                 Key: YARN-11673
>                 URL: https://issues.apache.org/jira/browse/YARN-11673
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Benjamin Teke
>            Priority: Major
>
> YARN has a --mount-cgroup operation in the [container-executor|https://github.com/apache/hadoop/blob/9c7b8cf54ea88833d54fc71a9612c448dc0eb78d/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c#L2929] which mounts each controller's cgroup folder to a specified path. In cgroup v2 the controller structure changed, it's flat now, so there are no more separate controller paths. To keep being compatible with v1 a new mount method should be added, but its functionality could be simplified quite a bit for v2.



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

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