Enable Last Accessed Updates

To display the Last Accessed timestamp for files and directories in the HDFS File Explorer, HDFS access time updates must be enabled.


Navigation

  1. In to Ambari UI, go to Services > HDFS > Configs.

  2. Search for dfs.namenode.accesstime.precision.

  3. Set the value to 1.

  4. Save the configuration.

  5. Restart the NameNode service for the change to take effect.

If the property is not available, add it under Advanced hdfs-site (or Custom hdfs-site, depending on your Ambari version).

If dfs.namenode.accesstime.precision is set to 0 (the default in some Hadoop distributions), HDFS does not update file access times. As a result, the Last Accessed field in Pulse remains empty.