hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-13337 Table regions are not assigning back, after restarting all regionservers at once.
Date Tue, 15 Sep 2015 13:37:05 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 9a8ad7c27 -> f51c79076


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

Signed-off-by: stack <stack@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f51c7907
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f51c7907
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f51c7907

Branch: refs/heads/master
Commit: f51c79076d2d4c87443dc04bc154c57093dade68
Parents: 9a8ad7c
Author: Samir Ahmic <samir@personal.com>
Authored: Mon Jun 15 10:56:16 2015 +0200
Committer: stack <stack@apache.org>
Committed: Tue Sep 15 06:36:57 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcClient.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f51c7907/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcClient.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcClient.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcClient.java
index 005f03c..a84cc1a 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcClient.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/AsyncRpcClient.java
@@ -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);
       }


Mime
View raw message