From core-dev-return-37821-apmail-hadoop-core-dev-archive=hadoop.apache.org@hadoop.apache.org Thu May 01 04:04:43 2008 Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 32608 invoked from network); 1 May 2008 04:04:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 May 2008 04:04:42 -0000 Received: (qmail 42351 invoked by uid 500); 1 May 2008 04:04:42 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 42335 invoked by uid 500); 1 May 2008 04:04:42 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 42323 invoked by uid 99); 1 May 2008 04:04:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 21:04:42 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2008 04:04:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA235234C10C for ; Wed, 30 Apr 2008 21:00:55 -0700 (PDT) Message-ID: <1337847914.1209614455816.JavaMail.jira@brutus> Date: Wed, 30 Apr 2008 21:00:55 -0700 (PDT) From: "Tim Nelson (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3119) Text.getBytes() In-Reply-To: <734521468.1206727224699.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.