hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangduo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13070) Fix TestCacheOnWrite
Date Fri, 20 Feb 2015 02:04:11 GMT

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

zhangduo updated HBASE-13070:
-----------------------------
    Attachment: HBASE-13070.patch

Clear BlockCache in tearDown. And modify testNotCachingDataBlocksDuringCompaction to also
use different BlockCache implementations.
I ran it 10 times locally, all passed.

> Fix TestCacheOnWrite
> --------------------
>
>                 Key: HBASE-13070
>                 URL: https://issues.apache.org/jira/browse/HBASE-13070
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0
>            Reporter: zhangduo
>            Assignee: zhangduo
>         Attachments: HBASE-13070.patch
>
>
> TestCacheOnWrite uses TestHFileWriterV2.randomOrderedKey to generate a random byte array,
then use first 32 bytes as row and remaining part as family and qualifier. But TestHFileWriterV2.randomOrderedKey
may return a byte array only contains 32 bytes, so there will be zero length family and qualifier.



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

Mime
View raw message