hbase-issues mailing list archives

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

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

rajeshbabu commented on HBASE-8251:
-----------------------------------

[~jeason]
As part of HBASE-5875 we fixed this.After enabling SSH only we are wating for META(before
4th step).
{code}
      assignmentManager.assignMeta();
      enableSSHandWaitForMeta();
{code}
{code}
  private void enableSSHandWaitForMeta() throws IOException,
      InterruptedException {
    enableServerShutdownHandler();
    this.catalogTracker.waitForMeta();
    // Above check waits for general meta availability but this does not
    // guarantee that the transition has completed
    this.assignmentManager
        .waitForAssignment(HRegionInfo.FIRST_META_REGIONINFO);
  }
{code}
                
> 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
>
> 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