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 "Zhankun Tang (JIRA)" <ji...@apache.org> on 2018/11/12 06:41:00 UTC

[jira] [Created] (YARN-9010) Fix the incorrect trailing slash deletion in constructor method of CGroupsHandlerImpl

Zhankun Tang created YARN-9010:
----------------------------------

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


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.



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