You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Prashant Sharma (Updated) (JIRA)" <ji...@apache.org> on 2011/12/29 01:15:30 UTC
[jira] [Updated] (MAPREDUCE-3605) Allow mr commands to be run via
bin/hadoop
[ https://issues.apache.org/jira/browse/MAPREDUCE-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prashant Sharma updated MAPREDUCE-3605:
---------------------------------------
Attachment: MAPREDUCE-3605.patch
Hope this is a right way. Here $YARN_HOME is checked first.
> 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
> Assignee: Arun C Murthy
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3605.patch
>
>
> 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