You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xiang Li (JIRA)" <ji...@apache.org> on 2016/08/10 07:43:22 UTC

[jira] [Resolved] (HBASE-16387) Correct javadoc for Cell, Integer.MAX_VALUE is not 2,147,483,648

     [ https://issues.apache.org/jira/browse/HBASE-16387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiang Li resolved HBASE-16387.
------------------------------
    Resolution: Duplicate

> Correct javadoc for Cell, Integer.MAX_VALUE is not 2,147,483,648
> ----------------------------------------------------------------
>
>                 Key: HBASE-16387
>                 URL: https://issues.apache.org/jira/browse/HBASE-16387
>             Project: HBase
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Xiang Li
>            Assignee: Xiang Li
>            Priority: Minor
>
> In Cell interface (hbase-common/src/main/java/org/apache/hadoop/hbase/Cell.java),
> we have the following comment for "value"
> {code}
>   /**
>    * Contiguous raw bytes that may start at any index in the containing array. Max length is
>    * Integer.MAX_VALUE which is 2,147,483,648 bytes.
>    * @return The array containing the value bytes.
>    */
> {code}
> Integer.MAX_VALUE is not 2,147,483,648 (2^31), but 2,147,483,647 (2^31-1)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)