hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhruba Borthakur <dhr...@gmail.com>
Subject Re: Directory Modified Time
Date Tue, 24 May 2011 17:57:26 GMT
If you create a file and then delete it, then you have modified the
directory. In that case, the modtime of the directory wil be updated when u
deleted the file.

This could make the modtime of the directory be later than the modification
time of any remaining files in that directory.


On Tue, May 24, 2011 at 8:27 AM, Tom Hall <thattommyhall@gmail.com> wrote:

> Directory Modified Time is earlier than the files it contains for some
> of my folders on HDFS. Is this usual? I would like to be able to
> hadoop fs -rmr /path/to/some/dir
> if the dirs modified time is older than 5 days or whatever.
> Thanks.
> Tom

Connect to me at http://www.facebook.com/dhruba

View raw message