ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 32976: Ambari does not setup YARN NMs correctly with LinuxContainerExecutor in insecure mode
Date Wed, 08 Apr 2015 15:45:55 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32976/#review79360
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On April 8, 2015, 3:44 p.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32976/
> -----------------------------------------------------------
> 
> (Updated April 8, 2015, 3:44 p.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-10402
>     https://issues.apache.org/jira/browse/AMBARI-10402
> 
> 
> Repository: ambari
> 
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params.py
520c0ed 
>   ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
c85e7ee 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_historyserver.py 0b2d880 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_mapreduce2_client.py 193bfa2 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py 0956565 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py 184a210 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_yarn_client.py 498f502 
>   ambari-server/src/test/python/stacks/2.1/YARN/test_apptimelineserver.py 1baf36a 
> 
> Diff: https://reviews.apache.org/r/32976/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message