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 2014/06/29 19:26:24 UTC
[jira] [Created] (HBASE-11437) Modify cell tag handling code to
treat the length as unsigned
Anoop Sam John created HBASE-11437:
--------------------------------------
Summary: Modify cell tag handling code to treat the length as unsigned
Key: HBASE-11437
URL: https://issues.apache.org/jira/browse/HBASE-11437
Project: HBase
Issue Type: Improvement
Reporter: Anoop Sam John
Assignee: Anoop Sam John
Fix For: 0.99.0, 0.94.5
We store each tag's length and total tags length with 2 bytes in KeyValue buffer, HFiles etc and we treat these lengths as short through out the code. So the max length can be Short.MAX_VALUE. We can treat these lengths as unsigned and +ve always. So we can actually treat these lengths as int and store with 2 bytes so that the max length can reach 65535.
--
This message was sent by Atlassian JIRA
(v6.2#6252)