Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F19DEF2F1 for ; Fri, 19 Apr 2013 03:55:21 +0000 (UTC) Received: (qmail 69649 invoked by uid 500); 19 Apr 2013 03:55:16 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 69410 invoked by uid 500); 19 Apr 2013 03:55:15 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 69362 invoked by uid 99); 19 Apr 2013 03:55:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 03:55:13 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hemanty@thoughtworks.com designates 64.18.0.149 as permitted sender) Received: from [64.18.0.149] (HELO exprod5og117.obsmtp.com) (64.18.0.149) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 03:55:05 +0000 Received: from mail-ie0-f200.google.com ([209.85.223.200]) (using TLSv1) by exprod5ob117.postini.com ([64.18.4.12]) with SMTP ID DSNKUXDAA8yMy6UTISo8yBGQz9kiC7T8mGo1@postini.com; Thu, 18 Apr 2013 20:54:44 PDT Received: by mail-ie0-f200.google.com with SMTP id 10so1650846ied.7 for ; Thu, 18 Apr 2013 20:54:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=yIEs2w+S5DYJ4EJx2kkR23vMAnuOHzRZgU2TsV5DPWM=; b=JI38vu1Cx8VcMrND1cfEFjieQUUnYofSH7dBl7afYZhvLCrS0QHMIq258Nks/R78x5 qxivJHVCyAWkePF/hisdpioEOdQuHC9Nh8CNBCz2JItIWh9mIbFFWCQsptjzh9y+OiZs mU/ybZUkOvVepPTx9oK9gLv2dQXdhR97vkW5tC2myfIn0c75bDjp32bjnSdSYdLSqGnu npFMXEznuvq4gZbDUp/GYCelEGsUaMxBFLCpsnPhUvmnXWLUACdGPlo3hjwQ99EjjXLP uShxNZOjKc8yI/SibHtLmBzX9/ZhNvqXQzyh6EAj1upG1GH9D2/ReUCK2oyBEOYo0GQw E93Q== X-Received: by 10.60.131.98 with SMTP id ol2mr2359091oeb.37.1366343683059; Thu, 18 Apr 2013 20:54:43 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.131.98 with SMTP id ol2mr2359085oeb.37.1366343682875; Thu, 18 Apr 2013 20:54:42 -0700 (PDT) Received: by 10.76.27.166 with HTTP; Thu, 18 Apr 2013 20:54:42 -0700 (PDT) In-Reply-To: References: <2D2295EC-2713-47C4-90B4-E16BA6467954@hortonworks.com> Date: Fri, 19 Apr 2013 09:24:42 +0530 Message-ID: Subject: Re: How to configure mapreduce archive size? From: Hemanth Yamijala To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=089e01183b7adbf57104daaeada9 X-Gm-Message-State: ALoCoQnSjhQFZNZO0FelBSlanBdD2Bl133yDxGJDRdqeitTpt93uJdylPDznFyMemgA1pdq530UtTgcbybPzqsdCXRgT11EtayHc0GeJdb83kY6U9IiC1q+tskN/YF76qIQ/W+JmOcvVN+VQ+yonY7Pv2Hd7ad0+Fw== X-Virus-Checked: Checked by ClamAV on apache.org --089e01183b7adbf57104daaeada9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Well, since the DistributedCache is used by the tasktracker, you need to update the log4j configuration file used by the tasktracker daemon. And you need to get the tasktracker log file - from the machine where you see the distributed cache problem. On Fri, Apr 19, 2013 at 6:27 AM, wrote: > Hi Hemanth,**** > > ** ** > > I tried http://machine:50030. It did not work for me.**** > > ** ** > > In hbase_home/conf folder, I update the log4j configuration properties an= d > got attached log. Do you find what is happening for the map reduce job?**= * > * > > ** ** > > Thanks,**** > > ** ** > > Jane**** > > ** ** > > *From:* Hemanth Yamijala [mailto:yhemanth@thoughtworks.com] > *Sent:* Wednesday, April 17, 2013 9:11 PM > > *To:* user@hadoop.apache.org > *Subject:* Re: How to configure mapreduce archive size?**** > > ** ** > > The check for cache file cleanup is controlled by the > property mapreduce.tasktracker.distributedcache.checkperiod. It defaults = to > 1 minute (which should be sufficient for your requirement).**** > > ** ** > > I am not sure why the JobTracker UI is inaccessible. If you know where JT > is running, try hitting http://machine:50030. If that doesn't work, maybe > check if ports have been changed in mapred-site.xml for a property simila= r > to mapred.job.tracker.http.address. **** > > ** ** > > There is logging in the code of the tasktracker component that can help > debug the distributed cache behaviour. In order to get those logs you nee= d > to enable debug logging in the log4j configuration properties and restart > the daemons. Hopefully that will help you get some hints on what is > happening.**** > > ** ** > > Thanks**** > > hemanth**** > > ** ** > > On Wed, Apr 17, 2013 at 11:49 PM, wrote:**** > > Hi Hemanth and Bejoy KS,**** > > **** > > I have tried both mapred-site.xml and core-site.xml. They do not work. I > set the value to 50K just for testing purpose, however the folder size > already goes to 900M now. As in your email, =93After they are done, the > property will help cleanup the files due to the limit set. =94 How freque= ntly > the cleanup task will be triggered? **** > > **** > > Regarding the job.xml, I cannot use JT web UI to find it. It seems when > hadoop is packaged within Hbase, this is disabled. I am only use Hbase > jobs. I was suggested by Hbase people to get help from Hadoop mailing lis= t. > I will contact them again.**** > > **** > > Thanks,**** > > **** > > Jane**** > > **** > > *From:* Hemanth Yamijala [mailto:yhemanth@thoughtworks.com] > *Sent:* Tuesday, April 16, 2013 9:35 PM**** > > > *To:* user@hadoop.apache.org > *Subject:* Re: How to configure mapreduce archive size?**** > > **** > > You can limit the size by setting local.cache.size in the mapred-site.xml > (or core-site.xml if that works for you). I mistakenly mentioned > mapred-default.xml in my last mail - apologies for that. However, please > note that this does not prevent whatever is writing into the distributed > cache from creating those files when they are required. After they are > done, the property will help cleanup the files due to the limit set. **** > > **** > > That's why I am more keen on finding what is using the files in the > Distributed cache. It may be useful if you can ask on the HBase list as > well if the APIs you are using are creating the files you mention (assumi= ng > you are only running HBase jobs on the cluster and nothing else)**** > > **** > > Thanks**** > > Hemanth**** > > **** > > On Tue, Apr 16, 2013 at 11:15 PM, wrote:**** > > Hi Hemanth,**** > > **** > > I did not explicitly using DistributedCache in my code. I did not use any > command line arguments like =96libjars neither.**** > > **** > > Where can I find job.xml? I am using Hbase MapReduce API and not setting > any job.xml.**** > > **** > > The key point is I want to limit the size of > /tmp/hadoop-root/mapred/local/archive. Could you help?**** > > **** > > Thanks.**** > > **** > > Xia**** > > **** > > *From:* Hemanth Yamijala [mailto:yhemanth@thoughtworks.com] > *Sent:* Thursday, April 11, 2013 9:09 PM**** > > > *To:* user@hadoop.apache.org > *Subject:* Re: How to configure mapreduce archive size?**** > > **** > > TableMapReduceUtil has APIs like addDependencyJars which will use > DistributedCache. I don't think you are explicitly using that. Are you > using any command line arguments like -libjars etc when you are launching > the MapReduce job ? Alternatively you can check job.xml of the launched M= R > job to see if it has set properties having prefixes like mapred.cache. If > nothing's set there, it would seem like some other process or user is > adding jars to DistributedCache when using the cluster.**** > > **** > > Thanks**** > > hemanth**** > > **** > > **** > > **** > > On Thu, Apr 11, 2013 at 11:40 PM, wrote:**** > > Hi Hemanth,**** > > **** > > Attached is some sample folders within my > /tmp/hadoop-root/mapred/local/archive. There are some jar and class files > inside.**** > > **** > > My application uses MapReduce job to do purge Hbase old data. I am using > basic HBase MapReduce API to delete rows from Hbase table. I do not speci= fy > to use Distributed cache. Maybe HBase use it?**** > > **** > > Some code here:**** > > **** > > Scan scan =3D *new* Scan();**** > > scan.setCaching(500); // 1 is the default in Scan, which > will be bad for MapReduce jobs**** > > scan.setCacheBlocks(*false*); // don't set to true for MR jobs***= * > > scan.setTimeRange(Long.*MIN_VALUE*, timestamp);**** > > // set other scan *attrs***** > > // the purge start time**** > > Date date=3D*new* Date();**** > > TableMapReduceUtil.*initTableMapperJob*(**** > > tableName, // input table**** > > scan, // Scan instance to control CF and > attribute selection**** > > MapperDelete.*class*, // *mapper* class**** > > *null*, // *mapper* output key**** > > *null*, // *mapper* output value**** > > job);**** > > **** > > job.setOutputFormatClass(TableOutputFormat.*class*);**** > > job.getConfiguration().set(TableOutputFormat.*OUTPUT_TABLE*, > tableName);**** > > job.setNumReduceTasks(0);**** > > **** > > *boolean* b =3D job.waitForCompletion(*true*);**** > > **** > > *From:* Hemanth Yamijala [mailto:yhemanth@thoughtworks.com] > *Sent:* Thursday, April 11, 2013 12:29 AM**** > > > *To:* user@hadoop.apache.org > *Subject:* Re: How to configure mapreduce archive size?**** > > **** > > Could you paste the contents of the directory ? Not sure whether that wil= l > help, but just giving it a shot.**** > > **** > > What application are you using ? Is it custom MapReduce jobs in which you > use Distributed cache (I guess not) ? **** > > **** > > Thanks**** > > Hemanth**** > > **** > > On Thu, Apr 11, 2013 at 3:34 AM, wrote:**** > > Hi Arun,**** > > **** > > I stopped my application, then restarted my hbase (which include hadoop). > After that I start my application. After one evening, my > /tmp/hadoop-root/mapred/local/archive goes to more than 1G. It does not > work.**** > > **** > > Is this the right place to change the value?**** > > **** > > "local.cache.size" in file core-default.xml, which is in > hadoop-core-1.0.3.jar**** > > **** > > Thanks,**** > > **** > > Jane**** > > **** > > *From:* Arun C Murthy [mailto:acm@hortonworks.com] > *Sent:* Wednesday, April 10, 2013 2:45 PM**** > > > *To:* user@hadoop.apache.org > *Subject:* Re: How to configure mapreduce archive size?**** > > **** > > Ensure no jobs are running (cache limit is only for non-active cache > files), check after a little while (takes sometime for the cleaner thread > to kick in).**** > > **** > > Arun**** > > **** > > On Apr 11, 2013, at 2:29 AM, > wrote:**** > > **** > > Hi Hemanth,**** > > **** > > For the hadoop 1.0.3, I can only find "local.cache.size" in file > core-default.xml, which is in hadoop-core-1.0.3.jar. It is not in > mapred-default.xml.**** > > **** > > I updated the value in file default.xml and changed the value to 500000. > This is just for my testing purpose. However, the folder > /tmp/hadoop-root/mapred/local/archive already goes more than 1G now. Look= s > like it does not do the work. Could you advise if what I did is correct?*= * > ** > > **** > > local.cache.size**** > > 500000**** > > **** > > Thanks,**** > > **** > > Xia**** > > **** > > *From:* Hemanth Yamijala [mailto:yhemanth@thoughtworks.com] > *Sent:* Monday, April 08, 2013 9:09 PM > *To:* user@hadoop.apache.org > *Subject:* Re: How to configure mapreduce archive size?**** > > **** > > Hi,**** > > **** > > This directory is used as part of the 'DistributedCache' feature. ( > http://hadoop.apache.org/docs/r1.0.4/mapred_tutorial.html#DistributedCach= e). > There is a configuration key "local.cache.size" which controls the amount > of data stored under DistributedCache. The default limit is 10GB. However= , > the files under this cannot be deleted if they are being used. Also, some > frameworks on Hadoop could be using DistributedCache transparently to you= . > **** > > **** > > So you could check what is being stored here and based on that lower the > limit of the cache size if you feel that will help. The property needs to > be set in mapred-default.xml.**** > > **** > > Thanks**** > > Hemanth**** > > **** > > On Mon, Apr 8, 2013 at 11:09 PM, wrote:**** > > Hi,**** > > **** > > I am using hadoop which is packaged within hbase -0.94.1. It is hadoop > 1.0.3. There is some mapreduce job running on my server. After some time,= I > found that my folder /tmp/hadoop-root/mapred/local/archive has 14G size.*= * > ** > > **** > > How to configure this and limit the size? I do not want to waste my spac= e > for archive.**** > > **** > > Thanks,**** > > **** > > Xia**** > > **** > > **** > > **** > > --**** > > Arun C. Murthy**** > > Hortonworks Inc. > http://hortonworks.com/**** > > **** > > **** > > **** > > **** > > ** ** > --089e01183b7adbf57104daaeada9 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Well, since the DistributedCache is used by the tasktracke= r, you need to update the log4j configuration file used by the tasktracker = daemon. And you need to get the tasktracker log file - from the machine whe= re you see the distributed cache problem.


