Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 05-02-2016 09:06 AM - edited 09-16-2022 03:16 AM
How to list hdfs files according to timestamp? just like ls -lt in unix.
Created 05-02-2016 01:11 PM
I found the answer myself. Using below command I can achieve ls -lt output in hdfs.
hdfs dfs -ls /test | sort -k6,7
Created 05-02-2016 01:11 PM
I found the answer myself. Using below command I can achieve ls -lt output in hdfs.
hdfs dfs -ls /test | sort -k6,7
Created 05-03-2016 07:07 AM
I'm happy to see you found it. Thanks for sharing. 🙂