[
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)