hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xufeng (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5615) the master never do balance becauseof balance the parent region
Date Fri, 23 Mar 2012 09:05:24 GMT

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

xufeng commented on HBASE-5615:
-------------------------------

reproduce this issue by 0.90
In this issue,META should hold parent region info for long time.So before test,I delete those
code in regionserver class:
{noformat}
  public void postOpenDeployTasks(final HRegion r, final CatalogTracker ct,
      final boolean daughter)
  throws KeeperException, IOException {
    // Do checks to see if we need to compact (references or too many files)
    /*if (r.hasReferences() || r.hasTooManyStoreFiles()) {
      getCompactionRequester().requestCompaction(r,
        r.hasReferences()? "Region has references on open" :
          "Region has too many store files");
    }*/
{noformat}

step1:start cluster that has two master and one regionerver process.
step2:create a table and input some data in it.
step3:split the table by shell.
step4:kill the active master.
step5:after backup master become active one,start another regionserver process.
result:the issue happen


I also test my patch many times and it can work.
                
> the master never do balance becauseof  balance the parent region
> ----------------------------------------------------------------
>
>                 Key: HBASE-5615
>                 URL: https://issues.apache.org/jira/browse/HBASE-5615
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.7
>            Reporter: xufeng
>            Assignee: xufeng
>            Priority: Critical
>         Attachments: HBASE-5615.patch
>
>
> the master never do balance becauseof when master do rebuildUserRegions()´╝îit will add
the parent region into  AssignmentManager#servers,
> if balancer let the parent region to move,the parent will in RIT forever.thus balance
will never be executed.

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