hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhuwanti Vaidya (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4726) RS should close region if it fails to mark it as 'OPENED'.
Date Thu, 03 Nov 2011 20:05:33 GMT

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

Madhuwanti Vaidya commented on HBASE-4726:
------------------------------------------

This is the scenario we saw:
1. Region r is opened on RS1 and ZNode is updated with RS2ZK_REGION_OPENED.
2. But for some reason update to META takes a long time. (Not sure why yet)
3. hbck reports r is still unassigned - since update to META has not happened yet.
4. hbck -fix is run.
5. Now master tries to assign r to RS2.
The following two happen simultaneously:
6a. Master now processes the old RS2ZK_REGION_OPENED update from RS1. This updates META and
clears ZK.
6a. RS2 onlines the r - but when it tries to set state to RS2ZK_REGION_OPENED, it gets a ZK
NoNodeException error.
                
> RS should close region if it fails to mark it as 'OPENED'.
> ----------------------------------------------------------
>
>                 Key: HBASE-4726
>                 URL: https://issues.apache.org/jira/browse/HBASE-4726
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.89.20100924
>            Reporter: Madhuwanti Vaidya
>            Assignee: Madhuwanti Vaidya
>            Priority: Minor
>
> Currently if a RS fails to mark a region as 'OPENED' it only logs an error. It will leave
the region open - this has caused duplicate region assignments in one of our production clusters.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message