You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2018/01/20 00:00:01 UTC

[jira] [Created] (YARN-7782) Enable user re-mapping for Docker containers in yarn-default.xml

Eric Yang created YARN-7782:
-------------------------------

             Summary: Enable user re-mapping for Docker containers in yarn-default.xml
                 Key: YARN-7782
                 URL: https://issues.apache.org/jira/browse/YARN-7782
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: security, yarn
    Affects Versions: 2.9.0, 3.0.0
            Reporter: Eric Yang
            Assignee: Eric Yang
             Fix For: 3.0.0, 3.1.0, 2.10.0, 2.9.1


In YARN-4266, the recommendation was to use -u [uid]:[gid] numeric values to enforce user and group for the running user.  In YARN-6623, this translated to --user=test --group-add=group1.  The code no longer enforce group correctly for launched process.  

In addition, the implementation in YARN-6623 requires the user and group information to exist in container to translate username and group to uid/gid.  For users on LDAP, there is no good way to populate container with user and group information. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org