[
https://issues.apache.org/jira/browse/HBASE-19463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guanghao Zhang updated HBASE-19463:
-----------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Pushed to master and branch-2. Thanks all for reviewing.
> Make CPEnv#getConnection return a facade that throws Unsupported if CP calls
> #close
> -----------------------------------------------------------------------------------
>
> Key: HBASE-19463
> URL: https://issues.apache.org/jira/browse/HBASE-19463
> Project: HBase
> Issue Type: Improvement
> Components: Coprocessors
> Reporter: stack
> Assignee: Guanghao Zhang
> Labels: beginner
> Fix For: 2.0.0-beta-2
>
> Attachments: HBASE-19463.master.001.patch,
> HBASE-19463.master.002.patch
>
>
> Follows from HBASE-19301, a suggestion by [~zghaobac].
> To prevent a CP accidentally closing the connection returned by
> CpEnv#getConnection -- which returns the hosting Servers Connection -- we
> should throw UnsupportedException if the CP calls #close.... Do it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)