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

Jim Brennan commented on YARN-9959:
-----------------------------------

Sounds reasonable to me as well, but we may want to choose a format other than 
{{%WORK_DIR%}}, as this format looks like a Windows environment variable.

 

> Work around hard-coded tmp and /var/tmp bind-mounts in the container's 
> working directory
> ----------------------------------------------------------------------------------------
>
>                 Key: YARN-9959
>                 URL: https://issues.apache.org/jira/browse/YARN-9959
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Eric Badger
>            Priority: Major
>
> {noformat}
>     addRuncMountLocation(mounts, containerWorkDir.toString() +
>         "/private_slash_tmp", "/tmp", true, true);
>     addRuncMountLocation(mounts, containerWorkDir.toString() +
>         "/private_var_slash_tmp", "/var/tmp", true, true);
> {noformat}
> It would be good to remove the hard-coded tmp mounts from the 
> {{RuncContainerRuntime}} in place of something general or possibly a tmpfs. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to