Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 42380 invoked from network); 10 Nov 2008 02:13:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2008 02:13:09 -0000 Received: (qmail 84755 invoked by uid 500); 10 Nov 2008 02:13:12 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 84682 invoked by uid 500); 10 Nov 2008 02:13:12 -0000 Mailing-List: contact core-dev-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-dev@hadoop.apache.org Received: (qmail 84661 invoked by uid 99); 10 Nov 2008 02:13:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 18:13:12 -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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 02:12:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 61DD2234C28B for ; Sun, 9 Nov 2008 18:12:44 -0800 (PST) Message-ID: <218218906.1226283164399.JavaMail.jira@brutus> Date: Sun, 9 Nov 2008 18:12:44 -0800 (PST) From: "Edward J. Yoon (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4608) Examples -Driver does not check first argument. In-Reply-To: <1658633883.1226020304120.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-4608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HADOOP-4608: ----------------------------------- Fix Version/s: 0.20.0 0.19.1 Current trunk also affected. > Examples -Driver does not check first argument. > ----------------------------------------------- > > Key: HADOOP-4608 > URL: https://issues.apache.org/jira/browse/HADOOP-4608 > Project: Hadoop Core > Issue Type: Bug > Components: examples > Affects Versions: 0.18.2 > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.18.3, 0.19.1, 0.20.0 > > Attachments: HADOOP-4608.patch > > > hadoop@vldb ~/hadoop $ bin/hadoop jar hadoop-0.18.2-examples.jar > An example program must be given as the first argument. > Valid program names are: > aggregatewordcount: An Aggregate based map/reduce program that counts the words in the input files. > aggregatewordhist: An Aggregate based map/reduce program that computes the histogram of the words in the input files. > grep: A map/reduce program that counts the matches of a regex in the input. > join: A job that effects a join over sorted, equally partitioned datasets > multifilewc: A job that counts words from several files. > pentomino: A map/reduce tile laying program to find solutions to pentomino problems. > pi: A map/reduce program that estimates Pi using monte-carlo method. > randomtextwriter: A map/reduce program that writes 10GB of random textual data per node. > randomwriter: A map/reduce program that writes 10GB of random data per node. > sleep: A job that sleeps at each map and reduce task. > sort: A map/reduce program that sorts the data written by the random writer. > sudoku: A sudoku solver. > wordcount: A map/reduce program that counts the words in the input files. > java.lang.IllegalArgumentException: An example program must be given as the first argument. > at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:123) > at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:54) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:155) > at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) > at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.