You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Zhankun Tang (JIRA)" <ji...@apache.org> on 2016/07/25 02:13:20 UTC

[jira] [Comment Edited] (YARN-5394) Correct the wrong file name when mounting /etc/passwd to Docker Container

    [ https://issues.apache.org/jira/browse/YARN-5394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391255#comment-15391255 ] 

Zhankun Tang edited comment on YARN-5394 at 7/25/16 2:13 AM:
-------------------------------------------------------------

[~sidharta-s], Yes. agree that there should be a way to disable it. But this JIRA is just for correting current typo issue. So I think we should merge this patch and fill the improvement of /etc/passwd mounting thing to a new JIRA.


was (Author: tangzhankun):
[~sidharta-s], Yes. agree that there should be a way to disable it. But this JIRA is just for correting current typo issue. So I think we should close this JIRA and fill the improvement of this /etc/passwd mounting thing to a new JIRA.

> Correct the wrong file name when mounting /etc/passwd to Docker Container
> -------------------------------------------------------------------------
>
>                 Key: YARN-5394
>                 URL: https://issues.apache.org/jira/browse/YARN-5394
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Zhankun Tang
>            Assignee: Zhankun Tang
>         Attachments: YARN-5394-branch-2.8.001.patch
>
>
> Current LCE (DockerLinuxContainerRuntime) is mounting /etc/passwd to the container. But it seems to use wrong file name "/etc/password" for container.
> {panel}
> .addMountLocation("/etc/passwd", "/etc/password:ro");
> {panel}
> This causes LCE failed to launch the Docker container if the Docker images don't create the same user name and UID in it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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