You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by unmesha sreeveni <un...@gmail.com> on 2014/05/01 06:14:46 UTC

Re: hadoop.tmp.dir directory size

Can You just try and see this.

Configuration conf = new Configuration();
FileSystem fs = FileSystem.get(conf);
fs.deleteOnExit("path/to/tmp");


On Thu, May 1, 2014 at 12:10 AM, S.L <si...@gmail.com> wrote:

> Can I do this while the job is still running ? I know I cant delete the
> directory , but I just want confirmation that the data Hadoop writes into
> /tmp/hadoop-df/nm-local-dir (df being my user name) can be discarded while
> the job is being executed.
>
>
> On Wed, Apr 30, 2014 at 6:40 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> ​​
>> Try
>>
>> * ​​hadoop fs -rmr /tmp*
>>
>> --
>> *Thanks & Regards *
>>
>>
>> *Unmesha Sreeveni U.B*
>> *Hadoop, Bigdata Developer*
>> *Center for Cyber Security | Amrita Vishwa Vidyapeetham*
>> http://www.unmeshasreeveni.blogspot.in/
>>
>>
>>
>


-- 
*Thanks & Regards *


*Unmesha Sreeveni U.B*
*Hadoop, Bigdata Developer*
*Center for Cyber Security | Amrita Vishwa Vidyapeetham*
http://www.unmeshasreeveni.blogspot.in/