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/04/06 12:03:12 UTC

[jira] [Updated] (HBASE-13410) Bug in KeyValueUtil.oswrite() for non Keyvalue cases

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

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

Patch for trunk along with a test case.

> Bug in KeyValueUtil.oswrite() for non Keyvalue cases
> ----------------------------------------------------
>
>                 Key: HBASE-13410
>                 URL: https://issues.apache.org/jira/browse/HBASE-13410
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>
>         Attachments: HBASE-13410.patch
>
>
> KeyValueUtil.oswrite() handles the serialization of the Cells.  In case of non KV cases we write the tagLen as 0 but while deserializing using KeyValueUtil.create() this does not work as we don't include the tag length.  This problem is not visible because we don't write tags from the server to clients.  But if we have DBEs enabled and we have a scenario to send back the tags also to the clients then this will break.



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