[ 
https://issues.apache.org/jira/browse/YARN-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wangda Tan updated YARN-9010:
-----------------------------
    Priority: Major  (was: Minor)

> Fix the incorrect trailing slash deletion in constructor method of 
> CGroupsHandlerImpl
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-9010
>                 URL: https://issues.apache.org/jira/browse/YARN-9010
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Zhankun Tang
>            Assignee: Zhankun Tang
>            Priority: Major
>         Attachments: YARN-9010-trunk-001.patch
>
>
> In constructor method of CGroupsHandlerImpl:
> {code:java}
> this.cGroupPrefix = conf.get(YarnConfiguration.
>  NM_LINUX_CONTAINER_CGROUPS_HIERARCHY, "/hadoop-yarn")
>  .replaceAll("^/", "").replaceAll("$/", "");{code}
> The "$/" regex expression is not working. And "^/" for leading slash handling 
> is also not good enough.



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

---------------------------------------------------------------------
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