You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Martin Kleppmann (JIRA)" <ji...@apache.org> on 2014/06/11 11:58:02 UTC
[jira] [Commented] (SAMZA-276) Set -Djava.io.tmpdir to be usercache
dir in YARN
[ https://issues.apache.org/jira/browse/SAMZA-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027588#comment-14027588 ]
Martin Kleppmann commented on SAMZA-276:
----------------------------------------
Does the tmp directory already exist by default? Might be safest to create it explicitly in the shell script.
Also, I think it would be a bit safer to use an absolute path (e.g. "$base_dir/tmp") rather than a relative path, in case something changes the container's working directory after it starts up.
> Set -Djava.io.tmpdir to be usercache dir in YARN
> ------------------------------------------------
>
> Key: SAMZA-276
> URL: https://issues.apache.org/jira/browse/SAMZA-276
> Project: Samza
> Issue Type: Bug
> Affects Versions: 0.6.0
> Reporter: Chris Riccomini
> Assignee: Yan Fang
> Fix For: 0.8.0
>
> Attachments: SAMZA-276.patch
>
>
> I don't believe we set -Djava.io.tmpdir in any of our shell scripts right now. When running Samza jobs in YARN, we should set -Djava.io.tmpdir to be the usercache directory or ./tmp or something, not /tmp on the root mount.
--
This message was sent by Atlassian JIRA
(v6.2#6252)