Return-Path: X-Original-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BACD90A3 for ; Wed, 28 Dec 2011 19:50:53 +0000 (UTC) Received: (qmail 48039 invoked by uid 500); 28 Dec 2011 19:50:52 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 47937 invoked by uid 500); 28 Dec 2011 19:50:52 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 47752 invoked by uid 99); 28 Dec 2011 19:50:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 19:50:52 +0000 X-ASF-Spam-Status: No, hits=-2001.3 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 19:50:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0C01612D0DD for ; Wed, 28 Dec 2011 19:50:31 +0000 (UTC) Date: Wed, 28 Dec 2011 19:50:31 +0000 (UTC) From: "Ramya Sunil (Created) (JIRA)" To: mapreduce-dev@hadoop.apache.org Message-ID: <116537846.49213.1325101831050.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-3605) Allow mr commands to be run via bin/hadoop MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Allow mr commands to be run via bin/hadoop ------------------------------------------ Key: MAPREDUCE-3605 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3605 Project: Hadoop Map/Reduce Issue Type: Bug Components: mrv2 Affects Versions: 0.23.1 Reporter: Ramya Sunil Fix For: 0.23.1 MR command line options are not supported in bin/hadoop. {noformat} bin/hadoop job Exception in thread "main" java.lang.NoClassDefFoundError: job Caused by: java.lang.ClassNotFoundException: job at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: job. Program will exit. {noformat} A deprecated message like "DEPRECATED: Use of this script to execute mapred command is deprecated. Instead use the mapred command for it." should be displayed along with the correct output. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira