hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4247) hadoop jar throwing exception when running examples
Date Tue, 23 Sep 2008 07:14:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633635#action_12633635
] 

Hemanth Yamijala commented on HADOOP-4247:
------------------------------------------

Exception stack trace:

{code}
$ ./bin/hadoop jar ./hadoop-0.20.0-dev-examples.jar wordcount input output
java.lang.NoClassDefFoundError: org/apache/hadoop/tools/InputSampler$Sampler
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getMethod0(Class.java:2670)
        at java.lang.Class.getMethod(Class.java:1603)
        at org.apache.hadoop.util.ProgramDriver$ProgramDescription.<init>(ProgramDriver.java:56)
        at org.apache.hadoop.util.ProgramDriver.addClass(ProgramDriver.java:99)
        at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:165)
        at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.tools.InputSampler$Sampler
        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:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
{code}

> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
>                 Key: HADOOP-4247
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4247
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: examples
>            Reporter: Hemanth Yamijala
>
> With trunk, running examples like wordcount or sleep is giving an exception. 

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