hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhongyue Luo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5394) Correct the wrong file name when mounting /etc/passwd to Docker Container
Date Wed, 27 Jul 2016 07:59:20 GMT

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

Zhongyue Luo commented on YARN-5394:

If we aren't going to mount /etc/passwd then I agree we should remove all attempts of mounting
it and fix the user issue in 5360

> 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

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

View raw message