On Fri, Apr 1= 9, 2013 at 6:27 AM, <Xia_Yang@dell.com> wrote:

Hi Hemanth,

=A0

I tried http://machine:50030. It did not work for me.

=A0<= /p>

In hbase_home/conf fol= der, I update the log4j configuration properties and got attached log. Do y= ou find what is happening for the map reduce job?

=A0<= /p>

Thanks,<= /span>

=A0<= /p>

Jane

=A0<= /p>

From: Heman= th Yamijala [mailto:yhemanth@thoughtworks.com]
Sent: Wednesday, April 17, 2013 9:11 PM


To: user@hadoop.apache.org
Subject: Re: How to configure map= reduce archive size?

=A0

The check for cache file cleanup is contro= lled by the property=A0mapreduce.tasktracker.distributedcache.checkperiod. = It defaults to 1 minute (which should be sufficient for your requirement).<= u>

=A0

I am not sure why the JobTracker UI is inaccessible. If you know wh= ere JT is running, try hitting http://machine:50030. If that doesn't work, maybe check if p= orts have been changed in mapred-site.xml for a property similar to=A0mapre= d.job.tracker.http.address.=A0

=A0

There is logging in the code of the tasktracker component th= at can help debug the distributed cache behaviour. In order to get those lo= gs you need to enable debug logging in the log4j configuration properties a= nd restart the daemons. Hopefully that will help you get some hints on what= is happening.

