hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Virag Kothari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11290) Unlock RegionStates
Date Thu, 11 Sep 2014 01:33:34 GMT

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

Virag Kothari commented on HBASE-11290:
---------------------------------------

I have a patch using region locks to avoid the heavy synchronized(this) in RegionStates. Also
it uses region locks to avoid synchronization on region plans in AM. Will put up the patch
for initial review very soon.

> Unlock RegionStates
> -------------------
>
>                 Key: HBASE-11290
>                 URL: https://issues.apache.org/jira/browse/HBASE-11290
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Francis Liu
>            Assignee: Virag Kothari
>         Attachments: HBASE-11290.draft.patch
>
>
> Even though RegionStates is a highly accessed data structure in HMaster. Most of it's
methods are synchronized. Which limits concurrency. Even simply making some of the getters
non-synchronized by using concurrent data structures has helped with region assignments. We
can go as simple as this approach or create locks per region or a bucket lock per region bucket.



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

Mime
View raw message