[
https://issues.apache.org/jira/browse/HBASE-14845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175048#comment-16175048
]
Sean Busbey commented on HBASE-14845:
-------------------------------------
this got fixed in HBase 2+ via the breakout into a mapreduce module:
{code}
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache HBase - MapReduce 2.0.0-alpha3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for
org.apache.hbase:hbase-server:jar:2.0.0-alpha3-20170913.213312-2 is invalid,
transitive dependencies (if any) will not be available, enable debug logging
for more details
[WARNING] The POM for
org.apache.hbase:hbase-server:jar:tests:2.0.0-alpha3-20170913.213312-2 is
invalid, transitive dependencies (if any) will not be available, enable debug
logging for more details
[INFO]
[INFO] --- maven-dependency-plugin:3.0.1:tree (default-cli) @ hbase-mapreduce
---
[INFO] org.apache.hbase:hbase-mapreduce:jar:2.0.0-alpha3-SNAPSHOT
[INFO] +-
org.apache.hbase.thirdparty:hbase-shaded-miscellaneous:jar:1.0.1:compile
[INFO] +- org.apache.hbase.thirdparty:hbase-shaded-netty:jar:1.0.1:compile
[INFO] +- org.apache.hbase.thirdparty:hbase-shaded-protobuf:jar:1.0.1:compile
[INFO] +- org.apache.hbase:hbase-common:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] | +- commons-codec:commons-codec:jar:1.10:compile
[INFO] | +- org.apache.commons:commons-collections4:jar:4.1:compile
[INFO] | \- org.apache.commons:commons-crypto:jar:1.0.0:compile
[INFO] +- org.apache.hbase:hbase-protocol:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
[INFO] +-
org.apache.hbase:hbase-protocol-shaded:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] +- org.apache.hbase:hbase-metrics:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] +- org.apache.hbase:hbase-metrics-api:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] +- io.dropwizard.metrics:metrics-core:jar:3.2.1:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.24:compile
[INFO] +- org.apache.hbase:hbase-prefix-tree:jar:2.0.0-alpha3-SNAPSHOT:runtime
[INFO] +- org.apache.htrace:htrace-core:jar:3.2.0-incubating:compile
[INFO] +- org.apache.hbase:hbase-client:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] | +- org.jruby.jcodings:jcodings:jar:1.0.18:compile
[INFO] | +- org.jruby.joni:joni:jar:2.1.11:compile
[INFO] | +- org.apache.curator:curator-framework:jar:2.12.0:compile
[INFO] | +- org.apache.curator:curator-client:jar:2.12.0:compile
[INFO] | \- org.apache.hadoop:hadoop-auth:jar:2.7.1:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.6:compile
[INFO] | \-
org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:compile
[INFO] | +-
org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:compile
[INFO] | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:compile
[INFO] | \- org.apache.directory.api:api-util:jar:1.0.0-M20:compile
[INFO] +- org.apache.hbase:hbase-hadoop-compat:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] +-
org.apache.hbase:hbase-hadoop2-compat:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] +- org.apache.hbase:hbase-server:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] +- org.apache.hbase:hbase-replication:jar:2.0.0-alpha3-SNAPSHOT:compile
[INFO] +- log4j:log4j:jar:1.2.17:compile
[INFO] +- commons-cli:commons-cli:jar:1.4:compile
[INFO] +- commons-io:commons-io:jar:2.5:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.6:compile
[INFO] +- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- org.apache.zookeeper:zookeeper:jar:3.4.10: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] +- com.github.stephenc.findbugs:findbugs-annotations:jar:1.3.9-1:compile
(optional)
[INFO] +- org.apache.hadoop:hadoop-common:jar:2.7.1:compile
[INFO] | +- com.google.guava:guava:jar:11.0.2:compile
[INFO] | +- org.apache.commons:commons-math3:jar:3.1.1:compile
[INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | +- commons-net:commons-net:jar:3.1:compile
[INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] | | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] | +- com.google.code.gson:gson:jar:2.2.4:compile
[INFO] | +- com.jcraft:jsch:jar:0.1.42:compile
[INFO] | +- org.apache.curator:curator-recipes:jar:2.12.0:compile
[INFO] | \- org.apache.commons:commons-compress:jar:1.4.1:compile
[INFO] | \- org.tukaani:xz:jar:1.0:compile
[INFO] +- org.apache.hadoop:hadoop-hdfs:jar:2.7.1:compile
[INFO] +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.7.1:compile
[INFO] | \- org.apache.hadoop:hadoop-yarn-common:jar:2.7.1:compile
[INFO] | +- javax.xml.bind:jaxb-api:jar:2.2.12:compile
[INFO] | +- com.sun.jersey:jersey-client:jar:1.9:compile
[INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:compile
[INFO] | +- org.codehaus.jackson:jackson-xc:jar:1.9.13:compile
[INFO] | +- com.sun.jersey:jersey-json:jar:1.9:compile
[INFO] | | \- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[INFO] | \- com.sun.jersey.contribs:jersey-guice:jar:1.9:compile
[INFO] \- org.apache.yetus:audience-annotations:jar:0.5.0:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{code}
Any objections to only leaving this fixed for 2+ and leaving out branch-1?
> hbase-server leaks jdk.tools dependency to mapreduce consumers
> --------------------------------------------------------------
>
> Key: HBASE-14845
> URL: https://issues.apache.org/jira/browse/HBASE-14845
> Project: HBase
> Issue Type: Bug
> Components: build, dependencies
> Affects Versions: 2.0.0, 0.98.14, 1.2.0, 1.1.2, 1.3.0, 1.0.3
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Critical
> Fix For: 1.5.0, 2.0.0-beta-2
>
> Attachments: HBASE-14845.1.patch
>
>
> HBASE-13963 / HBASE-14844 take care of removing leaks of our dependency on
> jdk-tools.
> Until we move the mapreduce support classes out of hbase-server
> (HBASE-11843), we need to also avoid leaking the dependency from that module.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)