[ https://issues.apache.org/jira/browse/HBASE-17086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15663109#comment-15663109 ]
Xiang Li edited comment on HBASE-17086 at 11/14/16 8:50 AM: ------------------------------------------------------------ Hi Anoop, thanks, got it. So it is like a unsighed short = a char ? And what about the max length of tags in bytes ? 66635 (2^16-1) ? was (Author: water): Hi Anoop, thanks, got it. So it is like a unsighed short? And what about the max length of tags in bytes ? 66635 (2^16-1) ? > Cell#getTagsLength() returns a int, but in KeyValue, tags length is a short > --------------------------------------------------------------------------- > > 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 > > 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 ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)