You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "David Phillips (Jira)" <ji...@apache.org> on 2023/03/13 17:14:00 UTC

[jira] [Commented] (PHOENIX-6381) Shade or exclude javax.activation:javax.activation-api and javax.xml.bind:jaxb-api from the embedded client.

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

David Phillips commented on PHOENIX-6381:
-----------------------------------------

This is still an issue with 5.1.2:
{code:java}
$ jar tf .m2/repository/org/apache/phoenix/phoenix-client-embedded-hbase-2.2/5.1.2/phoenix-client-embedded-hbase-2.2-5.1.2.jar | grep javax/xml/bind | sort | head -n5
javax/xml/bind/
javax/xml/bind/Binder.class
javax/xml/bind/ContextFinder$1.class
javax/xml/bind/ContextFinder$2.class
javax/xml/bind/ContextFinder$3.class{code}
We should remove or shade these classes in the embedded JAR.

 

> Shade or exclude javax.activation:javax.activation-api and javax.xml.bind:jaxb-api from the embedded client.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-6381
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6381
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.1.0
>            Reporter: Lars Hofhansl
>            Priority: Major
>             Fix For: 5.1.1, 4.16.0
>
>
> We should shade or (preferably excude if possible) javax.activation:javax.activation-api and javax.xml.bind:jaxb-api from the embedded client.
> See also: https://github.com/trinodb/trino/pull/6865/files/357a03407e2b2943d1751ab35ad96a3a8744c9d7#r574297576



--
This message was sent by Atlassian Jira
(v8.20.10#820010)