hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12839) Remove synchronization in ServerStatisticsTracker
Date Tue, 13 Jan 2015 02:27:34 GMT

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

Hudson commented on HBASE-12839:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #6014 (See [https://builds.apache.org/job/HBase-TRUNK/6014/])
HBASE-12839 Remove synchronization in ServerStatisticsTracker (apurtell: rev c32a2c0b16b1d7e41fd0ad4a2737b7f0f2806c82)
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/ServerStatisticTracker.java


> Remove synchronization in ServerStatisticsTracker
> -------------------------------------------------
>
>                 Key: HBASE-12839
>                 URL: https://issues.apache.org/jira/browse/HBASE-12839
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-12839.patch, HBASE-12839.patch
>
>
> Remove synchronization in ServerStatisticTracker. We can use putIfAbsent instead of a
synchronized block to add ServerStatistic objects to the concurrent statistics hashmap. 



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

Mime
View raw message