[
https://issues.apache.org/jira/browse/HBASE-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154729#comment-13154729
]
Jonathan Hsieh commented on HBASE-4842:
---------------------------------------
Hm.. this looks like a race or due to the lack of a rendezvous of some sort.
Up to HBASE-4378, there was a 15000ms (yikes 15 sec!) sleep between the 'hbck
-fix' call and the subsequent 'hbck' call that is supposed to be clean.
HBASE-4703 removed this.
My hunch is that maybe the update to META the 'hbck -fix' does isn't seen on
the second 'hbck' run.
https://github.com/apache/hbase/commit/6ca0e79a6ac92190238d5cda56f787ab9702d7fc#L61L138
TestHBaseFsck.java:138
> [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