Browse Source

HADOOP-2854. Remove deprecated o.a.h.ipc.Server::getUserInfo().
(lohit vijayarenu via cdouglas)



git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@642476 13f79535-47bb-0310-9956-ffa450edef68

Christopher Douglas 17 years ago
parent
commit
df801d6b20
2 changed files with 3 additions and 9 deletions
  1. 3 0
      CHANGES.txt
  2. 0 9
      src/java/org/apache/hadoop/ipc/Server.java

+ 3 - 0
CHANGES.txt

@@ -59,6 +59,9 @@ Trunk (unreleased changes)
     HADOOP-3060. Removes one unused constructor argument from MiniMRCluster.
     (Amareshwari Sriramadasu via ddas)
 
+    HADOOP-2854. Remove deprecated o.a.h.ipc.Server::getUserInfo().
+    (lohit vijayarenu via cdouglas)
+
   NEW FEATURES
 
     HADOOP-1398.  Add HBase in-memory block cache.  (tomwhite)

+ 0 - 9
src/java/org/apache/hadoop/ipc/Server.java

@@ -123,15 +123,6 @@ public abstract class Server {
     return (addr == null) ? null : addr.getHostAddress();
   }
 
-  /** Returns {@link UserGroupInformation} associated with current RPC.
-   *  returns null if user information is not available.
-   *  @deprecated should use {@link UserGroupInformation#getCurrentUGI()}
-   */
-  @Deprecated
-  public static UserGroupInformation getUserInfo() {
-    return UserGroupInformation.getCurrentUGI();
-  }
-  
   private String bindAddress; 
   private int port;                               // port we listen on
   private int handlerCount;                       // number of handler threads