hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Chung (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-22126) hive-exec packaging should shade guava
Date Fri, 24 Jan 2020 13:24:00 GMT

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

Eugene Chung edited comment on HIVE-22126 at 1/24/20 1:23 PM:
--------------------------------------------------------------

[^HIVE-22126.03.patch] 
 * The calcite, calcite-druid, and calcite avatica modules are included to shade their guava
usages.
 * Some unnecessary guava dependencies are removed.


was (Author: euigeun_chung):
[^HIVE-22126.03.patch] 
 * The calcite, calcite-druid, calcite avatica modules are included to shade guava of them.
 * Remove some unnecessary guava dependencies

> hive-exec packaging should shade guava
> --------------------------------------
>
>                 Key: HIVE-22126
>                 URL: https://issues.apache.org/jira/browse/HIVE-22126
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Vihang Karajgaonkar
>            Assignee: Eugene Chung
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-22126.01.patch, HIVE-22126.02.patch, HIVE-22126.03.patch
>
>
> The ql/pom.xml includes complete guava library into hive-exec.jar https://github.com/apache/hive/blob/master/ql/pom.xml#L990
This causes a problems for downstream clients of hive which have hive-exec.jar in their classpath
since they are pinned to the same guava version as that of hive. 
> We should shade guava classes so that other components which depend on hive-exec can
independently use a different version of guava as needed.



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

Mime
View raw message