hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11437) Modify cell tag handling code to treat the length as unsigned
Date Mon, 14 Jul 2014 13:10:04 GMT

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

Hudson commented on HBASE-11437:
--------------------------------

SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #375 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/375/])
HBASE-11437 Modify cell tag handling code to treat the length as unsigned. - Addendum (anoopsamjohn:
rev 858e848b686b212219ae2e9545141a2f560a62d6)
* hbase-client/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityConstants.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityUtils.java


> 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_0.98_V2.patch, HBASE-11437_addendum.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