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

YARN ownership is not set correctly on container-executor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.1
    • 2.1.2
    • 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

        1. AMBARI-12817.patch
          19 kB
          Dmytro Sen

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: