hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7815) Mount the filecache as read-only in Docker containers
Date Wed, 31 Jan 2018 19:26:00 GMT

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

Eric Yang commented on YARN-7815:

I think that leaves us with this proposal which should accomplish that and remove one of the
mounts being made today:

1. nm-local-dir/filecache mounted read-only for access to localized public files
2. nm-local-dir/usercache/user/filecache mounted read-only for access to localized user-private
3. nm-local-dir/usercache/user/appcache/applicationId mounted read-write for access to the
application work area and underlying container working directory

Looks good.

> Mount the filecache as read-only in Docker containers
> -----------------------------------------------------
>                 Key: YARN-7815
>                 URL: https://issues.apache.org/jira/browse/YARN-7815
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Shane Kumpf
>            Assignee: Shane Kumpf
>            Priority: Major
> Currently, when using the Docker runtime, the filecache directories are mounted read-write
into the Docker containers. Read write access is not necessary. We should make this more restrictive
by changing that mount to read-only.

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