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 "Nathan Roberts (JIRA)" <ji...@apache.org> on 2016/07/19 16:50:20 UTC
[jira] [Updated] (YARN-5352) Allow container-executor to use
private /tmp
[ https://issues.apache.org/jira/browse/YARN-5352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Roberts updated YARN-5352:
---------------------------------
Attachment: YARN-5352-v0.patch
Patch that uses linux private namespace and bind mounts to achieve a private /tmp.
> Allow container-executor to use private /tmp
> ---------------------------------------------
>
> Key: YARN-5352
> URL: https://issues.apache.org/jira/browse/YARN-5352
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: nodemanager
> Reporter: Nathan Roberts
> Assignee: Nathan Roberts
> Attachments: YARN-5352-v0.patch
>
>
> It's very common for user code to create things in /tmp. Yes, applications have means to specify alternate tmp directories but doing so is opt-in and therefore doesn't happen in many case. At a minimum, linux can use private namespaces to create a private /tmp for each container so that it's using the same space allocated to containers and it's automatically cleaned up as part of container clean-up.
--
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