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

stack commented on HBASE-4842:
------------------------------

J-D suggests disabling distributed splitting helps w/ this issue:

{code}
Index: src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
===================================================================
--- src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java       
(revision 1204807)
+++ src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java       
(working copy)
@@ -70,6 +70,7 @@
   
   @BeforeClass
   public static void setUpBeforeClass() throws Exception {
+    
TEST_UTIL.getConfiguration().setBoolean("hbase.master.distributed.log.splitting",
 false);
     TEST_UTIL.startMiniCluster(3);
   }
{code}

I've run it 10 times and it seems to work.  Running it 30 times more to see if 
I can beat Jon's fix.
                
> [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: 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