You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2012/09/26 21:17:09 UTC
[jira] [Updated] (HADOOP-7941) NoClassDefFoundError while running
distcp/archive
[ https://issues.apache.org/jira/browse/HADOOP-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Joseph Evans updated HADOOP-7941:
----------------------------------------
Fix Version/s: (was: 0.23.3)
0.24.0
> NoClassDefFoundError while running distcp/archive
> -------------------------------------------------
>
> Key: HADOOP-7941
> URL: https://issues.apache.org/jira/browse/HADOOP-7941
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.23.1
> Reporter: Ramya Sunil
> Fix For: 0.24.0
>
>
> bin/hadoop distcp
> {noformat}
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/tools/DistCp
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.tools.DistCp
> 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.tools.DistCp. Program will exit.
> {noformat}
> Same is the case while running 'bin/hadoop archive'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira