[ 
https://issues.apache.org/jira/browse/HBASE-18577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-18577:
--------------------------------
    Attachment: HBASE-18577.WIP.3.patch

-03 still WIP, but (untested) client artifact now has reasonable looking deps

 - removed some transitives from hbase-client that I don't think are used
 - moved junit to test scope in hbase-client and shaded-client
 - moved all the logging backends to be optional

{code}
Busbey-MBA:hbase busbey$ mvn -Dtest=NoUnitTestsPlease -pl 
hbase-shaded/hbase-shaded-check-invariants -am -Prelease verify install
....
Busbey-MBA:hbase busbey$ mvn -f 
~/.m2/repository/org/apache/hbase/hbase-shaded-client/3.0.0-SNAPSHOT/hbase-shaded-client-3.0.0-SNAPSHOT.pom
 dependency:tree
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.11
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 11
[INFO] os.detected.classifier: osx-x86_64
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache HBase - Shaded - Client 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:tree (default-cli) @ 
hbase-shaded-client ---
[INFO] org.apache.hbase:hbase-shaded-client:jar:3.0.0-SNAPSHOT
[INFO] +- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- org.apache.htrace:htrace-core:jar:3.2.0-incubating:compile
[INFO] +- org.apache.hbase:hbase-resource-bundle:jar:3.0.0-SNAPSHOT:compile 
(optional) 
[INFO] +- log4j:log4j:jar:1.2.17:compile (optional) 
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.24:compile (optional) 
[INFO] +- org.slf4j:slf4j-api:jar:1.7.24:compile
[INFO] +- com.github.stephenc.findbugs:findbugs-annotations:jar:1.3.9-1:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] \- org.mockito:mockito-all:jar:1.10.19:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.185 s
[INFO] Finished at: 2017-08-19T02:22:32-05:00
[INFO] Final Memory: 21M/228M
[INFO] ------------------------------------------------------------------------
Busbey-MBA:hbase busbey$ 

{code}

hbase-shaded-server still is a mess:

