[
https://issues.apache.org/jira/browse/HBASE-21140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605549#comment-16605549
]
Xu Cang commented on HBASE-21140:
---------------------------------
"Striped" is available from guava since 13.0, but HBase branch-1 is using guava
12.0 now. (https://github.com/apache/hbase/blob/master/pom.xml#L1466) What's
the guideline for upgrading library such as guava? Thanks! [~Apache9]
If upgrading guava is not advised, I will extend IdLock to support String as
key type.
> Backport 'HBASE-21136 NPE in MetricsTableSourceImpl.updateFlushTime' to
> branch-1 . (and backport HBASE-15728 for branch-1)
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-21140
> URL: https://issues.apache.org/jira/browse/HBASE-21140
> Project: HBase
> Issue Type: Bug
> Components: metrics
> Reporter: Duo Zhang
> Assignee: Xu Cang
> Priority: Major
> Fix For: 1.5.0
>
> Attachments:
> HBASE-21140.diff_against_cf198a65e8d704d28538c4c165a941b9e5bac678.branch-1.001.patch
>
>
> There is no computeIfAbsent method on branch-1 as we still need to support
> JDK7, so the fix will be different with branch-2+.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)