You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/12/08 17:27:00 UTC

[jira] [Created] (HBASE-19463) Make CPEnv#getConnection return a facade that throws Unsupported if CP calls #close

stack created HBASE-19463:
-----------------------------

             Summary: 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
             Fix For: 2.0.0-beta-2


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)