hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3868) Classes defined in tools dir cannot be executed without first created a jar
Date Wed, 30 Jul 2008 18:57:33 GMT
Classes defined in tools dir cannot be executed without first created a jar
---------------------------------------------------------------------------

                 Key: HADOOP-3868
                 URL: https://issues.apache.org/jira/browse/HADOOP-3868
             Project: Hadoop Core
          Issue Type: Bug
          Components: tools/distcp, tools/harchive
            Reporter: Tsz Wo (Nicholas), SZE


Without creating hadoop-*-tools.jar, we cannot run tools like distcp.  For example,
{noformat}
bash-3.2$ ./bin/hadoop distcp
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:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.apache.hadoop.tools.DistCp.  Program will exit.
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message