hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-17495) TestHRegionWithInMemoryFlush#testFlushCacheWhileScanning intermittently fails due to assertion error
Date Tue, 28 Feb 2017 01:15:45 GMT

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

Ted Yu edited comment on HBASE-17495 at 2/28/17 1:15 AM:
---------------------------------------------------------

When Compacting Memstore is turned on, TestHRegionWithInMemoryFlush would get more exposure.

Let me know if you want to add debug log anywhere.
It should be easy to reproduce the test failure looping the test.

I have run TestHRegion 170 iterations - all passed.


was (Author: yuzhihong@gmail.com):
When Compacting Memstore is turned on, TestHRegionWithInMemoryFlush would get more exposure.

Let me know if you want to add debug log anywhere.
It should be easy to reproduce the test failure looping the test.

I haven't run TestHRegion.

> TestHRegionWithInMemoryFlush#testFlushCacheWhileScanning intermittently fails due to
assertion error
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-17495
>                 URL: https://issues.apache.org/jira/browse/HBASE-17495
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>         Attachments: 17495-testHRegionWithInMemoryFlush-output-2.0123, testHRegionWithInMemoryFlush-flush-output.0123,
TestHRegionWithInMemoryFlush-out.0222.tar.gz, testHRegionWithInMemoryFlush-output.0119
>
>
> Looping through the test (based on commit 76dc957f64fa38ce88694054db7dbf590f368ae7),
I saw the following test failure:
> {code}
> testFlushCacheWhileScanning(org.apache.hadoop.hbase.regionserver.TestHRegionWithInMemoryFlush)
 Time elapsed: 0.53 sec  <<< FAILURE!
> java.lang.AssertionError: toggle=false i=940 ts=1484852861597 expected:<94> but
was:<92>
>   at org.junit.Assert.fail(Assert.java:88)
>   at org.junit.Assert.failNotEquals(Assert.java:834)
>   at org.junit.Assert.assertEquals(Assert.java:645)
>   at org.apache.hadoop.hbase.regionserver.TestHRegion.testFlushCacheWhileScanning(TestHRegion.java:3533)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>   at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>   at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>   at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> {code}
> See test output for details.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message