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
This commit is contained in:
parent
cc2f077d43
commit
d115e2cc3a
@ -74,6 +74,9 @@ Trunk (unreleased changes)
|
|||||||
|
|
||||||
HADOOP-6454. Create setup.py for EC2 cloud scripts. (tomwhite)
|
HADOOP-6454. Create setup.py for EC2 cloud scripts. (tomwhite)
|
||||||
|
|
||||||
|
HADOOP-6435. Make RPC.waitForProxy with timeout public. (Steve Loughran
|
||||||
|
via tomwhite)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
@ -171,7 +171,7 @@ public class RPC {
|
|||||||
* @return the proxy
|
* @return the proxy
|
||||||
* @throws IOException if the far end through a RemoteException
|
* @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,
|
InetSocketAddress addr, Configuration conf,
|
||||||
long timeout) throws IOException {
|
long timeout) throws IOException {
|
||||||
long startTime = System.currentTimeMillis();
|
long startTime = System.currentTimeMillis();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user