You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Chung (Jira)" <ji...@apache.org> on 2020/01/22 11:53:00 UTC

[jira] [Comment Edited] (HIVE-22126) hive-exec packaging should shade guava

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

Eugene Chung edited comment on HIVE-22126 at 1/22/20 11:52 AM:
---------------------------------------------------------------

[^HIVE-22126.01.patch] is incorrect and should be reopened.

Google guava has two packages starting with com.google.common and com.google.thirdparty.publicsuffix.

[https://github.com/google/guava/tree/master/guava/src/com/google]


was (Author: euigeun_chung):
This is incorrect and should be reopened.

Google guava has two packages starting with com.google.common and com.google.thirdparty.publicsuffix.

[https://github.com/google/guava/tree/master/guava/src/com/google]

> 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: Laszlo Pinter
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-22126.01.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)