Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6B17D200BDD for ; Fri, 25 Nov 2016 17:43:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 69F44160AFA; Fri, 25 Nov 2016 16:43:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E3102160B23 for ; Fri, 25 Nov 2016 17:42:59 +0100 (CET) Received: (qmail 65671 invoked by uid 500); 25 Nov 2016 16:42:58 -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 65313 invoked by uid 99); 25 Nov 2016 16:42:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2016 16:42:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7AB262C03EA for ; Fri, 25 Nov 2016 16:42:58 +0000 (UTC) Date: Fri, 25 Nov 2016 16:42:58 +0000 (UTC) From: "Xiang Li (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-17086) Add comments to explain why Cell#getTagsLength() returns an int MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 25 Nov 2016 16:43:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-17086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiang Li updated HBASE-17086: ----------------------------- Description: In the Cell interface, getTagsLength() returns a int But in the KeyValue implementation, tags length is of 2 bytes. Also in ExtendedCell, when explaining the KeyValue format, tags length is stated to be 2 bytes Any plan to update Cell interface to make getTagsLength() returns a short ? was: In the Cell interface, getTagsLength() returns a int But in the KeyValue implementation, tags length is a short. Also in ExtendedCell, when explaining the KeyValue format, tags length is stated to be 2 bytes Any plan to update Cell interface to make getTagsLength() returns a short ? > Add comments to explain why Cell#getTagsLength() returns an int > ---------------------------------------------------------------- > > Key: HBASE-17086 > URL: https://issues.apache.org/jira/browse/HBASE-17086 > Project: HBase > Issue Type: Bug > Components: Interface > Affects Versions: 2.0.0 > Reporter: Xiang Li > Assignee: Xiang Li > > In the Cell interface, getTagsLength() returns a int > But in the KeyValue implementation, tags length is of 2 bytes. Also in ExtendedCell, when explaining the KeyValue format, tags length is stated to be 2 bytes > Any plan to update Cell interface to make getTagsLength() returns a short ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)