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

Ted Yu commented on HBASE-10408:
--------------------------------

The failure shown in the attached test output was caused by 
hasRegionsForBothTables being set to true prematurely.
It happened when system table was hosted on the underlying region server but 
"disableTable" was not. This was not covered by region.isMetaRegion() check.
Patch v2 covers the above scenario.

> Intermittent TestDistributedLogSplitting#testLogReplayForDisablingTable 
> failure
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-10408
>                 URL: https://issues.apache.org/jira/browse/HBASE-10408
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 10408-v1.txt, 10408-v2.txt, 
> TestDistributedLogSplitting.out, 
> testDistributedLogSplitting-disablingTable.html
>
>
> Here was the assertion failure:
> {code} java.lang.AssertionError: expected:<1000> but was:<0> at 
> org.junit.Assert.fail(Assert.java:88) at 
> org.junit.Assert.failNotEquals(Assert.java:743) at 
> org.junit.Assert.assertEquals(Assert.java:118) at 
> org.junit.Assert.assertEquals(Assert.java:555) at 
> org.junit.Assert.assertEquals(Assert.java:542) at 
> org.apache.hadoop.hbase.master.TestDistributedLogSplitting.testLogReplayForDisablingTable(TestDistributedLogSplitting.java:838)
>  
> {code}
> This was due to the loop starting around line 823 not picking up any edits 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to