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

Reply via email to