svn merge -c 1189355 from trunk for HDFS-2411.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1189505 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2011-10-26 22:17:04 +00:00
parent 8afe7adaaa
commit 2721b38397
2 changed files with 3 additions and 2 deletions

View File

@ -1120,6 +1120,9 @@ Release 0.23.0 - Unreleased
getDefaultBlockSize() and getDefaultReplication() in WebHdfsFileSystem getDefaultBlockSize() and getDefaultReplication() in WebHdfsFileSystem
and cleared content type in ExceptionHandler. (szetszwo) and cleared content type in ExceptionHandler. (szetszwo)
HDFS-2411. The the auth to local mappings are not being respected, with
webhdfs enabled. (jitendra)
BREAKDOWN OF HDFS-1073 SUBTASKS BREAKDOWN OF HDFS-1073 SUBTASKS
HDFS-1521. Persist transaction ID on disk between NN restarts. HDFS-1521. Persist transaction ID on disk between NN restarts.

View File

@ -141,8 +141,6 @@ private Map<String, String> getAuthFilterParams(Configuration conf)
DFSConfigKeys.DFS_WEB_AUTHENTICATION_KERBEROS_KEYTAB_KEY, DFSConfigKeys.DFS_WEB_AUTHENTICATION_KERBEROS_KEYTAB_KEY,
httpKeytab); httpKeytab);
} }
params.put("kerberos.name.rules",
conf.get("hadoop.security.auth_to_local", "DEFAULT"));
return params; return params;
} }
}; };