=A0

Thanks

he= manth

=A0

On Wed, Apr 17, 2013 at 11= :49 PM, <Xia_Yang= @dell.com> wrote:

= Hi Hemanth and Bejoy KS,

=A0<= /p>

I have tried both mapr= ed-site.xml and core-site.xml. They do not work. I set the value to 50K jus= t for testing purpose, however the folder size already goes to 900M now. As= in your email, =93After they are done, the property will help cleanup the = files due to the limit set. =94 How frequently the cleanup task will be tri= ggered?

=A0<= /p>

Regarding the job.xml,= I cannot use JT web UI to find it. It seems when hadoop is packaged within= Hbase, this is disabled. I am only use Hbase jobs. I was suggested by Hbas= e people to get help from Hadoop mailing list. I will contact them again.

=A0<= /p>

Thanks,<= u>

=A0<= /p>

Jane<= /u>

=A0<= /p>

From: Heman= th Yamijala [mailto:yhemanth@thoughtworks.com]
Sent: Tuesday, April 16, 2013 9:35 PM

<= div>


To: user@hadoop.apache.org
Subject: Re= : How to configure mapreduce archive size?

=A0

You can limit the size by setting=A0local.cac= he.size=A0in the mapred-site.xml (or core-site.xml if that works for= you). I mistakenly mentioned mapred-default.xml in my last mail - apologie= s for that. However, please note that this does not prevent whatever is wri= ting into the distributed cache from creating those files when they are req= uired. After they are done, the property will help cleanup the files due to= the limit set.=A0

