Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> directory delete in hadoop

nisha sharma 2012-09-05, 11:14
Copy link to this message
Re: directory delete in hadoop
yes this will delete the entire directory and its contents (assuming
that user running the code has the permission to delete the directory)

On Wed, Sep 5, 2012 at 4:44 PM, nisha sharma <[EMAIL PROTECTED]> wrote:
> Hi,
> I m usin the below method to delete a directory named testingfolder, will
> this method delete all my jpeg files inside this directory will these files
> also get deleted from hdfs along with the directory
> fileSystem.delete(
> new Path("/user/testingfolder"),true);

Nitin Pawar
Harsh J 2012-09-05, 11:47
Chen He 2012-09-05, 13:56