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

Miklos Szegedi commented on YARN-7099:
--------------------------------------

I removed half a line, so it would be complicated to add a unit test. The 
findbugs is unrelated.

> ResourceHandlerModule.parseConfiguredCGroupPath only works for privileged 
> yarn users.
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-7099
>                 URL: https://issues.apache.org/jira/browse/YARN-7099
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Miklos Szegedi
>            Assignee: Miklos Szegedi
>            Priority: Minor
>         Attachments: YARN-7099.000.patch
>
>
> canWrite is failing below:
> {code}
>         if (candidate.isDirectory() && candidate.canWrite()) {
>           pathSubsystemMappings.put(candidate.getAbsolutePath(), cgroupList);
>         } else {
>           LOG.warn("The following cgroup is not a directory or it is not"
>               + " writable" + candidate.getAbsolutePath());
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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