[
https://issues.apache.org/jira/browse/HBASE-22314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Busbey updated HBASE-22314:
--------------------------------
Attachment: HBASE-22314.0.patch
> shaded byo-hadoop client should list needed hadoop modules as provided scope
> to avoid inclusion of unnecessary transitive depednencies
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-22314
> URL: https://issues.apache.org/jira/browse/HBASE-22314
> Project: HBase
> Issue Type: Bug
> Components: hadoop2, hadoop3, shading
> Affects Versions: 2.1.0, 2.0.0, 2.2.0, 2.3.0
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Major
> Fix For: 3.0.0, 2.3.0, 2.0.6, 2.1.5, 2.2.1
>
> Attachments: HBASE-22314.0.patch
>
>
> attempting to build against current hadoop trunk for HBASE-22087 shows that
> hte byo-hadoop client is trying to package transitive dependencies from the
> hadoop dependencies that we expressly say we don't need to bring with us.
> it's because we don't list those modules as provided, so all of their
> transitives are also in compile scope. The shading module does simple
> filtering when excluding things in a given scope, it doesn't e.g. make sure
> to also exclude the transitive dependencies of things it keeps out.
> since we don't want to list all the transitive dependencies of hadoop in our
> shading exclusion, we should list the needed hadoop modules as provided.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)