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] Resolved: (HADOOP-3868) Classes defined in tools dir cannot be executed without first created a jar
Date Wed, 30 Jul 2008 20:09:31 GMT

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

Tsz Wo (Nicholas), SZE resolved HADOOP-3868.
--------------------------------------------

    Resolution: Won't Fix

Oops, I did not realize that it was done on purpose.  Closing this as WON'T FIX.

> 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
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: 3868_20080730.patch
>
>
> 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