Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 6896 invoked from network); 6 Mar 2008 06:38:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2008 06:38:17 -0000 Received: (qmail 58334 invoked by uid 500); 6 Mar 2008 06:38:12 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 58311 invoked by uid 500); 6 Mar 2008 06:38:11 -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 58301 invoked by uid 99); 6 Mar 2008 06:38:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2008 22:38:11 -0800 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; Thu, 06 Mar 2008 06:37:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F1D7F234C089 for ; Wed, 5 Mar 2008 22:36:57 -0800 (PST) Message-ID: <1637130589.1204785417989.JavaMail.jira@brutus> Date: Wed, 5 Mar 2008 22:36:57 -0800 (PST) From: "Hemanth Yamijala (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2862) [HOD] Support PBS env vars in hod configuration In-Reply-To: <249126816.1203528463869.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-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575582#action_12575582 ] Hemanth Yamijala commented on HADOOP-2862: ------------------------------------------ We should probably look at this along with HADOOP-2849, and see if a generic solution to HADOOP-2849 will fix this too. > [HOD] Support PBS env vars in hod configuration > ----------------------------------------------- > > Key: HADOOP-2862 > URL: https://issues.apache.org/jira/browse/HADOOP-2862 > Project: Hadoop Core > Issue Type: Improvement > Components: contrib/hod > Affects Versions: 0.16.0 > Environment: Torque PBS > Reporter: Craig Macdonald > > In some batch environments, eg using Torque PBS, scratch spaces are provided on cluster nodes for where jobs should put their temporary files. These are automatically cleaned up when the job exists by an epilogue script. > For instance, in our local Torque cluster, all nodes have a /scratch partition. For each job, the prologue script creates a scratch folder owned by the user at /scratch/pbstmp.$PBS_JOBID - $PBS_JOBID is then the env var containing the job id, as set by pbs_mom. > Would it be possible to use these env vars in the configuration of hod. For instance, say I want to create an hdfs on demand using hod, but that the hdfs space should be in /scratch/pbstmp.$PBS_JOBID, not in /tmp/hod say. This would involve HOD supporting env vars in configuration, but knowing when to substitute the env var with it's current value (ie not until running on the correct node where the operation should take place). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.