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

James Taylor updated HBASE-19356:
---------------------------------
    Description: 
When HBase adds new methods to interfaces such as RegionScanner and 
Table/HTableInterface during minor releases, this breaks Phoenix because we 
have delegators for these interfaces that don't define the new method. We've 
worked around this in Phoenix by creating a new branch corresponding to the 
HBase minor release. This has become unwieldy as the number of branches 
increases. If instead the delegators lived in HBase and Phoenix used them 
instead, this issue would go away. 

 

  was:
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.


> Provide delegators for Phoenix implemented interfaces
> -----------------------------------------------------
>
>                 Key: HBASE-19356
>                 URL: https://issues.apache.org/jira/browse/HBASE-19356
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: James Taylor
>            Priority: Major
>
> When HBase adds new methods to interfaces such as RegionScanner and 
> Table/HTableInterface during minor releases, this breaks Phoenix because we 
> have delegators for these interfaces that don't define the new method. We've 
> worked around this in Phoenix by creating a new branch corresponding to the 
> HBase minor release. This has become unwieldy as the number of branches 
> increases. If instead the delegators lived in HBase and Phoenix used them 
> instead, this issue would go away. 
>  



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

Reply via email to