Return-Path: Delivered-To: apmail-hadoop-general-archive@minotaur.apache.org Received: (qmail 4669 invoked from network); 15 Oct 2009 18:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 18:31:32 -0000 Received: (qmail 61378 invoked by uid 500); 15 Oct 2009 18:31:31 -0000 Delivered-To: apmail-hadoop-general-archive@hadoop.apache.org Received: (qmail 61308 invoked by uid 500); 15 Oct 2009 18:31:31 -0000 Mailing-List: contact general-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@hadoop.apache.org Delivered-To: mailing list general@hadoop.apache.org Received: (qmail 61288 invoked by uid 99); 15 Oct 2009 18:31:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 18:31:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.195.15.204] (HELO web111413.mail.gq1.yahoo.com) (67.195.15.204) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Oct 2009 18:31:21 +0000 Received: (qmail 50946 invoked by uid 60001); 15 Oct 2009 18:30:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255631459; bh=u7/RQRPxKRrAAe86bLiqX8r7GaKMFA2R0YRw/nJCPAE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=hojEtSmjKIxaMcXbUBh6tolMScU/TU0K1CcrNLhEkfgTubhFxGo5TDsRLH9QDh+nqIfRcmly9p5kceCInAm5zxesi48yP6rqhFH1it8xXPDA10RkPNorIsslkjnz7tG7kMwLfRWlu5WzVL0xkwjIn2g/PF261l2Go8A1j3oIGIg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=s+jfusG8PPmNBFYvOyFIB5Kd/7HERF1yJ2R5eoaoUqR45dpWik4oH7wKprl4vm3MBLaS5IsHBZHR1b95v0E8Osi9fHsXn0S/mo414Fk5OuDjCX5diti82mcwBvhj5Y3bk7RqZO1zZTzcbLn0cvJ+dUmCrPhXeDIVnViw5KtF+0w=; Message-ID: <297355.50875.qm@web111413.mail.gq1.yahoo.com> X-YMail-OSG: _8rmYAEVM1lDfFcpUR5.PRBbgA3x2P6hezC_puh2wbaczjvjfg.Je2BqLoUN6B2o4gzxS1GX19RoaCf13mtTeQbIH1Xc4811XTXYSKvJzJrNhQ9xENLVmwHn_6ceJx4znpNdoqegUXcOHujBGQjyR_tO3LSSrzSUtXG7KpCrHp_qBO._73.NLB7T8DGyO9_ykCh7i_zE9MF6mNEoVq7MnX5lGH_6L9ZvhgssfAwOOCeQIm7S.qsZYFSb3lZHtU_7aymUrR8IHxCUvUUYoHcCu059kj4BpVdZf6oZQaX11NTGoA7ZiO8PmoRqE4I._9bOMkH3B9h2E2kmC1PxP3lrSxSRQGx8iwBqBWBI8X_r5c_UjwMRQqTyg5eZrsa_oq4- Received: from [216.239.45.4] by web111413.mail.gq1.yahoo.com via HTTP; Thu, 15 Oct 2009 11:30:59 PDT X-Mailer: YahooMailRC/182.10 YahooMailWebService/0.7.361.3 References: <967240.52565.qm@web111409.mail.gq1.yahoo.com> <805542.37510.qm@web111408.mail.gq1.yahoo.com> <5D66A842901F8E41815AF6D27A28EC490A7D6E07EF@Mail-Ab02.rmg-ny.com> Date: Thu, 15 Oct 2009 11:30:59 -0700 (PDT) From: Something Something Subject: Re: Question about MapReduce To: hbase-user@hadoop.apache.org, Hadoop In-Reply-To: <5D66A842901F8E41815AF6D27A28EC490A7D6E07EF@Mail-Ab02.rmg-ny.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-593399548-1255631459=:50875" X-Virus-Checked: Checked by ClamAV on apache.org --0-593399548-1255631459=:50875 Content-Type: text/plain; charset=us-ascii 1) I don't think TableInputFormat is useful in this case. Looks like it's used for scanning columns from a single HTable. 2) TableMapReduceUtil - same problem. Seems like this works with just one table. 3) JV recommended NLineInputFormat, but my parameters are not in a file. They come from multiple files and are in memory. I guess what I am looking for is something like... InMemoryInputFormat... similar to FileInputFormat & DbInputFormat. There's no such class right now. Worse comes to worst, I can write the parameters into a flat file, and use FileInputFormat - but that will slow down this process considerably. Is there no other way? ________________________________ From: Mark Vigeant To: "hbase-user@hadoop.apache.org" Sent: Thu, October 15, 2009 7:21:40 AM Subject: RE: Question about MapReduce There is a tableInputFormat class in org.apache.hadoop.hbase.mapreduce.TableInputFormat Also, if you want to use TableMapReduceUtil you probably want to have your mapper function extend TableMapper. Check out the javadocs for more info: http://hadoop.apache.org/hbase/docs/current/api/index.html -----Original Message----- From: Something Something [mailto:luckyguy2050@yahoo.com] Sent: Thursday, October 15, 2009 1:37 AM To: general@hadoop.apache.org; hbase-user@hadoop.apache.org Subject: Re: Question about MapReduce If the answer is... TableMapReduceUtil.initTableMapperJob I apologize for the spam. If this isn't the right way, please let me know. Thanks. --- On Wed, 10/14/09, Something Something wrote: From: Something Something Subject: Question about MapReduce To: general@hadoop.apache.org, hbase-user@hadoop.apache.org Date: Wednesday, October 14, 2009, 10:18 PM I would like to start a Map-Reduce job that does not read data from an input file or from a database. I would like to pass 3 arguments to the Mapper & Reducer to work on. Basically, these arguments are keys on the 3 different tables on HBase. In other words, I don't want to use FileInputFormat or DbInputFormat because everything I need is already on HBase. How can I do this? Please let me know. Thanks. --0-593399548-1255631459=:50875--