HBASE-17812 Remove RpcConnection from pool in AbstractRpcClient.cancelConnections
This commit is contained in:
parent
7bb0624bab
commit
cc59fe4e91
|
@ -444,6 +444,7 @@ public abstract class AbstractRpcClient<T extends RpcConnection> implements RpcC
|
|||
&& remoteId.address.getHostName().equals(sn.getHostname())) {
|
||||
LOG.info("The server on " + sn.toString() + " is dead - stopping the connection "
|
||||
+ connection.remoteId);
|
||||
connections.removeValue(remoteId, connection);
|
||||
connection.shutdown();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue