[
https://issues.apache.org/jira/browse/HBASE-17086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15696281#comment-15696281
]
Xiang Li edited comment on HBASE-17086 at 11/25/16 4:51 PM:
------------------------------------------------------------
Hi [~anoop.hbase], sorry for not responding to this JIRA for a long time.
I uploaded a patch to add some comments to the Cell interface, to explain why
getTagsLength() returns an int, which I hope could be of a little help for the
new comers (just like me). Could you please take a look, there is not code
change in the patch.
was (Author: water):
Hi [~anoop.hbase], sorry for not responding to this JIRA for a long time.
I uploaded a patch to add some comments to the Cell interface, to explain why
getTagsLength() returns an int, which I hope could be of a little help to the
new comers. Could you please take a look, there is not code change in the patch.
> 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
> Attachments: HBASE-17086.master.000.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)