Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 962C1183DF for ; Tue, 15 Sep 2015 13:37:05 +0000 (UTC) Received: (qmail 47630 invoked by uid 500); 15 Sep 2015 13:37:05 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 47591 invoked by uid 500); 15 Sep 2015 13:37:05 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 47578 invoked by uid 99); 15 Sep 2015 13:37:05 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 13:37:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 430DBDFBBB; Tue, 15 Sep 2015 13:37:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stack@apache.org To: commits@hbase.apache.org Message-Id: <866ed32bc1ff44a4a9d72af0297621f4@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) 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 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 Authored: Mon Jun 15 10:56:16 2015 +0200 Committer: stack 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); }