=A0

That's why I am more keen on finding what is using the files in= the Distributed cache. It may be useful if you can ask on the HBase list a= s well if the APIs you are using are creating the files you mention (assumi= ng you are only running HBase jobs on the cluster and nothing else)<= u>

=A0

Thanks

Hemanth

=A0

On Tue, Apr 16, 2013 at 11= :15 PM, <Xia_Yang= @dell.com> wrote:

= Hi Hemanth,

=A0<= /p>

I did not explicitly u= sing DistributedCache in my code. I did not use any command line arguments = like =96libjars neither.

=A0<= /p>

Where can I find job.x= ml? I am using Hbase MapReduce API and not setting any job.xml.

=A0<= /p>

The key point is I wan= t to limit the size of /tmp/hadoop-root/mapred/local/archive. Could you hel= p?

=A0<= /p>

Thanks.<= u>

=A0<= /p>

Xia

=A0<= /p>

From: Heman= th Yamijala [mailto:yhemanth@thoughtworks.com]
Sent: Thursday, April 11, 2013 9:09 PM

=


To: user@hadoop.apache.org
Subject: R= e: How to configure mapreduce archive size?

=A0

TableMapReduceUtil has APIs like addDependencyJars which= will use DistributedCache. I don't think you are explicitly using that= . Are you using any command line arguments like -libjars etc when you are l= aunching the MapReduce job ? Alternatively you can check job.xml of the lau= nched MR job to see if it has set properties having prefixes like mapred.ca= che. If nothing's set there, it would seem like some other process or u= ser is adding jars to DistributedCache when using the cluster.

