[
https://issues.apache.org/jira/browse/HBASE-11412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251435#comment-14251435
]
Sergey Beryozkin commented on HBASE-11412:
------------------------------------------
Hi Enis, thanks for applying the patch; I see a couple of tests have failed - I
can't link those failures to this patch though - let me know please if you
reckon the patch needs more work. As a side note, more dependencies can likely
be excluded but I've no enough HBase experience at this stage to optimize it
further; will try to return to this issue when we start getting some feedback
from our users
Cheers, Sergey
> 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)