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

Switch to Threaded View
MapReduce, mail # user - directory delete in hadoop

Copy link to this message
Re: directory delete in hadoop
Nitin Pawar 2012-09-05, 11:20
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