From 8534e70044ebd35c80a2bdff509adef85cb8d61c Mon Sep 17 00:00:00 2001 From: Jitendra Nath Pandey Date: Wed, 26 Oct 2011 18:15:58 +0000 Subject: [PATCH] HDFS-2411. The auth to local mappings are not respected with webhdfs and security enabled. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1189355 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index b0acab6ccf..c5d02e3737 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -156,6 +156,9 @@ Trunk (unreleased changes) HDFS-2497 Fix TestBackupNode failure. (suresh) + HDFS-2411. The the auth to local mappings are not being respected, with + webhdfs enabled. (jitendra) + Release 0.23.0 - Unreleased INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java index 6f8475c53a..4b59e50924 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java @@ -141,8 +141,6 @@ private Map getAuthFilterParams(Configuration conf) DFSConfigKeys.DFS_WEB_AUTHENTICATION_KERBEROS_KEYTAB_KEY, httpKeytab); } - params.put("kerberos.name.rules", - conf.get("hadoop.security.auth_to_local", "DEFAULT")); return params; } };