Explorar el Código

HADOOP-6435. Make RPC.waitForProxy with timeout public. Contributed by Steve Loughran.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@893612 13f79535-47bb-0310-9956-ffa450edef68
Thomas White hace 15 años
padre
commit
d115e2cc3a
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/java/org/apache/hadoop/ipc/RPC.java

+ 3 - 0
CHANGES.txt

@@ -74,6 +74,9 @@ Trunk (unreleased changes)
 
     HADOOP-6454. Create setup.py for EC2 cloud scripts. (tomwhite)
 
+    HADOOP-6435. Make RPC.waitForProxy with timeout public. (Steve Loughran
+    via tomwhite)
+
   OPTIMIZATIONS
 
   BUG FIXES

+ 1 - 1
src/java/org/apache/hadoop/ipc/RPC.java

@@ -171,7 +171,7 @@ public class RPC {
    * @return the proxy
    * @throws IOException if the far end through a RemoteException
    */
-  static Object waitForProxy(Class protocol, long clientVersion,
+  public static Object waitForProxy(Class protocol, long clientVersion,
                              InetSocketAddress addr, Configuration conf,
                              long timeout) throws IOException { 
     long startTime = System.currentTimeMillis();