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

Ambari does not setup YARN NMs correctly with LinuxContainerExecutor in insecure mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • ambari-server
    • None

    Description

      I tried setting up an insecure cluster with the following config changes (changes made via Ambari) :

          <property>
            <name>yarn.nodemanager.container-executor.class</name>
            <value>org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor</value>
          </property>
          <property>
            <name>yarn.nodemanager.linux-container-executor.resources-handler.class</name>
      <value>org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler</value>
          </property>
          <property>
            <name>yarn.nodemanager.linux-container-executor.cgroups.mount</name>
            <value>true</value>
          </property>
          <property>
            <name>yarn.nodemanager.linux-container-executor.cgroups.mount-path</name>
            <value>/cgroups_test</value>
          </property>
      

      The NMs don't come up with these changes.

      Attachments

        1. AMBARI-10402.patch
          15 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: