You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2016/08/02 23:49:20 UTC

[jira] [Updated] (HBASE-16319) Fix TestCacheOnWrite after HBASE-16288

     [ https://issues.apache.org/jira/browse/HBASE-16319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-16319:
-----------------------------------
    Affects Version/s:     (was: 0.98.21)
             Priority: Trivial  (was: Major)
        Fix Version/s: 1.2.3
                       1.1.6
                       1.4.0
                       1.3.0
                       2.0.0

This is a problem on every branch I've tested except maybe master, and on master TestCacheOnWrite gets stuck here:

{noformat}
       at org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.clearBlockCache(TestCacheOnWrite.java:206)
        at org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.tearDown(TestCacheOnWrite.java:235)

{noformat}

so I can't tell if this is necessary there yet.

> Fix TestCacheOnWrite after HBASE-16288
> --------------------------------------
>
>                 Key: HBASE-16319
>                 URL: https://issues.apache.org/jira/browse/HBASE-16319
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Trivial
>             Fix For: 2.0.0, 1.3.0, 1.4.0, 1.1.6, 0.98.21, 1.2.3
>
>
> {noformat}
> testStoreFileCacheOnWrite[0](org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite)  Time elapsed: 0.938 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...INTERMEDIATE_INDEX=3[4]}> but was:<...INTERMEDIATE_INDEX=3[2]}>
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.readStoreFile(TestCacheOnWrite.java:308)
> 	at org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.testStoreFileCacheOnWriteInternals(TestCacheOnWrite.java:232)
> 	at org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.testStoreFileCacheOnWrite(TestCacheOnWrite.java:445)
> {noformat}
> etc



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)