HADOOP-6633. normalize property names for JT/NN kerberos principal names in configuration

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@946487 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Boris Shkolnik 2010-05-20 00:03:22 +00:00
parent 847e009e1c
commit 78778a158c
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@ Hadoop Change Log
Trunk (unreleased changes) Trunk (unreleased changes)
IMPROVEMENTS IMPROVEMENTS
HADOOP-6633. normalize property names for JT/NN kerberos principal
names in configuration (boryas)
HADOOP-6627. "Bad Connection to FS" message in FSShell should print HADOOP-6627. "Bad Connection to FS" message in FSShell should print
message from the exception (boryas) message from the exception (boryas)

View File

@ -36,7 +36,7 @@ public class ProxyUsers {
* @return configuration key for superuser groups * @return configuration key for superuser groups
*/ */
public static String getProxySuperuserGroupConfKey(String userName) { public static String getProxySuperuserGroupConfKey(String userName) {
return "hadoop.proxyuser."+userName+".users"; return "hadoop.proxyuser."+userName+".groups";
} }
/* /*
@ -46,7 +46,7 @@ public class ProxyUsers {
* @return configuration key for superuser ip-addresses * @return configuration key for superuser ip-addresses
*/ */
public static String getProxySuperuserIpConfKey(String userName) { public static String getProxySuperuserIpConfKey(String userName) {
return "hadoop.proxyuser."+userName+".ip-addresses"; return "hadoop.proxyuser."+userName+".hosts";
} }
/* /*