hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangduo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11412) Minimize a number of hbase-client transitive dependencies
Date Fri, 19 Dec 2014 02:40:13 GMT

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

zhangduo commented on HBASE-11412:
----------------------------------

It seems that you exclude jsr305 dependency in hbase-client? But HTableDescriptor use javax.annotation.Nonnull
which is in jsr305. Eclipse will show a compile error, but it does not break the maven build,
I don't know why...

> Minimize a number of hbase-client transitive dependencies
> ---------------------------------------------------------
>
>                 Key: HBASE-11412
>                 URL: https://issues.apache.org/jira/browse/HBASE-11412
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: 0.98.3
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 1.0.0, 2.0.0
>
>         Attachments: hbase11412.txt, hbase11412_2.patch, hbase11412_3.patch
>
>
> hbase-client has a number of transitive dependencies not needed for a client mode execution.
In my test I've added the following exclusions:
> {code:xml}
> <exclusions>
>                 <exclusion>
>             	   <groupId>com.sun.jersey</groupId>
>             	   <artifactId>jersey-server</artifactId>            	
>             	</exclusion>
>                 <exclusion>
>             	   <groupId>com.sun.jersey</groupId>
>             	   <artifactId>jersey-core</artifactId>            	
>             	</exclusion>
>                 <exclusion>
>             	   <groupId>com.sun.jersey</groupId>
>             	   <artifactId>jersey-json</artifactId>            	
>             	</exclusion>
>                 <exclusion>
>             	   <groupId>com.sun.jersey.contribs</groupId>
>             	   <artifactId>jersey-guice</artifactId>            	
>             	</exclusion>
>                 <exclusion>
>             	   <groupId>com.google.inject</groupId>
>             	   <artifactId>guice</artifactId>            	
>             	</exclusion>
>                 <exclusion>
>             	   <groupId>com.google.inject.extensions</groupId>
>             	   <artifactId>guice-servlet</artifactId>            	
>             	</exclusion>    
>                 <exclusion>
>             	   <groupId>org.mortbay.jetty</groupId>
>             	   <artifactId>jetty</artifactId>            	
>             	</exclusion>
>                 <exclusion>
>             	   <groupId>org.mortbay.jetty</groupId>
>             	   <artifactId>jetty-util</artifactId>            	
>             	</exclusion>
>                 <exclusion>
>             	   <groupId>commons-httpclient</groupId>
>             	   <artifactId>commons-httpclient</artifactId>            	
>             	</exclusion>
>            </exclusions>
> {code}
> Proposal: add related exclusions to some of the dependencies hbase-client depends upon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message