-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.4-alpha
-
Fix Version/s: 2.1.0-beta
-
Component/s: namenode
-
Labels:None
-
Target Version/s:
-
Hadoop Flags:Reviewed
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.