Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 46611 invoked from network); 5 Jun 2007 16:03:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2007 16:03:56 -0000 Received: (qmail 71005 invoked by uid 500); 5 Jun 2007 16:03:59 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 70840 invoked by uid 500); 5 Jun 2007 16:03:57 -0000 Mailing-List: contact hadoop-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-user@lucene.apache.org Delivered-To: mailing list hadoop-user@lucene.apache.org Delivered-To: moderator for hadoop-user@lucene.apache.org Received: (qmail 45218 invoked by uid 99); 5 Jun 2007 07:16:54 -0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=TE6m+2MuSzlj1Tr/4o7I4zjkw1Ow0G6jK+iR81X13ICiNPWcPbYFDAltwTzL1LqK9vwOZZ6IWBvX9yRxsDKUzZuXMYtjCsRg2L1PZin5z7tTGrbLbUjbwuKSpw+gq48Ntb2+nSMHjBlFQMmv0hUh3ZTDx2rgtX2wJsFT7J784yQ=; X-YMail-OSG: COiS0TIVM1lKeun8iRlKMOWo8QS_rtTlv00Ra3GxBVK5YySVitlBFkQcVCcWU.Kh0N8B7uIeAb1P.IJUJLrSQ5Oqc76MY0lKOYgTmd6hinKsrB3f_b64Cg-- Date: Tue, 5 Jun 2007 00:16:28 -0700 (PDT) From: Richard Reply-To: kusanagiyang@gmail.com Subject: Question about Map input To: hadoop-user@lucene.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1901455106-1181027788=:91284" Content-Transfer-Encoding: 8bit Message-ID: <713298.91284.qm@web57713.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1901455106-1181027788=:91284 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello, I try to modify the input to MapClass. More specifically, taking the example WordCount, the map method in the MapClass accepts given keys and values, and in this case, it is LineRecordReader class that produces such inputs. If I define myRecordReader class, how (where) could I integrate it into hadoop? Or better yet, how to achieve such result without modifying Hadoop? Thanks. Richard Best Regards Richard Yang richardyang@richardyang.net kusanagiyang@yahoo.com --0-1901455106-1181027788=:91284--