hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14963) Remove Guava dependency from HBase client code
Date Thu, 10 Dec 2015 23:59:10 GMT

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

Devaraj Das commented on HBASE-14963:
-------------------------------------

Yes [~stack] that would work for sure. For now, we saw the issue with the Stopwatch class
only, and hence the patch to only handle that.. But yeah I agree that shading is a better
approach overall.

> Remove Guava dependency from HBase client code
> ----------------------------------------------
>
>                 Key: HBASE-14963
>                 URL: https://issues.apache.org/jira/browse/HBASE-14963
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>         Attachments: no-stopwatch.txt
>
>
> We ran into an issue where an application bundled its own Guava (and that happened to
be in the classpath first) and HBase's MetaTableLocator threw an exception due to the fact
that Stopwatch's constructor wasn't compatible... Might be better to not depend on Stopwatch
at all in MetaTableLocator since the functionality is easily doable without.



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

Mime
View raw message