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-9184) Ignore zk assign event if region is not known in transition
Date Tue, 13 Aug 2013 06:34:53 GMT

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

Hudson commented on HBASE-9184:
-------------------------------

SUCCESS: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #671 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/671/])
HBASE-9184 Ignore zk assign event if region is not known in transition (jxiang: rev 1513294)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManagerOnCluster.java

                
> Ignore zk assign event if region is not known in transition
> -----------------------------------------------------------
>
>                 Key: HBASE-9184
>                 URL: https://issues.apache.org/jira/browse/HBASE-9184
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: trunk-9184.patch
>
>
> This is a follow up of HBASE-9161.  Currently, if a region is in transition, we ignore
any unexpected zk assign event and log a warning. For example, a zk closing event will be
ignored if the region is pending open actually.  However, if the region is not in transition,
we will accept such events.  For events not related to split/merge, we should ignore them
and log a warning too, to tighten up the region state transition.  During normal operation,
this (ensuring region is in transition before accepting transition related events) is fine.
 During master failover, this is fine as long as we don't do region transition bypass ZK.
 We should also make sure to watch assignment znodes after user region states are recovered,
so that we don't log many such warnings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message