Hi Florin,
./hadoop fs -ls path
Above command will give timestamp also.
Regards,
Uma Mahesh
- Original Message -
From: Florin P florinp...@yahoo.com
Date: Tuesday, August 9, 2011 12:52 pm
Subject: Listing the content of a HDFS folder oder by timestamp using shell
To:
Hello!
Thank you for your response. I knew about hadoop fs -ls, but unfortunately
it is listing unordered content regarding the timstamp, as you can see in my
example(look at the timestamp):
drwxr-xr-x - platform supergroup 0 2011-07-08 17:53
/user/platform/dirxx/hbase
Hi Florin
As i know , there is no support to listing ordered content.
Regards,
Uma
- Original Message -
From: Florin P florinp...@yahoo.com
Date: Tuesday, August 9, 2011 6:34 pm
Subject: Re: Listing the content of a HDFS folder oder by timestamp using shell
To:
You can pipe the result to sort, like this hadoop dfs -ls your-hdfs-dir |
sort -k 6
-- weiwei
On Tue, Aug 9, 2011 at 6:03 AM, Florin P florinp...@yahoo.com wrote:
Hello!
Thank you for your response. I knew about hadoop fs -ls, but
unfortunately it is listing unordered content regarding the