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 <[EMAIL PROTECTED]> wrote:

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

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB