Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 98491 invoked from network); 31 Oct 2007 06:05:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2007 06:05:33 -0000 Received: (qmail 71460 invoked by uid 500); 31 Oct 2007 06:05:14 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 71425 invoked by uid 500); 31 Oct 2007 06:05: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 Delivered-To: moderator for hadoop-user@lucene.apache.org Received: (qmail 68158 invoked by uid 99); 31 Oct 2007 05:54:23 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Message-ID: <47281876.4070203@ai.wu-wien.ac.at> Date: Wed, 31 Oct 2007 06:53:58 +0100 From: Christian Kremnitzer User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 To: hadoop-user@lucene.apache.org Subject: Re: Hadoop-Streaming with C References: <633599.66048.qm@web53601.mail.re2.yahoo.com> In-Reply-To: <633599.66048.qm@web53601.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.1.3-2; AVE: 7.6.0.30; VDF: 7.0.0.155; host: pocken.wu-wien.ac.at) X-Virus-Scanned: ClamAV 0.90.3/4642/Wed Oct 31 05:50:18 2007 on fsme.wu-wien.ac.at X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Thanks, lohit for your help! I exactly followed your instructions. Your example, as well as the wordcount example in python, works fine. Applying my C-Code, I always get an empty result file. When I inspect the job via the web-interface, it seems to me that my mapper does not pass on any information (and therefore the reducer does not get any and still is not able to write data to the result file) Could you provide me a small example mapper and reducer in C? Also, the exact command, how to call this from the shell. It seems to me, that I always make the same (short, but important) error :) Christian