Re: hadoop.tmp.dir directory size

2014-04-30 Thread unmesha sreeveni
​​
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/


Re: hadoop.tmp.dir directory size

2014-04-30 Thread S.L
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 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/
>
>
>


Re: hadoop.tmp.dir directory size

2014-04-30 Thread unmesha sreeveni
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  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 
> 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/