Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 65584 invoked from network); 14 Jan 2008 09:15:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 09:15:00 -0000 Received: (qmail 61179 invoked by uid 500); 14 Jan 2008 09:14:48 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 61138 invoked by uid 500); 14 Jan 2008 09:14:48 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 61129 invoked by uid 99); 14 Jan 2008 09:14:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 01:14:48 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 09:14:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CCAB871426B for ; Mon, 14 Jan 2008 01:14:35 -0800 (PST) Message-ID: <32379917.1200302075833.JavaMail.jira@brutus> Date: Mon, 14 Jan 2008 01:14:35 -0800 (PST) From: "Arun C Murthy (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-2574) bugs in mapred tutorial In-Reply-To: <25933502.1199993494050.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun C Murthy updated HADOOP-2574: ---------------------------------- Attachment: mapred_tutorial.html HADOOP-2574_1_20080114.patch Updated to incorporate Phu's original ask and Amar's feedback... again, I've attached the generate mapred_tutorial.html for folks to review it without having to figure forrest. > bugs in mapred tutorial > ----------------------- > > Key: HADOOP-2574 > URL: https://issues.apache.org/jira/browse/HADOOP-2574 > Project: Hadoop > Issue Type: Bug > Components: documentation > Reporter: Doug Cutting > Assignee: Arun C Murthy > Fix For: 0.15.3 > > Attachments: HADOOP-2574_0_20080110.patch, HADOOP-2574_1_20080114.patch, mapred_tutorial.html, mapred_tutorial.html > > > Sam Pullara sends me: > {noformat} > Phu was going through the WordCount example... lines 52 and 53 should have args[0] and args[1]: > http://lucene.apache.org/hadoop/docs/current/mapred_tutorial.html > The javac and jar command are also wrong, they don't include the directories for the packages, should be: > $ javac -classpath ${HADOOP_HOME}/hadoop-${HADOOP_VERSION}-core.jar -d classes WordCount.java > $ jar -cvf /usr/joe/wordcount.jar WordCount.class -C classes . > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.