You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2015/06/18 14:30:01 UTC

[jira] [Updated] (HBASE-13933) DBE's seekBefore with tags corrupts the tag's offset information thus leading to incorrect results

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

ramkrishna.s.vasudevan updated HBASE-13933:
-------------------------------------------
    Attachment: HBASE-13933.patch

Just apply this to the TestSeekTo test case and you could see that there is an exception when the test tries to retrieve the row part from the cell retrieved. The error is due to the fact that the tagsOffset is wrong and thus the copy throws IndexOutofBound during Array copy. So this could just happen in a case where we have tags and would want to read the tags part from a Cell like VC or ACL.

> DBE's seekBefore with tags corrupts the tag's offset information thus leading to incorrect results
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-13933
>                 URL: https://issues.apache.org/jira/browse/HBASE-13933
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 2.0.0, 1.0.1, 1.1.0, 0.98.13, 1.0.1.1, 1.1.0.1
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Critical
>         Attachments: HBASE-13933.patch
>
>
> The problem occurs with moveToPrevious() case and incase of tags we copy the previous pointer's tag info to the current because already decoded the tags.
> Will check once again before I post other details.  I have a test case to reproduce the problem. Found this while working with MultibyteBuffers.



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