hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r642476 - in /hadoop/core/trunk: CHANGES.txt src/java/org/apache/hadoop/ipc/Server.java
Date Sat, 29 Mar 2008 01:37:49 GMT
Author: cdouglas
Date: Fri Mar 28 18:37:47 2008
New Revision: 642476

URL: http://svn.apache.org/viewvc?rev=642476&view=rev
Log:
HADOOP-2854. Remove deprecated o.a.h.ipc.Server::getUserInfo().
(lohit vijayarenu via cdouglas)


Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/java/org/apache/hadoop/ipc/Server.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=642476&r1=642475&r2=642476&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Mar 28 18:37:47 2008
@@ -59,6 +59,9 @@
     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)

Modified: hadoop/core/trunk/src/java/org/apache/hadoop/ipc/Server.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/java/org/apache/hadoop/ipc/Server.java?rev=642476&r1=642475&r2=642476&view=diff
==============================================================================
--- hadoop/core/trunk/src/java/org/apache/hadoop/ipc/Server.java (original)
+++ hadoop/core/trunk/src/java/org/apache/hadoop/ipc/Server.java Fri Mar 28 18:37:47 2008
@@ -123,15 +123,6 @@
     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



Mime
View raw message