hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Pawar <nitinpawar...@gmail.com>
Subject Re: directory delete in hadoop
Date Wed, 05 Sep 2012 11:20:36 GMT
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 <nishakulkarni89@gmail.com> 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

View raw message