hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-11437) Modify cell tag handling code to treat the length as unsigned
Date Sat, 12 Jul 2014 17:13:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059848#comment-14059848
] 

Anoop Sam John edited comment on HBASE-11437 at 7/12/14 5:12 PM:
-----------------------------------------------------------------

Sounds good to me Andy. Let me make the changes then.

That means same kind of trunk patch for branch-1 also. And the attached trunk patch applies
to branch-1 also.  I will add the doc about the change in API name in the 0.98 patch.


was (Author: anoop.hbase):
Sounds good to me Andy. Let me make the changes then.

> 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
>    Affects Versions: 0.98.0
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 0.99.0, 0.98.4, 2.0.0
>
>         Attachments: HBASE-11437.patch, HBASE-11437.patch, HBASE-11437.patch, HBASE-11437_0.98.patch,
HBASE-11437_branch-1.patch, HBASE-11437_trunk.patch
>
>
> 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)

Mime
View raw message