Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7099

ResourceHandlerModule.parseConfiguredCGroupPath only works for privileged yarn users.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: nodemanager
    • Labels:
      None

      Description

      canWrite is failing below:

              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());
              }
      

        Attachments

          Activity

            People

            • Assignee:
              miklos.szegedi@cloudera.com Miklos Szegedi
              Reporter:
              miklos.szegedi@cloudera.com Miklos Szegedi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: