HBASE-13337 Table regions are not assigning back, after restarting all regionservers at once (Samir Ahmic)

This commit is contained in:
stack 2015-07-08 17:20:05 -07:00
parent 7ab78d9ddf
commit 24cf287df4
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ public class AsyncRpcClient extends AbstractRpcClient {
throw new StoppedRpcClientException(); throw new StoppedRpcClientException();
} }
rpcChannel = connections.get(hashCode); rpcChannel = connections.get(hashCode);
if (rpcChannel == null) { if (rpcChannel == null || !rpcChannel.isAlive()) {
rpcChannel = new AsyncRpcChannel(this.bootstrap, this, ticket, serviceName, location); rpcChannel = new AsyncRpcChannel(this.bootstrap, this, ticket, serviceName, location);
connections.put(hashCode, rpcChannel); connections.put(hashCode, rpcChannel);
} }