You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Madhuwanti Vaidya (Created) (JIRA)" <ji...@apache.org> on 2011/11/02 17:59:34 UTC

[jira] [Created] (HBASE-4726) RS should close region if it fails to mark it as 'OPENED'.

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

        

[jira] [Commented] (HBASE-4726) RS should close region if it fails to mark it as 'OPENED'.

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143831#comment-13143831 ] 

ramkrishna.s.vasudevan commented on HBASE-4726:
-----------------------------------------------

This may also be fixed by HBASE-4540.
                
> 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

        

[jira] [Resolved] (HBASE-4726) RS should close region if it fails to mark it as 'OPENED'.

Posted by "Jesse Yates (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Yates resolved HBASE-4726.
--------------------------------

    Resolution: Duplicate

Marking as duplicate and closing, unless there is an objection.
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HBASE-4726) RS should close region if it fails to mark it as 'OPENED'.

Posted by "Madhuwanti Vaidya (Commented) (JIRA)" <ji...@apache.org>.
    [ 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