[
https://issues.apache.org/jira/browse/HBASE-7777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574243#comment-13574243
]
Ted Yu commented on HBASE-7777:
-------------------------------
For testSplitDaughtersNotInMeta:
{code}
+ assertErrors(hbck, new ERROR_CODE[] {ERROR_CODE.NOT_IN_META_OR_DEPLOYED,
+ ERROR_CODE.NOT_IN_META_OR_DEPLOYED,
ERROR_CODE.HOLE_IN_REGION_CHAIN}); //no LINGERING_SPLIT_PARENT
+
+ //now fix it. The fix should not revert the region split, but add
daughters to META
+ hbck = doFsck(conf, true, true, false, false, false, false, false,
false, null);
+ assertErrors(hbck, new ERROR_CODE[] {ERROR_CODE.NOT_IN_META_OR_DEPLOYED,
+ ERROR_CODE.NOT_IN_META_OR_DEPLOYED,
ERROR_CODE.HOLE_IN_REGION_CHAIN});
{code}
The error codes in the assertions are the same. I guess this is intentional.
> HBCK check for lingering split parents should check for child regions
> ---------------------------------------------------------------------
>
> Key: HBASE-7777
> URL: https://issues.apache.org/jira/browse/HBASE-7777
> Project: HBase
> Issue Type: Bug
> Components: hbck, regionserver
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Fix For: 0.96.0
>
> Attachments: hbase-7777_v1.patch, hbase-7777_v2.patch
>
>
> HBCK checks for split parent regions being in meta and hdfs, and reports this
> as a transient error.
> However, split parents, by design, linger around for some time, until its
> children stops referring to it.
> Instead we should check whether the children are there, and do not report
> anything if it is so.
--
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