hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinna Rao Lalam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5806) Handle split region related failures on master restart and RS restart
Date Tue, 08 May 2012 06:15:57 GMT

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

Chinna Rao Lalam commented on HBASE-5806:
-----------------------------------------

Thanks for the review Stack. Patch updated with the debug message.

{code}
-    JVMClusterUtil.MasterThread mt =
-      JVMClusterUtil.createMasterThread(c,
-        this.masterClass, index);
+    JVMClusterUtil.MasterThread mt = JVMClusterUtil.createMasterThread(c,
+        (Class<? extends HMaster>) c.getClass(HConstants.MASTER_IMPL, HMaster.class),
index);
     this.masterThreads.add(mt);
{code}

Added the above change for setting the MockMaster class while restarting the master  without
this change master class is set through the property HConstants.MASTER_IMPL is not reflecting
because masterClass is already loaded.


{code}
default:
-        throw new IllegalStateException("Received event is not valid.");
+        break;
       }
{code}

While restarting the master regions in RS_ZK_REGION_SPLIT or RS_ZK_REGION_SPLITTING state
should not be handled in processRIT but here it is throwing the exception because of this
it failed. Here it should not throw any exception.
                
> Handle split region related failures on master restart and RS restart
> ---------------------------------------------------------------------
>
>                 Key: HBASE-5806
>                 URL: https://issues.apache.org/jira/browse/HBASE-5806
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Chinna Rao Lalam
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5806.patch, HBASE-5806_0.92.patch, HBASE-5806_0.94.patch,
HBASE-5806_0.94_1.patch, HBASE-5806_0.94_2.patch, HBASE-5806_trunk.patch, HBASE-5806_trunk_1.patch,
HBASE-5806_trunk_2.patch
>
>
> This issue is raised to solve issues that comes out of partial region split happened
and the region node in the ZK which is in RS_ZK_REGION_SPLITTING and RS_ZK_REGION_SPLIT is
not yet processed.
> This also tries to address HBASE-5615.

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