hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jieshan Bean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8251) enable SSH before assign META on Master startup
Date Sun, 07 Apr 2013 09:25:16 GMT

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

Jieshan Bean commented on HBASE-8251:
-------------------------------------

Yes, one corner case is META RS is killed just before new assignment happening(Killing happens
either during calling processRegionInTransitionAndBlockUntilAssigned or verifyMetaRegionLocation),
so rit is false and metaRegionLocation is false(Only under this scenario may trigger a new
assignment).
It may cause data-loss and double assignment.
Thanks, Chunhui, Rama and Jeffrey.
I'm thinking about adding a check(check for whether currentMetaServer is a online server or
a processing dead server, need to change something in ServerManager) before calling assignMeta.

                
> enable SSH before assign META on Master startup
> -----------------------------------------------
>
>                 Key: HBASE-8251
>                 URL: https://issues.apache.org/jira/browse/HBASE-8251
>             Project: HBase
>          Issue Type: Bug
>          Components: master, Region Assignment
>    Affects Versions: 0.94.6
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>         Attachments: HBASE-8251-94.patch
>
>
> I think HBASE-5918 could not fix this issue. In HMaster#assignRootAndMeta:
> 1. Assign ROOT.
> 2. Block until ROOT be opened.
> 3. Assign META.
> 4. Block until META be opened.
> SSH is enabled after step 4. So if the RS who host ROOT dies before step 4, master will
be blocked.

--
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