[
https://issues.apache.org/jira/browse/PHOENIX-5855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086006#comment-17086006
]
Mingliang Liu commented on PHOENIX-5855:
----------------------------------------
Thanks [~stoty]. This is a valid concern.
It's the trade-off between embracing newer Java platform (Java 7 is EOL and
will not be supported next year) and the effort of resolving conflict if any
when backporting. The options are:
# get stuck in Java 7 for both master and all old branches. We are basically on
this approach as I see Java 8 is used very sparingly in master branch
# use Java 8 in master branch extensively and take care of minor conflicts if
any for all 4.x branches. Patch author can provide separate patch if conflict
is major, or make the change cause less conflict.
# bump 4.16 (or 4.15.1?) to Java 8. Backporting to older branches will still
need some manual fix as above.
Hadoop and HBase community both have the same problem and they have been moving
to Java 8 in master branch for a while (>2 years). While older branches are
still on Java 7 (e.g. Hadoop 2.x) I think it is the right time for option 2 or
3. But I'll leave to the community who have binding votes make the call.
I'll CC this to dev@
> Java 8 fever
> ------------
>
> Key: PHOENIX-5855
> URL: https://issues.apache.org/jira/browse/PHOENIX-5855
> Project: Phoenix
> Issue Type: Improvement
> Components: core
> Reporter: Mingliang Liu
> Priority: Major
> Labels: easyfix
>
> I started learning Phoenix code and found some places are not using Java 8
> enough. I file this JIRA as an umbrella of efforts to make {{phoenix-core}}
> more Java 8 oriented. I will file sub-task while I'm navigating the code. So
> no special order or priority is planned.
> To assist review, I'll try to make changes limited to a file and/or a
> package. I don't plan changes to the existing code logic. Any collaboration
> will be appreciated. Feel free to file sub-tasks. And please help review.
> Thanks,
--
This message was sent by Atlassian Jira
(v8.3.4#803005)