You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Vinod K V (JIRA)" <ji...@apache.org> on 2008/10/13 08:12:44 UTC

[jira] Commented: (HADOOP-4389) allow use of Torque per-job temporary directories

    [ https://issues.apache.org/jira/browse/HADOOP-4389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638949#action_12638949 ] 

Vinod K V commented on HADOOP-4389:
-----------------------------------

I think this works out of the box if $TMPDIR is available in Torque job's environment. Also, please see HADOOP-2862.

> allow use of Torque per-job temporary directories
> -------------------------------------------------
>
>                 Key: HADOOP-4389
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4389
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/hod
>    Affects Versions: 0.18.1
>            Reporter: David Chiang
>            Priority: Minor
>
> Torque can be configured to create a per-job temporary directory that will automatically be cleaned up at the completion of a Torque job. At our site, we are strongly encouraged to use this directory and not /tmp. The name of the per-job temp dir is in the environment variable TMPDIR in the Torque job's environment. It would be very useful for HOD to be extended so that one could write in hodrc:
> [ringmaster]
> temp-dir = $TMPDIR
> work-dirs = $TMPDIR/1
> [hodring]
> temp-dir = $TMPDIR
> such that $TMPDIR is evaluated inside the Torque job.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.