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)

Reply via email to