Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 45429 invoked from network); 8 Aug 2006 21:26:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2006 21:26:58 -0000 Received: (qmail 14905 invoked by uid 500); 8 Aug 2006 21:26:58 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 14739 invoked by uid 500); 8 Aug 2006 21:26:57 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 14730 invoked by uid 99); 8 Aug 2006 21:26:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 14:26:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2006 14:26:56 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ED76D41000C for ; Tue, 8 Aug 2006 21:24:13 +0000 (GMT) Message-ID: <31236916.1155072253970.JavaMail.jira@brutus> Date: Tue, 8 Aug 2006 14:24:13 -0700 (PDT) From: "Benjamin Reed (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-433) Better access to the RecordReader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Better access to the RecordReader --------------------------------- Key: HADOOP-433 URL: http://issues.apache.org/jira/browse/HADOOP-433 Project: Hadoop Issue Type: Improvement Components: mapred Affects Versions: 0.5.0 Reporter: Benjamin Reed Priority: Minor The record reader has access to the FileSplit which can in turn have information that is useful to the Mapper. For example, Map processing may vary according to file name or attributes associated with a file. Unfortunately, even using a MapRunner you only have access to the progress wrapper of the RecordReader. To get access to the real record reader I had to use a thread local variable which I set in RecordReader.getNext(). It would be much nicer if you could get a reference to the real RecordReader from the RecordReader passed to MapRunner. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira