hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Stepachev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11756) Some assignment notifications are not triggered
Date Fri, 15 Aug 2014 19:35:18 GMT

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

Andrey Stepachev commented on HBASE-11756:

RegionStates can have it's own set of listeners (but with care, due of locking in RegionsStates,
suppose here threadpool can be used).
And AM, in turn, can register for changes in RegionStates and invoke it's own listeners.
Looks a bit complicated, but RS listeners can be triggered on any state changes, not only
for open/close.

What do you think about such design?

> Some assignment notifications are not triggered
> -----------------------------------------------
>                 Key: HBASE-11756
>                 URL: https://issues.apache.org/jira/browse/HBASE-11756
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
> In AssignmentManager, notifications are triggered when regions are opened/closed. However,
notifications are not always triggered. For example, when a server is dead, regions are closed
implicitly, and no notifications are triggered.
> Is it a better place to trigger such events in RegionStates?

This message was sent by Atlassian JIRA

View raw message