[
https://issues.apache.org/jira/browse/PHOENIX-5022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702140#comment-16702140
]
Josh Elser commented on PHOENIX-5022:
-------------------------------------
{quote}Is the 4.x-HBase-1.3 branch being compiled with Java 1.7? Is it perhaps
due to an issue with Avatica only supporting 1.8?
{quote}
Yeah, that's definitely the core problem, but I'm not sure how to address it.
Moving to Java8 is definitely what we should be working towards, but HBase 1.x
being "stuck" on Java7 leaves us at an impasse. While I can understand why
HBase 1.x has done this, I don't agree that it's a good idea.
Do we, in Phoenix, really want to stick to Java7 for HBase 1.x builds, or are
we just doing that because of what HBase is doing?
> For 1.x branches, phoenix-queryserver encounters build failure
> --------------------------------------------------------------
>
> Key: PHOENIX-5022
> URL: https://issues.apache.org/jira/browse/PHOENIX-5022
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Assignee: Josh Elser
> Priority: Blocker
> Fix For: 4.15.0
>
>
> It's likely been masked by frequent failures/flappers in phoenix-core, but
> we're (maybe) finally able to run all the tests successfully. Maybe a Java 8
> dependency snuck in again?
>
> From this build: [https://builds.apache.org/job/Phoenix-omid2/150/console]
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on
> project phoenix-queryserver: Execution default-test of goal
> org.apache.maven.plugins:maven-surefire-plugin:2.20:test failed:
> java.lang.UnsupportedClassVersionError:
> org/apache/calcite/avatica/server/HttpServer$Builder : Unsupported
> major.minor version 52.0 -> [Help 1]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)