[
https://issues.apache.org/jira/browse/HADOOP-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J resolved HADOOP-7941.
-----------------------------
Resolution: Cannot Reproduce
Doesn't seem to be a problem anymore, both hadoop and mapred scripts are
running these fine.
Resolving as Cannot Reproduce (anymore).
> 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
>
> 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