[
https://issues.apache.org/jira/browse/HBASE-19356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271689#comment-16271689
]
stack commented on HBASE-19356:
-------------------------------
bq. It'd be helpful if HBase provided base implementations and delegates that
Phoenix could use instead.
Have you lads looked at hbase2 CP Interfaces? There is the move to Interfaces
with defaults that [~zyork] blames [~appy] for above (smile). This is what you
want, right? See new RegionObserver for how it works.
HTableInterface is not in hbase2. It has been deprecated since before hbase1.
We have Table Interface.
You used to be able to return your own RegionScanner but no longer in hbase2.
RegionScanner is unlikely to change but yeah, we can add defaults on the
Interface (CPs can't put in place their own RegionScanner... not even in hbase1
it looks like).
Need more specifics I'd say.
Thanks.
> Provide delegators and base implementation for Phoenix implemented interfaces
> -----------------------------------------------------------------------------
>
> Key: HBASE-19356
> URL: https://issues.apache.org/jira/browse/HBASE-19356
> Project: HBase
> Issue Type: Improvement
> Reporter: James Taylor
>
> Many of the changes Phoenix needs to make for various branches to support
> different versions of HBase are due to new methods being added to interfaces.
> Often times Phoenix can use a noop or simply needs to add the new method to
> it's delegate implementor. It'd be helpful if HBase provided base
> implementations and delegates that Phoenix could use instead. Here are some
> that come to mind:
> - RegionScanner
> - HTableInterface (Table interface now?)
> - RegionObserver
> There are likely others that [~rajeshbabu], [[email protected]], and
> [~elserj] would remember.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)