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 <simpleliving...@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 > <unmeshab...@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/