[
https://issues.apache.org/jira/browse/HBASE-20020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369823#comment-16369823
]
Duo Zhang commented on HBASE-20020:
-----------------------------------
The intention here is that, all related calls to the HBase cluster will finally
call these methods in ConnectionImplementation
getClient
locateRegion
getMaster
getTableState
isTableAvailable
So inject closed check for these methods.
Removed the getMasterKeepAliveConnection and make getMaster return
MasterKeepAliveConnection directly. Since ClusterConnection is IA.Private we
can change it at any time. I'm not familiar with the keep alive logic for
master but since MasterKeepAliveConnection is not deprecated so I still make
use of it...
Thanks.
> Make sure we throw DoNotRetryIOException when ConnectionImplementation is
> closed
> --------------------------------------------------------------------------------
>
> Key: HBASE-20020
> URL: https://issues.apache.org/jira/browse/HBASE-20020
> Project: HBase
> Issue Type: Bug
> Components: Client
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Critical
> Fix For: 2.0.0-beta-2
>
> Attachments: HBASE-20020.patch
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)