HDFS-2790. svn merge -c 1231572 from trunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1231574 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-01-14 19:53:13 +00:00
parent f97f7a6f1e
commit 56e8453673
2 changed files with 4 additions and 1 deletions

View File

@ -149,6 +149,9 @@ Release 0.23.1 - UNRELEASED
HDFS-2707. HttpFS should read the hadoop-auth secret from a file instead HDFS-2707. HttpFS should read the hadoop-auth secret from a file instead
inline from the configuration. (tucu) inline from the configuration. (tucu)
HDFS-2790. FSNamesystem.setTimes throws exception with wrong
configuration name in the message. (Arpit Gupta via eli)
Release 0.23.0 - 2011-11-01 Release 0.23.0 - 2011-11-01
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -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 {