Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 21899 invoked from network); 13 Oct 2008 06:13:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 06:13:07 -0000 Received: (qmail 7646 invoked by uid 500); 13 Oct 2008 06:13:06 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 7390 invoked by uid 500); 13 Oct 2008 06:13:05 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 7379 invoked by uid 99); 13 Oct 2008 06:13:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Oct 2008 23:13:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 06:12:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 481E1234C21C for ; Sun, 12 Oct 2008 23:12:44 -0700 (PDT) Message-ID: <1324507021.1223878364294.JavaMail.jira@brutus> Date: Sun, 12 Oct 2008 23:12:44 -0700 (PDT) From: "Vinod K V (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4389) allow use of Torque per-job temporary directories In-Reply-To: <502166815.1223663984278.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.