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 2020/05/27 06:25:00 UTC

[jira] [Commented] (PHOENIX-5202) Create uber client jar that has existing phoenix connectors

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

Istvan Toth commented on PHOENIX-5202:
--------------------------------------

Actually I am not sure that it's a good idea.

I've seen a lot of cases where including the full shaded client JAR in the classpath of of other projects has cause conflicts, especially with the logging setup.

It may be possible to create an embedded connector uber-jar without logging that would sidestep the logging issue, but we'd still have conflicts with different hadoop/hbase versions on the classpath, hadoop vs hadoop-client on classpath, unshaded vs shaded hbase libraries, etc.

Shading as little as we can get away with into the connectors on a case-by-case basis seems to be a more viable approach to me. (Maybe even go as far as the now removed presto connector did, and provide variants with/without HBase for example)

 

> Create uber client jar that has existing phoenix connectors
> -----------------------------------------------------------
>
>                 Key: PHOENIX-5202
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5202
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Thomas D'Silva
>            Priority: Major
>
> similar to how the phoenix-client jar included dependencies on phoenix-flume, phoenix-spark etc.



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