{code}
Busbey-MBA:hbase busbey$ mvn -f 
~/.m2/repository/org/apache/hbase/hbase-shaded-server/3.0.0-SNAPSHOT/hbase-shaded-server-3.0.0-SNAPSHOT.pom
 dependency:tree
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.version: 10.11
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 11
[INFO] os.detected.classifier: osx-x86_64
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache HBase - Shaded - Server 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: 
file:/Users/busbey/.m2/repository/org/apache/hbase/hbase-shaded-server/3.0.0-SNAPSHOT/src/site/resources/repo/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/javax.el-3.0.1-b06-SNAPSHOT.pom
[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT is missing, 
no dependency information available
Downloading: 
file:/Users/busbey/.m2/repository/org/apache/hbase/hbase-shaded-server/3.0.0-SNAPSHOT/src/site/resources/repo/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/javax.el-3.0.1-b07-SNAPSHOT.pom
[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b07-SNAPSHOT is missing, 
no dependency information available
Downloading: 
file:/Users/busbey/.m2/repository/org/apache/hbase/hbase-shaded-server/3.0.0-SNAPSHOT/src/site/resources/repo/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/javax.el-3.0.1-b08-SNAPSHOT.pom
[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b08-SNAPSHOT is missing, 
no dependency information available
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.1:tree (default-cli) @ 
hbase-shaded-server ---
[INFO] org.apache.hbase:hbase-shaded-server:jar:3.0.0-SNAPSHOT
[INFO] +- org.eclipse.jetty:jetty-server:jar:9.3.8.v20160314:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
[INFO] +- org.eclipse.jetty:jetty-http:jar:9.3.8.v20160314:compile
[INFO] +- org.eclipse.jetty:jetty-io:jar:9.3.8.v20160314:compile
[INFO] +- org.eclipse.jetty:jetty-servlet:jar:9.3.8.v20160314:compile
[INFO] +- org.eclipse.jetty:jetty-security:jar:9.3.8.v20160314:compile
[INFO] +- org.eclipse.jetty:jetty-util:jar:9.3.8.v20160314:compile
[INFO] +- org.eclipse.jetty:jetty-util-ajax:jar:9.3.8.v20160314:compile
[INFO] +- org.eclipse.jetty:jetty-jsp:jar:9.2.19.v20160908:compile
[INFO] +- org.eclipse.jetty.toolchain:jetty-schemas:jar:3.1.M0:compile
[INFO] +- javax.servlet.jsp:javax.servlet.jsp-api:jar:2.3.1:compile
[INFO] +- org.glassfish.web:javax.servlet.jsp:jar:2.3.2:compile
[INFO] +- 
org.eclipse.jetty.orbit:javax.servlet.jsp.jstl:jar:1.2.0.v201105211821:compile
[INFO] +- org.glassfish.web:javax.servlet.jsp.jstl:jar:1.2.2:compile
[INFO] +- org.glassfish:javax.el:jar:3.0.0:compile
[INFO] +- 
org.eclipse.jetty.orbit:org.eclipse.jdt.core:jar:3.8.2.v20130121:compile
[INFO] +- org.eclipse.jetty:jetty-webapp:jar:9.3.8.v20160314:compile
[INFO] +- org.eclipse.jetty:jetty-xml:jar:9.3.8.v20160314:compile
[INFO] +- 
org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.25.1:compile
[INFO] +- org.glassfish.hk2.external:javax.inject:jar:2.5.0-b32:compile
[INFO] +- org.glassfish.jersey.core:jersey-common:jar:2.25.1:compile
[INFO] +- javax.annotation:javax.annotation-api:jar:1.2:compile
[INFO] +- 
org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.25.1:compile
[INFO] +- org.glassfish.hk2:hk2-api:jar:2.5.0-b32:compile
[INFO] +- org.glassfish.hk2:hk2-utils:jar:2.5.0-b32:compile
[INFO] +- 
org.glassfish.hk2.external:aopalliance-repackaged:jar:2.5.0-b32:compile
[INFO] +- org.glassfish.hk2:hk2-locator:jar:2.5.0-b32:compile
[INFO] +- org.javassist:javassist:jar:3.20.0-GA:compile
[INFO] +- org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile
[INFO] +- org.glassfish.jersey.core:jersey-server:jar:2.25.1:compile
[INFO] +- org.glassfish.jersey.core:jersey-client:jar:2.25.1:compile
[INFO] +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.25.1:compile
[INFO] +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] +- 
org.glassfish.jersey.media:jersey-media-json-jackson1:jar:2.23.2:compile
[INFO] |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:compile
[INFO] |  \- org.codehaus.jackson:jackson-xc:jar:1.9.13:compile
[INFO] +- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile
[INFO] +- org.apache.htrace:htrace-core:jar:3.2.0-incubating:compile
[INFO] +- com.sun.jersey:jersey-core:jar:1.9:compile
[INFO] +- com.sun.jersey:jersey-json:jar:1.9:compile
[INFO] |  \- org.codehaus.jettison:jettison:jar:1.3.8:compile
[INFO] |     \- stax:stax-api:jar:1.0.1:compile
[INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[INFO] +- com.sun.jersey:jersey-server:jar:1.9:compile
[INFO] |  \- asm:asm:jar:3.1:compile
[INFO] +- javax.xml.bind:jaxb-api:jar:2.2.12:compile
[INFO] +- com.sun.jersey:jersey-client:jar:1.9:compile
[INFO] +- javax.inject:javax.inject:jar:1:compile
[INFO] +- com.sun.jersey.contribs:jersey-guice:jar:1.9:compile
[INFO] |  +- com.google.inject:guice:jar:3.0:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  \- com.google.inject.extensions:guice-servlet:jar:3.0:compile
[INFO] +- org.apache.hbase:hbase-resource-bundle:jar:3.0.0-SNAPSHOT:compile 
(optional) 
[INFO] +- log4j:log4j:jar:1.2.17:compile (optional) 
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.24:compile (optional) 
[INFO] +- org.slf4j:slf4j-api:jar:1.7.24:compile
[INFO] +- com.github.stephenc.findbugs:findbugs-annotations:jar:1.3.9-1:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] \- org.mockito:mockito-all:jar:1.10.19:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.623 s
[INFO] Finished at: 2017-08-19T02:23:35-05:00
[INFO] Final Memory: 23M/228M
[INFO] ------------------------------------------------------------------------
{code}

> shaded client includes several non-relocated third party dependencies
> ---------------------------------------------------------------------
>
>                 Key: HBASE-18577
>                 URL: https://issues.apache.org/jira/browse/HBASE-18577
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 1.2.0, 1.1.2, 1.3.0, 2.0.0-alpha-1
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Critical
>             Fix For: 3.0.0, 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-alpha-3, 1.1.13
>
>         Attachments: HBASE-18577.WIP.0.patch, HBASE-18577.WIP.-1.patch, 
> HBASE-18577.WIP.1.patch, HBASE-18577.WIP.2.patch, HBASE-18577.WIP.3.patch
>
>
> we have some unexpected unrelocated third party dependencies in our shaded 
> artifacts.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to