Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12817

YARN ownership is not set correctly on container-executor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Labels:
      None

      Description

      Permissions on the container-executor need to be set so the group used for the hadoop components but if YARN is installed after-the-fact (i.e. install cluster, then add service YARN) and you are using a non-default group (like "hadooptest") they are not being set.

      > ls -la /usr/hdp/current/hadoop-yarn-nodemanager/bin/container-executor
      ---Sr-s--- 1 root hadoop 115062 Jul 14 09:07 /usr/hdp/current/hadoop-yarn-nodemanager/bin/container-executor
      

      Should be:

      # ls -la /usr/hdp/current/hadoop-yarn-nodemanager/bin/container-executor
      ---Sr-s--- 1 root hadooptest 115062 Jul 14 09:07 /usr/hdp/current/hadoop-yarn-nodemanager/bin/container-executor
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsen Dmytro Sen
                Reporter:
                dsen Dmytro Sen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: