You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/01/18 07:25:00 UTC

[jira] [Commented] (PHOENIX-6324) Queryserver IT suite incompatible with phoenix 5.13/4.16+ shading

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

Istvan Toth commented on PHOENIX-6324:
--------------------------------------

I cannot see a good solution to this now.

Using the shaded hbase-client in phoenix-client is a possible future solution ( for 5.x)

For now, we can default to building with Phoenix 4.15.

The resulting binaries are phoenix version agonistic, as they do not contain any Phoenix or HBase code, and only interact with Phoenix via the public JDBC API, so I do not see this as a blocker.


> Queryserver IT suite incompatible with phoenix 5.13/4.16+ shading
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-6324
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6324
>             Project: Phoenix
>          Issue Type: Bug
>          Components: queryserver
>    Affects Versions: queryserver-6.0.0
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> The shading changes in Phoenix-client for  4.16+ and 5.1+ are incompatible with the minicluster.
> we get
> {noformat}
> java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.phoenix.shaded.org.eclipse.jetty.server.session.SessionHandler.getSessionManager()Lorg/apache/phoenix/shaded/org/eclipse/jetty/server/SessionManager;
> 	at org.apache.phoenix.query.BaseTest.initMiniCluster(BaseTest.java:557)
> {noformat}
> when we try to start the minicluster.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)