Sean Busbey created HBASE-22314:
-----------------------------------

             Summary: 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.0.0, 2.1.0, 2.2.0, 2.3.0
            Reporter: Sean Busbey
            Assignee: Sean Busbey
             Fix For: 3.0.0, 2.3.0, 2.0.6, 2.1.5, 2.2.1


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)

Reply via email to