You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Cheng Pan (Jira)" <ji...@apache.org> on 2022/05/12 06:03:00 UTC

[jira] [Comment Edited] (HIVE-26220) Shade & relocate dependencies in hive-exec to avoid conflicting with downstream projects

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

Cheng Pan edited comment on HIVE-26220 at 5/12/22 6:02 AM:
-----------------------------------------------------------

A shaded & fully relocated metastore client is helpful as well.


was (Author: pan3793):
A shaded & full relocated metastore client is helpful as well.

> Shade & relocate dependencies in hive-exec to avoid conflicting with downstream projects
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-26220
>                 URL: https://issues.apache.org/jira/browse/HIVE-26220
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 4.0.0
>            Reporter: Chao Sun
>            Priority: Blocker
>
> Currently projects like Spark, Trino/Presto, Iceberg, etc, are depending on {{hive-exec:core}} which was removed in HIVE-25531. The reason these projects use {{hive-exec:core}} is because they have the flexibility to exclude, shade & relocate dependencies in {{hive-exec}} that conflict with the ones they brought in by themselves. However, with {{hive-exec}} this is no longer possible, since it is a fat jar that shade those dependencies but do not relocate many of them.
> In order for the downstream projects to consume {{hive-exec}}, we will need to make sure all the dependencies in {{hive-exec}} are properly shaded and relocated, so they won't cause conflicts with those from the downstream.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)