hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya Sunil (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-7941) NoClassDefFoundError while running distcp/archive
Date Wed, 28 Dec 2011 20:30:30 GMT
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.23.1


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