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

Sean Busbey updated HBASE-18169:
--------------------------------
    Release Note: 
Refactor of Coprocessor API for hbase2. Purged methods that exposed too much of 
our internals. Other hooks were recast so they no longer took or returned 
internal classes; instead we pass Interfaces or read-only versions of 
implementations.

Here is some overview doc on changes in hbase2 for Coprocessors including 
detail on why the change was made:
https://github.com/apache/hbase/blob/branch-2.0/dev-support/design-docs/Coprocessor_Design_Improvements-Use_composition_instead_of_inheritance-HBASE-17732.adoc

  was:
Refactor of Coprocessor API for hbase2. Purged methods that exposed too much of 
our internals. Other hooks were recast so they no longer took or returned 
internal classes; instead we pass Interfaces or read-only versions of 
implementations.

Here is some overview doc on changes in hbase2 for Coprocessors including 
detail on why the change was made:
https://github.com/apache/hbase/blob/branch-2.0/dev-support/design-docs/Coprocessor_Design_Improvements-Use_composition_instead_of_inheritance-HBASE-17732-2017_09_27.pdf


> Coprocessor fix and cleanup before 2.0.0 release
> ------------------------------------------------
>
>                 Key: HBASE-18169
>                 URL: https://issues.apache.org/jira/browse/HBASE-18169
>             Project: HBase
>          Issue Type: Improvement
>          Components: Coprocessors
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Blocker
>             Fix For: 2.0.0-beta-1, 2.0.0
>
>
> As discussed in HBASE-18038. In RegionServerServices, Region and StoreFile 
> interfaces we expose too many unnecessary methods. We need to find a way to 
> not expose these methods to CP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to