HBASE-13337 Table regions are not assigning back, after restarting all regionservers at once.

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Samir Ahmic 2015-06-15 10:56:16 +02:00 committed by stack
parent 9a8ad7c27d
commit f51c79076d
1 changed files with 1 additions and 1 deletions

View File

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