hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Teruyoshi Zenmyo (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-5724) Row cache of KeyValue should be cleared in readFields().
Date Thu, 05 Apr 2012 11:45:24 GMT

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

Teruyoshi Zenmyo updated HBASE-5724:

    Attachment: HBASE-5724.txt

The attached file is a patch which adds just one line together with a new test.
- set rowcache of KeyValue to null in the readFields()
- one new test which makes sure KeyValue.getRow() returns a correct value.
> Row cache of KeyValue should be cleared in readFields().
> --------------------------------------------------------
>                 Key: HBASE-5724
>                 URL: https://issues.apache.org/jira/browse/HBASE-5724
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1
>            Reporter: Teruyoshi Zenmyo
>         Attachments: HBASE-5724.txt
> KeyValue does not clear its row cache in reading new values (readFileds()).
> Therefore, If a KeyValue (kv) which caches its row bytes reads another KeyValue instance,
kv.getRow() returns a wrong value. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message