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 29458: Ambari overrides user/groups settings configured by cluster admins
Date Mon, 29 Dec 2014 16:08:14 GMT

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

(Updated Dec. 29, 2014, 4:08 p.m.)


Review request for Ambari and Myroslav Papirkovskyy.


Bugs: AMBARI-8940
    https://issues.apache.org/jira/browse/AMBARI-8940


Repository: ambari


Description
-------

Seen at Altiscale who were trying to use YARN with docker on an Ambari
deployed cluster.

Docker requires users to be in the "docker" group to be able to launch docker
containers. As a result, the user "yarn", which Ambari creates and adds to the
"hadoop" group, was changed to belong to both the "docker" and "hadoop"
groups.

However, after making this change on all nodes, we noticed that the the yarn
user was being removed from the docker group.


Diffs
-----

  ambari-common/src/main/python/resource_management/core/providers/accounts.py c99b775 
  ambari-common/src/main/python/resource_management/core/providers/system.py 1c4313c 
  ambari-common/src/main/python/resource_management/core/resources/accounts.py b6200fa 

Diff: https://reviews.apache.org/r/29458/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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