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 "Arun C Murthy (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/17 08:02:41 UTC

[jira] [Resolved] (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 ]

Arun C Murthy resolved MAPREDUCE-3605.
--------------------------------------

    Resolution: Duplicate
      Assignee:     (was: Prashant Sharma)

Duplicate of HADOOP-7971.
                
> 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
>
>         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