You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2016/11/29 07:24:58 UTC

[jira] [Resolved] (HBASE-17086) Add comments to explain why Cell#getTagsLength() returns an int, rather than a short

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

Anoop Sam John resolved HBASE-17086.
------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.0.0

Thanks for the patch Xiang Li

> Add comments to explain why Cell#getTagsLength() returns an int, rather than a short
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-17086
>                 URL: https://issues.apache.org/jira/browse/HBASE-17086
>             Project: HBase
>          Issue Type: Improvement
>          Components:  Interface
>    Affects Versions: 2.0.0
>            Reporter: Xiang Li
>            Assignee: Xiang Li
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17086.master.000.patch, HBASE-17086.master.001.patch
>
>
> 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)