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

Sean Busbey commented on HBASE-21479:
-------------------------------------

We should log what the filesystem we're writing to is at the stat of each test.

I think these tests are relying on the local filesystem instead of the mini DFS 
cluster and then falling prey to the fact that the local filesystem 
implementation from Hadoop doesn't actually flush/sync to disk when you ask it 
to.

> TestHRegionReplayEvents#testSkippingEditsWithSmallerSeqIdAfterRegionOpenEvent 
> fails with IndexOutOfBoundsException
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21479
>                 URL: https://issues.apache.org/jira/browse/HBASE-21479
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Major
>         Attachments: testHRegionReplayEvents-output.txt
>
>
> The test fails in both master branch and branch-2 :
> {code}
> testSkippingEditsWithSmallerSeqIdAfterRegionOpenEvent(org.apache.hadoop.hbase.regionserver.TestHRegionReplayEvents)
>   Time elapsed: 3.74 sec  <<< ERROR!
> java.lang.IndexOutOfBoundsException: Index: 2, Size: 1
>       at 
> org.apache.hadoop.hbase.regionserver.TestHRegionReplayEvents.testSkippingEditsWithSmallerSeqIdAfterRegionOpenEvent(TestHRegionReplayEvents.java:1042)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to