-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29458/
-----------------------------------------------------------
Review request for Ambari and Dmytro Sen.
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