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