hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-3742) "yarn logs" command fails with ClassNotFoundException
Date Fri, 27 Jan 2012 17:36:13 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Lowe updated MAPREDUCE-3742:
----------------------------------

    Target Version/s: 0.23.1, 0.24.0
              Status: Patch Available  (was: Open)

One-line diff to change the fully qualified name of the LogDumper class.  No tests added since
it's a shell script.
                
> "yarn logs" command fails with ClassNotFoundException
> -----------------------------------------------------
>
>                 Key: MAPREDUCE-3742
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3742
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.24.0
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Blocker
>         Attachments: MAPREDUCE-3742.patch
>
>
> Executing "yarn logs" at a shell prompt fails with this error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/LogDumper
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogDumper
> 	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:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.LogDumper.
 Program will exit.
> Appears to have been caused by the code reorg in MAPREDUCE-3297.

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

        

Mime
View raw message