hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6713) Stopping meta/root RS may take 50mins when it is in region-splitting
Date Thu, 06 Sep 2012 02:13:07 GMT

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

Ted Yu commented on HBASE-6713:
-------------------------------

Can you explain rationale behind the condition below ?
{code}
+      if (!abortRequested || this.fsOk) {
+        if (this.compactSplitThread != null) {
{code}
For completeness, please add this.compactSplitThread = null; to the following block in join():
{code}
    if (this.compactSplitThread != null) {
      this.compactSplitThread.join();
    }
{code}

                
> Stopping meta/root RS may take 50mins when it is in region-splitting
> --------------------------------------------------------------------
>
>                 Key: HBASE-6713
>                 URL: https://issues.apache.org/jira/browse/HBASE-6713
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.94.1
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>             Fix For: 0.96.0, 0.94.3
>
>         Attachments: HBASE-6713.patch
>
>
> When we stop the RS carrying ROOT/META, if it is in the splitting for some region, the
whole stopping process may take 50 mins.
> The reason is :
> 1.ROOT/META region is closed when stopping the regionserver
> 2.The Split Transaction failed updating META and it will retry
> 3.The retry num is 100, and the total time is about 50 mins as default;
> This configuration is set by HConnectionManager#setServerSideHConnectionRetries
> I think 50 mins is too long to acceptable, my suggested solution is closing MetaTable
regions after the compact/split thread is closed

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