hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Nelson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3119) Text.getBytes()
Date Thu, 01 May 2008 04:00:55 GMT

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

Tim Nelson updated HADOOP-3119:
-------------------------------

    Attachment: HADOOP-3119.patch

Simple clarification of what this function returns

> Text.getBytes()
> ---------------
>
>                 Key: HADOOP-3119
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3119
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.16.1
>            Reporter: Andrew Gudkov
>            Priority: Trivial
>         Attachments: HADOOP-3119.patch
>
>
> As said in javadoc, Text.getBytes() returns "raw bytes", but nothing said that it returns
*internal* array which length can be greater than Text.getLength().
> Maybe to provide toArray method, which will create new array of actual data?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message