Return-Path: Delivered-To: apmail-hadoop-core-commits-archive@www.apache.org Received: (qmail 21126 invoked from network); 11 Nov 2008 23:03:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2008 23:03:12 -0000 Received: (qmail 4867 invoked by uid 500); 11 Nov 2008 23:03:20 -0000 Delivered-To: apmail-hadoop-core-commits-archive@hadoop.apache.org Received: (qmail 4704 invoked by uid 500); 11 Nov 2008 23:03:19 -0000 Mailing-List: contact core-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-commits@hadoop.apache.org Received: (qmail 4695 invoked by uid 99); 11 Nov 2008 23:03:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 15:03:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 23:01:57 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 57FFC118D8 for ; Tue, 11 Nov 2008 23:02:11 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: core-commits@hadoop.apache.org Date: Tue, 11 Nov 2008 23:02:11 -0000 Message-ID: <20081111230211.16599.88548@eos.apache.org> Subject: [Hadoop Wiki] Trivial Update of "HadoopStreaming" by AndrewHitchcock X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification. The following page has been changed by AndrewHitchcock: http://wiki.apache.org/hadoop/HadoopStreaming The comment on the change is: fixed spelling error ------------------------------------------------------------------------------ * '''Use shell scripts rather than commands''' - The "-file shellMapper.sh" part isn't entirely necessary. You can simply use a clause like "-mapper 'sed | grep | awk'" or some such but complicated quoting is can introduce bugs. Wrapping the job in a shell script eliminates some of these issues. - * '''Don't expect shebangs to work''' - If you're going to run other scripts from inside your shell script, don't execpt a line like #!/bin/python to work. To be certain that things will work, run the script directly like "grep somethingInteresting | '''''perl''' perlScript'' | sort | uniq -c" + * '''Don't expect shebangs to work''' - If you're going to run other scripts from inside your shell script, don't expect a line like #!/bin/python to work. To be certain that things will work, run the script directly like "grep somethingInteresting | '''''perl''' perlScript'' | sort | uniq -c" == See Also == * HowToDebugMapReducePrograms