[
https://issues.apache.org/jira/browse/PHOENIX-6903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17699817#comment-17699817
]
Istvan Toth commented on PHOENIX-6903:
--------------------------------------
This seems to be coming via hadoop-yarn-api.
I have no idea if we actually need it.
My personal opinion is that we shouldn't have any MR/Yarn libraries in
phoenix-client at all, but there is no consensus about that.
I also just noticed that master explictily depends on jaxb-api, which was added
in the HA patch.
> Shade or exclude javax.xml.bind:jaxb-api from the embedded client
> -----------------------------------------------------------------
>
> Key: PHOENIX-6903
> URL: https://issues.apache.org/jira/browse/PHOENIX-6903
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.1.2, 5.1.3
> Reporter: David Phillips
> Priority: Major
>
> We should shade or (preferably excude if possible) *javax.xml.bind:jaxb-api*
> from the embedded client. These classes cause conflicts and problems when
> used with other code that import the JAXB dependency.
> {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 -n10
> 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
> javax/xml/bind/ContextFinder.class
> javax/xml/bind/DataBindingException.class
> javax/xml/bind/DatatypeConverter.class
> javax/xml/bind/DatatypeConverterImpl$CalendarFormatter.class
> javax/xml/bind/DatatypeConverterImpl.class {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)