Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE63517BFA for ; Tue, 7 Apr 2015 04:38:12 +0000 (UTC) Received: (qmail 19725 invoked by uid 500); 7 Apr 2015 04:38:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 19678 invoked by uid 500); 7 Apr 2015 04:38:12 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 19667 invoked by uid 99); 7 Apr 2015 04:38:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 04:38:12 +0000 Date: Tue, 7 Apr 2015 04:38:12 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13410) Bug in KeyValueUtil.oswrite() for non Keyvalue cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14482569#comment-14482569 ] ramkrishna.s.vasudevan commented on HBASE-13410: ------------------------------------------------ Will commit this to master, branch-1 and branch-1.0. > 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 > Affects Versions: 1.0.0, 1.1.0 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Fix For: 2.0.0, 1.0.1, 1.1.0 > > Attachments: HBASE-13410.patch, 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)