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

James Taylor commented on PHOENIX-5022:
---------------------------------------

Looks like the cause is the upgrade to Avatica 1.12.0 (PHOENIX-4805) which 
depends on Java 1.8. Reverting back to Avatica 1.10.0 requires reverting 
PHOENIX-4755, PHOENIX-4750 and maybe more.

An easier alternative might be to require Java 1.8 for phoenix-queryserver. 
FYI, [~karanmehta93] & [~tdsilva]. I'd recommend that you make sure you set 
your default version of Java to 1.7 so that this doesn't keep happening.

> 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)

Reply via email to