Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 93348 invoked from network); 23 Mar 2007 15:40:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Mar 2007 15:40:16 -0000 Received: (qmail 47670 invoked by uid 500); 23 Mar 2007 15:40:14 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 47643 invoked by uid 500); 23 Mar 2007 15:40:14 -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 Received: (qmail 47623 invoked by uid 99); 23 Mar 2007 15:40:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 08:40:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [75.84.30.143] (HELO cyrus.richardyang.net) (75.84.30.143) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 08:40:02 -0700 Received: from ACER ([192.168.1.100]) by cyrus.richardyang.net with Microsoft SMTPSVC(5.0.2195.6713); Fri, 23 Mar 2007 07:07:27 -0800 Reply-To: From: "Richard Yang" To: Subject: RE: Classes called from mapper and reducer. Date: Fri, 23 Mar 2007 08:39:36 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 thread-index: AcdtLlv5ThZ91z+oTwmOTbymamL+ZQAMeO1A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <410ACBBB22A25A4CAE7D1ABC316125D00EE419@caesar.elegion.local> Message-ID: X-OriginalArrivalTime: 23 Mar 2007 15:07:27.0546 (UTC) FILETIME=[F869F1A0:01C76D5C] X-Virus-Checked: Checked by ClamAV on apache.org Hello Ilya, I only know one way to run one's program on Hadoop. That is to jar all your classes into a .jar and when using, specify the entry point of execution. http://lucene.apache.org/hadoop/hdfs_design.html should give you a clear concept upon Hadoop Map/Reduce. Best Regards Richard Yang richardyang@richardyang.net kusanagiyang@gmail.com -----Original Message----- From: Ilya Vishnevsky [mailto:Ilya.Vishnevsky@e-legion.com] Sent: Friday, March 23, 2007 2:34 AM To: hadoop-user@lucene.apache.org Subject: Classes called from mapper and reducer. For example my application contains some class SomeClass. And this application uses hadoop mapreduce. What will be if Mapper in it's map function calls a method of SomeClass? If I understand correct mapper is running on child nodes. For that parent sends mapper and JobConf to childs. Will it send SomeClass too in our case? And what if SomeClass needs for example property files, saved in the local file system, not in distributed FS? Will child apply for such file to parent? Maybe I ask stupid questions. I still don't have clear idea of how hadoop works and especially how it realize parallelization.