[ 
https://issues.apache.org/jira/browse/MAPREDUCE-3194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187992#comment-13187992
 ] 

Jason Lowe commented on MAPREDUCE-3194:
---------------------------------------

As I understand it, the mradmin command doesn't apply in mrv2.  The closest 
equivalent is the yarn rmadmin command.  Also the tasktracker and jobtracker 
commands don't make sense in mrv2.  Shall we just remove these commands from 
the help message and potentially point people towards the yarn shell command if 
they try to use them?

As for the ant-generated jar that does contain the mradmin, I believe that jar 
was generated for some legacy MR tests that haven't been ported to mrv2 yet.  I 
don't think that jar is intended to be released with the distribution.
                
> "mapred mradmin" command is broken in mrv2
> ------------------------------------------
>
>                 Key: MAPREDUCE-3194
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3194
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Siddharth Seth
>
> $mapred  mradmin  
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/hadoop/mapred/tools/MRAdmin
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.mapred.tools.MRAdmin
>         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: org.apache.hadoop.mapred.tools.MRAdmin.  
> Program will exit.

--
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

        

Reply via email to