[ 
https://issues.apache.org/jira/browse/HBASE-19463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guanghao Zhang updated HBASE-19463:
-----------------------------------
    Attachment: HBASE-19463.master.001.patch

> 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
>              Labels: beginner
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19463.master.001.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)

Reply via email to