You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ec...@apache.org on 2015/08/26 22:47:19 UTC
hbase git commit: HBASE-14313 After a Connection sees
ConnectionClosingException on a connection it never recovers
Repository: hbase
Updated Branches:
refs/heads/branch-1.0 72b7f475c -> ea018af2e
HBASE-14313 After a Connection sees ConnectionClosingException on a connection it never recovers
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ea018af2
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ea018af2
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ea018af2
Branch: refs/heads/branch-1.0
Commit: ea018af2ea1737291916240d054c5c7871bb57c0
Parents: 72b7f47
Author: Elliott Clark <ec...@apache.org>
Authored: Tue Aug 25 18:39:31 2015 -0700
Committer: Elliott Clark <ec...@apache.org>
Committed: Wed Aug 26 13:46:11 2015 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hbase/ipc/RpcClientImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/ea018af2/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClientImpl.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClientImpl.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClientImpl.java
index f4fd844..d399341 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClientImpl.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClientImpl.java
@@ -933,7 +933,7 @@ public class RpcClientImpl extends AbstractRpcClient {
} catch (IOException e) {
// We set the value inside the synchronized block, this way the next in line
// won't even try to write
- shouldCloseConnection.set(true);
+ markClosed(e);
writeException = e;
interrupt();
}