hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From unmesha sreeveni <unmeshab...@gmail.com>
Subject Re: hadoop.tmp.dir directory size
Date Thu, 01 May 2014 04:14:46 GMT
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 <simpleliving016@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 <unmeshabiju@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/

Mime
View raw message