=A0

Thanks

hemanth

=A0

=A0

=A0

On = Thu, Apr 11, 2013 at 11:40 PM, <Xia_Yang@dell.com> wrote:

Hi Hemanth,

=A0<= /span>

Attached is some sample f= olders within my /tmp/hadoop-root/mapred/local/archive. There are some jar = and class files inside.

=A0<= /p>

My application uses Ma= pReduce job to do purge Hbase old data. I am using basic HBase MapReduce AP= I to delete rows from Hbase table. I do not specify to use Distributed cach= e. Maybe HBase use it?

=A0<= /p>

Some code here:=

=A0<= /p>

=A0=A0=A0 =A0=A0 Scan scan =3D new Scan();

=A0=A0=A0 =A0=A0 scan.setCaching(500);=A0= =A0=A0=A0=A0=A0=A0 // 1 is the default in Sca= n, which will be bad for MapReduce jobs

=A0=A0=A0 =A0=A0 scan.setCacheBlocks(false);=A0 // don't set to true for MR jobs

=A0=A0=A0 =A0=A0 scan.setTimeRange(Long.= MIN_VALUE, timestamp);

=A0=A0=A0 =A0=A0 // set other scan attrs

=A0=A0=A0 =A0=A0 // the purge start time

=A0=A0=A0 =A0=A0 Date date=3Dnew Date();

=A0=A0=A0 =A0=A0 Tabl= eMapReduceUtil.initTableMapperJob(

=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 tableName,=A0=A0= =A0=A0=A0=A0=A0 // input table<= u>

=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 scan,=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 // Sc= an instance to control CF and attribute selection

=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 MapperDe= lete.class,=A0=A0=A0=A0 // mapper class

=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 null,=A0=A0=A0=A0=A0=A0=A0=A0 // mapper output key

=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 null,=A0 = // mapper output value

=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 job);

= =A0<= /u>

=A0=A0=A0 =A0=A0 job.setOutputFormatClass(T= ableOutputFormat.class);=

=A0=A0=A0 =A0=A0 job.getConfiguration().set= (TableOutputFormat.OUTPUT_TABLE= , tableName);

=A0=A0=A0 =A0=A0 job.setNumReduceTasks(0);<= /span>

=A0=A0=A0 =A0=A0

=A0=A0=A0=A0=A0=A0 boolean b = =3D job.waitForCompletion(true)= ;

=A0<= /p>

