Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8099D120 for ; Fri, 27 Jul 2012 17:18:19 +0000 (UTC) Received: (qmail 29384 invoked by uid 500); 27 Jul 2012 17:18:15 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 29272 invoked by uid 500); 27 Jul 2012 17:18:15 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 29264 invoked by uid 500); 27 Jul 2012 17:18:15 -0000 Delivered-To: apmail-hadoop-core-user@hadoop.apache.org Received: (qmail 29261 invoked by uid 500); 27 Jul 2012 17:18:15 -0000 Delivered-To: apmail-lucene-hadoop-user@lucene.apache.org Received: (qmail 29258 invoked by uid 99); 27 Jul 2012 17:18:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 17:18:15 +0000 X-ASF-Spam-Status: No, hits=4.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of in.abdul@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 17:18:09 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SuoAe-00045t-2U for hadoop-user@lucene.apache.org; Fri, 27 Jul 2012 10:17:48 -0700 Date: Fri, 27 Jul 2012 10:17:48 -0700 (PDT) From: "in.abdul" To: hadoop-user@lucene.apache.org Message-ID: In-Reply-To: References: Subject: Re: Can I change "hadoo.tmp.dir" for each jon run without formatting MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29557_25618352.1343409468069" ------=_Part_29557_25618352.1343409468069 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi abhay , As alok mentioned that's a perfect choice to override on runtime . Make sure that properties should not be set as final in configuration file . Regards Syed On Jul 26, 2012 12:16 AM, "Alok Kumar [via Lucene]" < ml-node+s472066n3997300h26@n3.nabble.com> wrote: > Hi Abhay, > > On Wed, Jul 25, 2012 at 10:44 PM, Abhay Ratnaparkhi > <[hidden email] > > wrote: > > "hadoop.tmp.dir" points to the directory on local disk to store > > intermediate task related data. > > > > It's currently mounted to "/tmp/hadoop" for me. Some of my jobs are > running > > and Filesystem on which '/tmp' is mounted is getting full. > > Is it possible to change "hadoop.tmp.dir" parameter before submitting a > new > > job? > > You can override "hadoop.tmp.dir" everytime before submitting your Job. > I tried like this : > > Configuration configuration = new Configuration(); > config.set("hadoop.tmp.dir", "/home/user/some-other-path"); > Job job = new Job(config, "Job1"); > > It produced same result (I didn't format anything) > > Thanks > -- > Alok > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/Can-I-change-hadoo-tmp-dir-for-each-jon-run-without-formatting-tp3997287p3997300.html > To unsubscribe from Lucene, click here > . > NAML > ----- THANKS AND REGARDS, SYED ABDUL KATHER -- View this message in context: http://lucene.472066.n3.nabble.com/Can-I-change-hadoo-tmp-dir-for-each-jon-run-without-formatting-tp3997287p3997762.html Sent from the Hadoop lucene-users mailing list archive at Nabble.com. ------=_Part_29557_25618352.1343409468069--