Thinking about typical server installation in a corporate environment I'd
keep everything compatible with the same JVM version.

I've gone down the route for the cdh branch. Full JDK 7 compatibility
doesn't require changes in phoenix-core. Only a downgrade to spark 1.6 (
changes are only needed in a few IT, basically going back from Datasets to
Dataframes)  and going back to Avatica 1.10 ( involving reverting
PHOENIX-4755, PHOENIX-4750 and PHOENIX-4805 ).


On Fri, 30 Nov 2018, 18:57 Thomas D'Silva <tsi...@salesforce.com
<tdsi...@salesforce.com> wrote:

> We could allow individual submodules like the queryserver, or phoenix-spark
> to be built with their own compiler configuration (1.8+).
> This would allow these modules to use Java 1.8 features. I think this would
> be a good compromise given that they depend on
> features that are provided by versions of spark and avatica that no longer
> support Java 1.7.
> We can still ensure phoenix-core supports Java 1.7. You would have to skip
> building modules that require Java 1.8, WDYT?
>
> On Thu, Nov 29, 2018 at 6:11 PM Jaanai Zhang <cloud.pos...@gmail.com>
> wrote:
>
> > I'd vote for keep using java7 on 4.x branches. if upgrades to java8, it
> > will impact users who want to upgrade the latest 4.x branches. they must
> > consider using java8 in their running environments,  maybe their
> libraries
> > do not support java8, then they have to give up to upgrade. So I think
> that
> > drops support java7 is not friendly for some users.
> >
> >
> > ----------------------------------------
> >    Jaanai Zhang
> >    Best regards!
> >
> >
> >
> > Pedro Boado <pedro.bo...@gmail.com> 于2018年11月30日周五 上午6:13写道:
> >
> > > I'd vote for keep compiling 4.x branches in java7. It makes sense as
> it's
> > > just a new minor release.
> > >
> > > It's pretty easy reverting back to spark 1.6 and also avatica
> dependency
> > > could be reverted to the previous version.
> > >
> > > On 29 Nov 2018 21:41, "Thomas D'Silva" <tdsi...@salesforce.com> wrote:
> > >
> > > We have traditionally followed HBase's java support (see
> > > https://hbase.apache.org/book.html#basic.prerequisites). The
> > > phoenix-queryserver module has a dependency on Avatica which does not
> > > support Java 1.7. The phoenix-spark module depends on spark 2.3.2 which
> > > also does not support Java 1.7. Do folks feel we should continue to
> > provide
> > > support Java 1.7 on the 1.x branches?
> > >
> >
>

On Fri, 30 Nov 2018, 18:57 Thomas D'Silva <tdsi...@salesforce.com wrote:

> We could allow individual submodules like the queryserver, or phoenix-spark
> to be built with their own compiler configuration (1.8+).
> This would allow these modules to use Java 1.8 features. I think this would
> be a good compromise given that they depend on
> features that are provided by versions of spark and avatica that no longer
> support Java 1.7.
> We can still ensure phoenix-core supports Java 1.7. You would have to skip
> building modules that require Java 1.8, WDYT?
>
> On Thu, Nov 29, 2018 at 6:11 PM Jaanai Zhang <cloud.pos...@gmail.com>
> wrote:
>
> > I'd vote for keep using java7 on 4.x branches. if upgrades to java8, it
> > will impact users who want to upgrade the latest 4.x branches. they must
> > consider using java8 in their running environments,  maybe their
> libraries
> > do not support java8, then they have to give up to upgrade. So I think
> that
> > drops support java7 is not friendly for some users.
> >
> >
> > ----------------------------------------
> >    Jaanai Zhang
> >    Best regards!
> >
> >
> >
> > Pedro Boado <pedro.bo...@gmail.com> 于2018年11月30日周五 上午6:13写道:
> >
> > > I'd vote for keep compiling 4.x branches in java7. It makes sense as
> it's
> > > just a new minor release.
> > >
> > > It's pretty easy reverting back to spark 1.6 and also avatica
> dependency
> > > could be reverted to the previous version.
> > >
> > > On 29 Nov 2018 21:41, "Thomas D'Silva" <tdsi...@salesforce.com> wrote:
> > >
> > > We have traditionally followed HBase's java support (see
> > > https://hbase.apache.org/book.html#basic.prerequisites). The
> > > phoenix-queryserver module has a dependency on Avatica which does not
> > > support Java 1.7. The phoenix-spark module depends on spark 2.3.2 which
> > > also does not support Java 1.7. Do folks feel we should continue to
> > provide
> > > support Java 1.7 on the 1.x branches?
> > >
> >
>

Reply via email to