[
https://issues.apache.org/jira/browse/PHOENIX-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215630#comment-17215630
]
Lars Hofhansl commented on PHOENIX-6151:
----------------------------------------
Looks like this *dramatically* slows down package builds!!
30 minutes and counting writing phoenix-client-5.1.0-SNAPSHOT-shaded.jar.
{code}
$ mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/apache-maven-3.6.3
Java version: 11.0.8, vendor: Red Hat, Inc., runtime:
/usr/lib/jvm/java-11-openjdk-11.0.8.10-2.fc32.x86_64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.8.15-201.fc32.x86_64", arch: "amd64", family:
"unix"
{code}
[~stoty]
> Switch phoenix-client to shade-by-default mode
> ----------------------------------------------
>
> Key: PHOENIX-6151
> URL: https://issues.apache.org/jira/browse/PHOENIX-6151
> Project: Phoenix
> Issue Type: Improvement
> Components: core
> Affects Versions: 5.1.0, 4.16.0
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Fix For: 5.1.0, 4.16.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Phoenix-client contains Phoenix, plus most of a Hadoop+Hbase stack.
> We keep running into difficulties, where phoenix-client conflicts with user
> code, or in the case of connectors with different components.
> Instead of shading packages explicitly, try the approach of shading
> everything, and only keeping unshaded the libraries that cannot be shaded.
> This is the approach taken by Hadoop.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)