You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org> on 2011/11/21 23:35:40 UTC

[jira] [Commented] (HBASE-4842) [hbck] Fix intermittent failures on TestHBaseFsck.testHBaseFsck

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

Jonathan Hsieh commented on HBASE-4842:
---------------------------------------

Output Examples:

Note that the ZK assignment and the META assignment did not change.
{code}
// hbck -fix call
ERROR: Region tableBadMetaAssign,,1321733234211.35120fc878802e3b6829e6d7b597b44c. listed in META on region server ubuntu64-build01.sf.cloudera.com,51134,1321733229687 but found on region server ubuntu64-build01.sf.cloudera.com,38112,1321733229583
Trying to fix assignment error...
...
// hbck after fix
ERROR: Region tableBadMetaAssign,,1321733234211.35120fc878802e3b6829e6d7b597b44c. listed in META on region server ubuntu64-build01.sf.cloudera.com,51134,1321733229687 but found on region server ubuntu64-build01.sf.cloudera.com,38112,1321733229583
{code}

Note that the ZK assignment changed but meta had not yet changed.
{code}
// hbck -fix
ERROR: Region tableBadMetaAssign,,1321719700727.af24fbbe3e1df676b8e31e3ff5765fb6. listed in META on region server p0123.sf.cloudera.com,36067,1321719696277 but found on region server p0123.sf.cloudera.com,54221,1321719696237
Trying to fix assignment error...
...
// hbck after fix
ERROR: Region tableBadMetaAssign,,1321719700727.af24fbbe3e1df676b8e31e3ff5765fb6. listed in META on region server p0123.sf.cloudera.com,36067,1321719696277 but found on region server p0123.sf.cloudera.com,59522,1321719696305
{code}
                
> [hbck] Fix intermittent failures on TestHBaseFsck.testHBaseFsck
> ---------------------------------------------------------------
>
>                 Key: HBASE-4842
>                 URL: https://issues.apache.org/jira/browse/HBASE-4842
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jonathan Hsieh
>
> Its seems that on the 0.92 branch in particular, TestHBaseFsck.testHBaseFsck is intermittently failing.
> In the test, a region's assignment is purposely changed in META but not in ZK.  After the equivalent of 'hbck -fix', a subsequent check that should be clean comes up with a new ZK assignment but with META still being inconsistent with ZK.  The RS in ZK sometimes this points to the same RS, but sometimes it "moves" to another ZK. 

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