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

Nathan Roberts commented on YARN-5352:
--------------------------------------

This patch doesn't address localization. Thinking was that localization doesn't 
run application code so while it may create files in /tmp (e.g. hsperf*), I 
wouldn't expect that to be a significant problem. I can look into addressing 
localization as well if folks think it's important.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to