hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13410) Bug in KeyValueUtil.oswrite() for non Keyvalue cases
Date Mon, 06 Apr 2015 09:11:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14481061#comment-14481061
] 

Anoop Sam John commented on HBASE-13410:
----------------------------------------

Yes. This is an issue when KeyValueCodecWithTags is used. We have to fix. Thanks for the test
Ram.

> 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
>
>
> 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)

Mime
View raw message