How can I get the creation date of folder in Ambari HDFS with Linux commands? How can I get the creation date of folder in Ambari HDFS with Linux commands? hadoop hadoop

How can I get the creation date of folder in Ambari HDFS with Linux commands?


Use the stat command with the default format. It will print out the modification date of the provided file/folder. See the File System Shell Hadoop Reference for more information.

For example:

$hadoop fs -stat /user2016-03-28 17:14:53