HBASE-17812 Remove RpcConnection from pool in AbstractRpcClient.cancelConnections

This commit is contained in:
zhangduo 2017-03-20 21:06:06 +08:00
parent 7bb0624bab
commit cc59fe4e91
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}
}