chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CHUKWA-250) class not found exception when running agent
Date Fri, 15 May 2009 23:46:45 GMT

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

Eric Yang updated CHUKWA-250:
-----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this, thanks Cheng.

> class not found exception when running agent 
> ---------------------------------------------
>
>                 Key: CHUKWA-250
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-250
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code, Data Processors
>    Affects Versions: 0.1.2
>            Reporter: Cheng
>            Assignee: Cheng
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: chukwa-250.patch
>
>
> Console output is as below:
> hadoop jar for agent is  ......../bin/../hadoopjars/hadoop-0.20-dev-core.jar
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/metrics/Updater
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.<clinit>(ChukwaAgent.java:60)
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.metrics.Updater
>         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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         ... 13 more

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