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
      

        Issue Links

          Activity

          Hide
          vbrodetskyi Vitaly Brodetskyi added a comment -

          LGTM +1

          Show
          vbrodetskyi Vitaly Brodetskyi added a comment - LGTM +1
          Hide
          dmitriusan Dmitry Lysnichenko added a comment -

          +1

          Show
          dmitriusan Dmitry Lysnichenko added a comment - +1
          Hide
          dsen Dmytro Sen added a comment -

          Committed to trunk and branch-2.1

          Show
          dsen Dmytro Sen added a comment - Committed to trunk and branch-2.1
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3294 (See https://builds.apache.org/job/Ambari-trunk-Commit/3294/)
          AMBARI-12817 YARN ownership is not set correctly on container-executor (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=73a1db1ac6f71d2ed50be7130de52c85bfde03c2)

          • ambari-server/src/main/resources/key_properties.json
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
          • ambari-web/app/controllers/wizard/step7_controller.js
          • ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py
          • ambari-server/src/main/java/org/apache/ambari/server/api/resources/StackLevelConfigurationResourceDefinition.java
          • ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py
          • ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml
          • ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java
          • ambari-web/app/mixins/common/serverValidator.js
          • ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/yarn-site.xml
          • ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3294 (See https://builds.apache.org/job/Ambari-trunk-Commit/3294/ ) AMBARI-12817 YARN ownership is not set correctly on container-executor (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=73a1db1ac6f71d2ed50be7130de52c85bfde03c2 ) ambari-server/src/main/resources/key_properties.json ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py ambari-web/app/controllers/wizard/step7_controller.js ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py ambari-server/src/main/java/org/apache/ambari/server/api/resources/StackLevelConfigurationResourceDefinition.java ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java ambari-web/app/mixins/common/serverValidator.js ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/yarn-site.xml ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #393 (See https://builds.apache.org/job/Ambari-branch-2.1/393/)
          AMBARI-12817 YARN ownership is not set correctly on container-executor (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=67a05f3c45b8067c42efd38a664eb6fae05736c0)

          • ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml
          • ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java
          • ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java
          • ambari-web/app/controllers/wizard/step7_controller.js
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
          • ambari-server/src/main/java/org/apache/ambari/server/api/resources/StackLevelConfigurationResourceDefinition.java
          • ambari-server/src/main/resources/key_properties.json
          • ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/yarn-site.xml
          • ambari-web/app/mixins/common/serverValidator.js
          • ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py
          • ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #393 (See https://builds.apache.org/job/Ambari-branch-2.1/393/ ) AMBARI-12817 YARN ownership is not set correctly on container-executor (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=67a05f3c45b8067c42efd38a664eb6fae05736c0 ) ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java ambari-web/app/controllers/wizard/step7_controller.js ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py ambari-server/src/main/java/org/apache/ambari/server/api/resources/StackLevelConfigurationResourceDefinition.java ambari-server/src/main/resources/key_properties.json ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/yarn-site.xml ambari-web/app/mixins/common/serverValidator.js ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py

            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:

                Development