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

Haohui Mai commented on HADOOP-10995:
-------------------------------------

bq. Actually, the hbase libs only, we will stop the cascading dependency

Can you be more specific? Here is the result of {{mvn dependency:tree}} of 
hbase-client:

{noformat}
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ hbase-client ---
[INFO] org.apache.hbase:hbase-client:jar:0.99.0-SNAPSHOT
[INFO] +- org.apache.hbase:hbase-common:jar:0.99.0-SNAPSHOT:compile
[INFO] |  \- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] +- org.apache.hbase:hbase-common:test-jar:tests:0.99.0-SNAPSHOT:test
[INFO] +- org.apache.hbase:hbase-protocol:jar:0.99.0-SNAPSHOT:compile
[INFO] +- commons-codec:commons-codec:jar:1.7:compile
[INFO] +- commons-io:commons-io:jar:2.4:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- commons-logging:commons-logging:jar:1.1.3:compile
[INFO] +- com.google.guava:guava:jar:12.0.1:compile
[INFO] |  \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
[INFO] +- io.netty:netty:jar:3.6.6.Final:compile
[INFO] +- org.apache.zookeeper:zookeeper:jar:3.4.6:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:1.6.4:compile
[INFO] |  \- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO] +- org.htrace:htrace-core:jar:3.0.3:compile
[INFO] |  \- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
[INFO] +- org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:compile
[INFO] |  \- org.codehaus.jackson:jackson-core-asl:jar:1.8.8:compile
[INFO] +- log4j:log4j:jar:1.2.17:test
[INFO] +- org.apache.hadoop:hadoop-common:jar:2.4.0:compile
[INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
[INFO] |  +- org.apache.commons:commons-math3:jar:3.1.1:compile
[INFO] |  +- xmlenc:xmlenc:jar:0.52:compile
[INFO] |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] |  +- commons-net:commons-net:jar:3.1:compile
[INFO] |  +- org.mortbay.jetty:jetty:jar:6.1.26:compile
[INFO] |  +- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] |  +- com.sun.jersey:jersey-json:jar:1.8:compile
[INFO] |  |  +- org.codehaus.jettison:jettison:jar:1.3.1:compile
[INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[INFO] |  |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.8.8:compile
[INFO] |  |  \- org.codehaus.jackson:jackson-xc:jar:1.8.8:compile
[INFO] |  +- commons-el:commons-el:jar:1.0:runtime
[INFO] |  +- net.java.dev.jets3t:jets3t:jar:0.9.0:compile
[INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.1.2:compile
[INFO] |  |  \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
[INFO] |  +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] |  |  +- commons-digester:commons-digester:jar:1.8:compile
[INFO] |  |  |  \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] |  |  \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] |  +- org.apache.avro:avro:jar:1.7.4:compile
[INFO] |  |  +- com.thoughtworks.paranamer:paranamer:jar:2.3:compile
[INFO] |  |  \- org.xerial.snappy:snappy-java:jar:1.0.4.1:compile
[INFO] |  +- com.jcraft:jsch:jar:0.1.42: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-auth:jar:2.4.0:compile
[INFO] |  \- org.apache.httpcomponents:httpclient:jar:4.2.5:compile
[INFO] +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.4.0:compile
[INFO] |  +- org.apache.hadoop:hadoop-yarn-common:jar:2.4.0:compile
[INFO] |  |  +- org.apache.hadoop:hadoop-yarn-api:jar:2.4.0:compile
[INFO] |  |  +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
[INFO] |  |  |  \- javax.activation:activation:jar:1.1:compile
[INFO] |  |  +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] |  |  +- com.google.inject:guice:jar:3.0:compile
[INFO] |  |  |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  |  +- com.sun.jersey:jersey-server:jar:1.8:compile
[INFO] |  |  |  \- asm:asm:jar:3.1:compile
[INFO] |  |  \- com.sun.jersey.contribs:jersey-guice:jar:1.9:compile
[INFO] |  \- com.google.inject.extensions:guice-servlet:jar:3.0:compile
[INFO] +- org.apache.hadoop:hadoop-annotations:jar:2.4.0:compile
[INFO] |  \- jdk.tools:jdk.tools:jar:1.7:system
[INFO] +- com.github.stephenc.findbugs:findbugs-annotations:jar:1.3.9-1:compile
[INFO] +- junit:junit:jar:4.11:compile
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO] \- org.mockito:mockito-all:jar:1.9.0:test
{noformat}

For example, hbase-client needs to depend on hadoop-common, which depends on 
jetty and guava. That is said, this will block incompatible changes like 
HADOOP-10075, HADOOP-10101 going into trunk. That beats the whole point of 
having the trunk branch.



> HBase cannot run correctly with Hadoop trunk
> --------------------------------------------
>
>                 Key: HADOOP-10995
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10995
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>            Priority: Critical
>         Attachments: HADOOP-10995.1.patch
>
>
> Several incompatible changes that happened on trunk but not on branch-2 have 
> broken the compatibility for HBbase:
> HADOOP-10348
> HADOOP-8124
> HADOOP-10255
> In general, HttpServer is and Syncable.sync have been missed.
> It blocks YARN-2032, which makes timeline sever support HBase store.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to