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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org