[
https://issues.apache.org/jira/browse/PHOENIX-6053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17448125#comment-17448125
]
Istvan Toth commented on PHOENIX-6053:
--------------------------------------
Note to self ( or whoever picks this up)
When running with hbase-shaded-client, we need to shade the hbase shaded
org.apache.commons.configuration2 and org.apache.commons.beanutils libraries to
the hbase shaded ones, because the hbase-shaded-client API bleeds these
dependencies.
However, this breaks the included Omid libraries, which expect a newer
org.apache.commons.beanutils, and the shaded one coming from
hbase-shaded-client is missing a method.
> Use shaded hadoop-client and hbase-shaded-client in phoenix-client
> ------------------------------------------------------------------
>
> Key: PHOENIX-6053
> URL: https://issues.apache.org/jira/browse/PHOENIX-6053
> Project: Phoenix
> Issue Type: Improvement
> Components: core
> Affects Versions: 5.1.0
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Attachments: Phoenix_separation.pdf
>
>
> The phoenix client is built with the unshaded Hadoop and HBase dependencies,
> and then relocates some (a lot) of those to declutter the client classpath.
> Try to use hadoop-client and hbase-shaded-client-byo-hadoop instead. (And
> keep relocating our direct dependecies)
> While this will likely further bloat the thick client JAR, it shouldÂ
> * clean up the classpath further
> * Would decouple most of the dependencies that Phoenix shares with
> Hbase/Hadoop from them.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)