hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Liochon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9083) Downstreamers have to include a load of runtime dependencies
Date Fri, 20 Sep 2013 08:06:52 GMT

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

Nicolas Liochon commented on HBASE-9083:
----------------------------------------

Yes, thrift generates code that depends on sl4j. But we have a dependency on thrift, so may
be it brings slf4j with it?
[~webster] when you do a mvn dependency:analyze, what do you see? If it complains about something
like "usage of undeclared dependencies", it means that we're actually using the dependency.

In any case, it may make sense to declare it in our DependencyManagement section: as we have
multiple third parties requiring slf4j (zookeeper for example), so we may need to impose a
final version if we don't want all of them in the final package.
                
> Downstreamers have to include a load of runtime dependencies
> ------------------------------------------------------------
>
>                 Key: HBASE-9083
>                 URL: https://issues.apache.org/jira/browse/HBASE-9083
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build
>            Reporter: stack
>              Labels: noob
>             Fix For: 0.98.0
>
>         Attachments: HBASE_9083.patch
>
>
> Here is example from 0.95.  Downstream project includes hbase-client ONLY.  To run the
downstream project, here are the runtime dependencies currently.  This is hadoop1.
> {code}
>  java -cp target/client-1.0-SNAPSHOT.jar:/Users/stack/.m2/repository/org/apache/hbase/hbase-client/0.95.2-hadoop1-SNAPSHOT/hbase-client-0.95.2-hadoop1-SNAPSHOT.jar:/Users/stack/.m2/repository/org/apache/hbase/hbase-common/0.95.2-hadoop1-SNAPSHOT/hbase-common-0.95.2-hadoop1-SNAPSHOT.jar:/Users/stack/.m2/repository/org/apache/hadoop/hadoop-core/1.1.2/hadoop-core-1.1.2.jar:/Users/stack/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/stack/.m2/repository/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar:/Users/stack/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/stack/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/stack/.m2/repository/org/apache/hbase/hbase-protocol/0.95.2-hadoop1-SNAPSHOT/hbase-protocol-0.95.2-hadoop1-SNAPSHOT.jar:/Users/stack/.m2/repository/org/apache/zookeeper/zookeeper/3.4.5/zookeeper-3.4.5.jar:/Users/stack/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar:/Users/stack/.m2/repository/com/google/guava/guava/12.0.1/guava-12.0.1.jar:/Users/stack/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.8.8/jackson-mapper-asl-1.8.8.jar:/Users/stack/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.8.8/jackson-core-asl-1.8.8.jar:/Users/stack/.m2/repository/org/cloudera/htrace/htrace/1.50/htrace-1.50.jar:/Users/stack/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar:/Users/stack/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
 org.hbase.downstream.Client
> {code}
> Thats:
> {code}
> hbase-client
> base-common
> hbase-protocol
> hadoop-core
> commons-logging
> protobuf
> commons-lang
> commons-configuration
> zookeeper
> slf4j-api (AND commons-logging!)
> guava
> jackson-mapper-asl
> jackson-core-asl
> htrace
> slf4j-log4j12
> slf4j
> {code}
> Most of the above come in because of hadoop and zk (zk wants slf4j).
> Can we shed any of these?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message