hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8251) enable SSH before assign META on Master startup
Date Sat, 06 Apr 2013 03:19:16 GMT

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

Jeffrey Zhong commented on HBASE-8251:

[~zjushch] Thanks for the very good question!

How about if ROOT and META are on the same regionserver?

I handled this in MetaSSH, you can check details in the patch of hbase-7828(I pasted the related
code below). It basically wait for master meta assignment done then handle a deadButNotExpired
Meta RS.

+      if(!this.services.isServerShutdownHandlerEnabled()) {
+        // resubmit in case we're in master initialization and SSH hasn't been enabled yet.
+        this.services.getExecutorService().submit(this);
+        this.deadServers.add(serverName);
+      }
> 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

View raw message