hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17305) Two active HBase Masters can run at the same time under certain circumstances
Date Tue, 13 Dec 2016 22:42:59 GMT

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

Harsh J commented on HBASE-17305:

Note that its sorta possible to simulate this by forcing a deletion of znode. If the previous
active master is pre-assignment phase, and the new active moves to assignment after the deletion,
then both end up trying to assign over the cluster. The failure of one master only ever happens
if log splitting is still involved (thanks to HDFS' lease fencing).

> Two active HBase Masters can run at the same time under certain circumstances 
> ------------------------------------------------------------------------------
>                 Key: HBASE-17305
>                 URL: https://issues.apache.org/jira/browse/HBASE-17305
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 2.0.0
>            Reporter: Esteban Gutierrez
>            Assignee: Esteban Gutierrez
>            Priority: Critical
> This needs a little more investigation, but we found a very edgy case when the active
master is restarted and a stand-by master tries to become active, however the original active
master was able to become the active master again and just before the standby master passed
the point of the transition to become active we ended up with two active masters running at
the same time. Assuming the clock on both masters were accurate to milliseconds, this race
happened in less than 85ms. 

This message was sent by Atlassian JIRA

View raw message