From: Heman= th Yamijala [mailto:yhemanth@thoughtworks.com]
Sent: Thursday, April 11, 2013 12:29 AM


To: user@hadoop.apache.org
Subject: = Re: How to configure mapreduce archive size?

=A0

Could you paste the contents of the directory ? Not sure= whether that will help, but just giving it a shot.

<= p class=3D"MsoNormal"> =A0

What application are= you using ? Is it custom MapReduce jobs in which you use Distributed cache= (I guess not) ?=A0

=A0<= u>

Thanks

Hemanth

=A0

On Thu, Apr 11, 2013 at 3:34 AM, <Xia_Yang@dell.com> wrote:

Hi Arun,<= u>

=A0<= /p>

I stopped my applicati= on, then restarted my hbase (which include hadoop). After that I start my a= pplication. After one evening, my /tmp/hadoop-root/mapred/local/archive goe= s to more than 1G. It does not work.

=A0<= /p>

Is this the right plac= e to change the value?

=A0=

"local.cache= .size" in file core-default.xml, which is in hadoop-core-1.0.3.jar

=A0<= /p>

Thanks,

=A0<= /p>

Jane<= /u>

=A0<= /p>

From: Arun C M= urthy [mailto:acm@= hortonworks.com]
Sent: Wednesday, April 10, 2013 2:45 PM


To: user@hadoop.apache.org
Subject: = Re: How to configure mapreduce archive size?

=A0<= /p>

Ensure no jobs are running (cache limit is only f= or non-active cache files), check after a little while (takes sometime for = the cleaner thread to kick in).

=A0

Arun

=A0<= u>

On Apr 11, 2013, at 2:29 AM, <= ;Xia_Yang@Dell.com> <Xia_Yang@= Dell.com> wrote:

=A0

Hi Hemant= h,

=A0<= /u>

= For the hadoop 1.0.3, I can only find "local.cache.size" in file = core-default.xml, which is in hadoop-core-1.0.3.jar. It is not in mapred-de= fault.xml.

=A0<= /u>

= I updated the value in file default.xml and changed the value to 500000. Th= is is just for my testing purpose. However, the folder /tmp/hadoop-root/map= red/local/archive already goes more than 1G now. Looks like it does not do = the work. Could you advise if what I did is correct?

=A0<= /u>

= =A0 <name>local.cache.size</name>

=A0 <value&= gt;500000</value>

=A0

Thanks,

=A0<= /u>

= Xia

=A0<= /u>

From:= =A0Hemanth Yamijala [mailto:yhemanth@thoughtworks.com]=A0
Sent:=A0Monday, April 08, 2013 9:09 PM
To:=A0user@hadoop.apache.orgSubject:=A0Re: How to configure mapreduce archive size?
<= /u>

=A0

Hi,

=A0

This = directory is used as part of the 'DistributedCache' feature. (http://hadoop.apache.org/docs/r1.0.4/mapred_tutori= al.html#DistributedCache). There is a configuration key "local.cac= he.size" which controls the amount of data stored under DistributedCac= he. The default limit is 10GB. However, the files under this cannot be dele= ted if they are being used. Also, some frameworks on Hadoop could be using = DistributedCache transparently to you.

=A0

So you could check what is being stored= here and based on that lower the limit of the cache size if you feel that = will help. The property needs to be set in mapred-default.xml.

=A0

Thanks

Hemanth

=A0

On Mon, Apr 8, 2013 a= t 11:09 PM, <Xia_= Yang@dell.com> wrote:

Hi,

=A0

I am using hadoop which is packaged with= in hbase -0.94.1. It is hadoop 1.0.3. There is some mapreduce job running o= n my server. After some time, I found that my folder /tmp/hadoop-root/mapre= d/local/archive has 14G size.

=A0

How to configure this and limit the size? I do not want=A0 t= o waste my space for archive.

=A0

Thanks,

=A0

Xi= a

=A0

<= /div>

=A0

=A0

--

Arun C. Murthy

Hortonworks Inc.
http://hortonworks.co= m/

=A0=

=A0

=A0

=A0<= u>

=A0


--089e01183b7adbf57104daaeada9--