[
https://issues.apache.org/jira/browse/MAPREDUCE-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187265#comment-13187265
]
Mahadev konar commented on MAPREDUCE-3605:
------------------------------------------
@Prashanth,
Looks like you already had the patch. I uploaded one on HADOOP-7971. This
should probably be a hadoop common jira. I also removed jobtracker/tasktracker
and others not supported options from the patch.
> 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: Prashant Sharma
> 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