hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zach York (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17312) [JDK8] Use default method for Observer Coprocessors
Date Thu, 16 Feb 2017 22:44:41 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15870811#comment-15870811
] 

Zach York commented on HBASE-17312:
-----------------------------------

bq. Phoenix has no support for master branch and no development for same currently planned.
Also, no plans to move up to JDK8 even.

I think when we get close to releasing HBase 2.0.0, Phoenix HBase branch-2.0.0 work/JDK 8
work should be discussed/start. I think it is okay to create JIRAs for that now in case people
want to pick it up.

In general, I think using default methods here is a good approach. (Much better to do it and
remove the Base classes now than having them deprecated for all of the 2.x line).

[~zghaobac] Can you post this on Review Board? I would like to review, but it is hard to review
a patch.

> [JDK8] Use default method for Observer Coprocessors
> ---------------------------------------------------
>
>                 Key: HBASE-17312
>                 URL: https://issues.apache.org/jira/browse/HBASE-17312
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>    Affects Versions: 2.0.0
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>         Attachments: HBASE-17312.master.001.patch, HBASE-17312.master.001.patch
>
>
> Use default method in MasterObserver, RegionObserver, RegionServerObserver and WALObserver.
And mark the BaseRegionObserver, BaseMasterAndRegionObserver, BaseRegionServerObserver and
BaseWALObserver. User can implement the interface directly and will not break compatibility
when add new default methods.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message