Kaynağa Gözat

HADOOP-10310. SaslRpcServer should be initialized even when no secret manager present. Contributed by Aaron T. Myers.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.3@1562868 13f79535-47bb-0310-9956-ffa450edef68
Aaron Myers 11 yıl önce
ebeveyn
işleme
39f01114fb

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -367,6 +367,9 @@ Release 2.3.0 - UNRELEASED
     HADOOP-10252. HttpServer can't start if hostname is not specified. (Jimmy
     Xiang via atm)
 
+    HADOOP-10310. SaslRpcServer should be initialized even when no secret
+    manager present. (atm)
+
 Release 2.2.0 - 2013-10-13
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java

@@ -2120,7 +2120,7 @@ public abstract class Server {
     // Create the responder here
     responder = new Responder();
     
-    if (secretManager != null) {
+    if (secretManager != null || UserGroupInformation.isSecurityEnabled()) {
       SaslRpcServer.init(conf);
     }