You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by wh...@apache.org on 2014/05/07 00:38:02 UTC
svn commit: r1592915 - in
/hadoop/common/trunk/hadoop-common-project/hadoop-common: CHANGES.txt
src/main/java/org/apache/hadoop/security/authorize/ProxyUsers.java
Author: wheat9
Date: Tue May 6 22:38:02 2014
New Revision: 1592915
URL: http://svn.apache.org/r1592915
Log:
HADOOP-10471. Reduce the visibility of constants in ProxyUsers. Contributed by Benoy Antony.
Modified:
hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/ProxyUsers.java
Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1592915&r1=1592914&r2=1592915&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt Tue May 6 22:38:02 2014
@@ -368,6 +368,9 @@ Release 2.5.0 - UNRELEASED
HADOOP-10549. MAX_SUBST and varPat should be final in Configuration.java.
(Gera Shegalov via cnauroth)
+ HADOOP-10471. Reduce the visibility of constants in ProxyUsers.
+ (Benoy Antony via wheat9)
+
OPTIMIZATIONS
BUG FIXES
Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/ProxyUsers.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/ProxyUsers.java?rev=1592915&r1=1592914&r2=1592915&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/ProxyUsers.java (original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/authorize/ProxyUsers.java Tue May 6 22:38:02 2014
@@ -40,9 +40,9 @@ import com.google.common.annotations.Vis
public class ProxyUsers {
private static final String CONF_HOSTS = ".hosts";
- public static final String CONF_GROUPS = ".groups";
- public static final String CONF_HADOOP_PROXYUSER = "hadoop.proxyuser.";
- public static final String CONF_HADOOP_PROXYUSER_RE = "hadoop\\.proxyuser\\.";
+ private static final String CONF_GROUPS = ".groups";
+ private static final String CONF_HADOOP_PROXYUSER = "hadoop.proxyuser.";
+ private static final String CONF_HADOOP_PROXYUSER_RE = "hadoop\\.proxyuser\\.";
public static final String CONF_HADOOP_PROXYSERVERS = "hadoop.proxyservers";
private static boolean init = false;