Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 50124 invoked from network); 29 Jul 2008 14:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2008 14:06:53 -0000 Received: (qmail 17267 invoked by uid 500); 29 Jul 2008 14:06:52 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 17256 invoked by uid 500); 29 Jul 2008 14:06:52 -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 17240 invoked by uid 99); 29 Jul 2008 14:06:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 07:06:51 -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; Tue, 29 Jul 2008 14:06:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B0CAA234C185 for ; Tue, 29 Jul 2008 07:06:31 -0700 (PDT) Message-ID: <152233577.1217340391723.JavaMail.jira@brutus> Date: Tue, 29 Jul 2008 07:06:31 -0700 (PDT) From: "Tom White (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3566) Create an InputFormat for reading lines of text as Java Strings In-Reply-To: <1302478395.1213625865053.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-3566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617793#action_12617793 ] Tom White commented on HADOOP-3566: ----------------------------------- The patch should be updated to use the new API in org.apache.hadoop.mapreduce which has a RecordReader that is compatible with this approach, so there is no need to introduce NewInstanceRecordReader. > Create an InputFormat for reading lines of text as Java Strings > --------------------------------------------------------------- > > Key: HADOOP-3566 > URL: https://issues.apache.org/jira/browse/HADOOP-3566 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Reporter: Tom White > Assignee: Tom White > Fix For: 0.19.0 > > Attachments: hadoop-3566-v2.patch, hadoop-3566-v3.patch, hadoop-3566.patch > > > Such a StringInputFormat would be like TextInputFormat but with input types of Long and String, rather than LongWritable and Text. This would allow users to write MapReduce programs that used only Java native types (i.e. no Writables). > This is currently not possible to write without changes to Hadoop due to a limitation in the RecordReader interface explained here: https://issues.apache.org/jira/browse/HADOOP-3413?focusedCommentId=12597935#action_12597935 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.