|
@@ -932,7 +932,7 @@ public class FSNamesystem implements Namesystem, FSClusterStats,
|
|
throws IOException, UnresolvedLinkException {
|
|
throws IOException, UnresolvedLinkException {
|
|
if (!isAccessTimeSupported() && atime != -1) {
|
|
if (!isAccessTimeSupported() && atime != -1) {
|
|
throw new IOException("Access time for hdfs is not configured. " +
|
|
throw new IOException("Access time for hdfs is not configured. " +
|
|
- " Please set dfs.support.accessTime configuration parameter.");
|
|
|
|
|
|
+ " Please set " + DFS_NAMENODE_ACCESSTIME_PRECISION_KEY + " configuration parameter.");
|
|
}
|
|
}
|
|
writeLock();
|
|
writeLock();
|
|
try {
|
|
try {
|