Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.4-alpha
-
None
-
Reviewed
Description
In hdfs-default.xml we have:
<property> <name>dfs.namenode.accesstime.precision</name> <value>3600000</value> <description>The access time for HDFS file is precise upto this value. The default value is 1 hour. Setting a value of 0 disables access times for HDFS. </description> </property>
But in FSNamesystem we have:
this.accessTimePrecision = conf.getLong(DFS_NAMENODE_ACCESSTIME_PRECISION_KEY, 0);
We properly define DFS_NAMENODE_ACCESSTIME_PRECISION_DEFAULT in DFSConfigKeys.java, but it's not actually referenced anywhere in the code.