[
https://issues.apache.org/jira/browse/HBASE-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hsieh updated HBASE-4842:
----------------------------------
Attachment: hbase-4842.patch
With this patch, I add a 1s delay between 'hbck -fix' and 'hbck'. The test new
seems to pass consistently (ran 20x).
> [hbck] Fix intermittent failures on TestHBaseFsck.testHBaseFsck
> ---------------------------------------------------------------
>
> Key: HBASE-4842
> URL: https://issues.apache.org/jira/browse/HBASE-4842
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.90.4, 0.92.0, 0.94.0
> Reporter: Jonathan Hsieh
> Attachments: hbase-4842-breaker.patch, hbase-4842.patch
>
>
> 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