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

Miklos Szegedi updated YARN-7099:
---------------------------------
    Description: 
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}


  was:
canWrite is failing
{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}



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