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

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

I'll file a new issue.

The main issue isn't what is returned, but when.  With the first 'hbck -fix', 
the master makes a call to the regionserver to issue a request open the region 
(which adds data to meta).  This returns right away.  The next hbck call will 
cause the master query meta again which is used to check consistency.  
Sometimes the new meta entries are fixed before the second hbck call is done 
(failing the test), sometimes it is not (not failing).  

The slight delay allows the open request to finish and the meta entry to be 
updated before the subsequent 'hbck' call.
                
> [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
>            Assignee: Jonathan Hsieh
>         Attachments: 4842-v3.txt, 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

        

Reply via email to