You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2009/04/14 22:29:15 UTC
[jira] Assigned: (CHUKWA-133) Demux crash with exception for using
metrics class
[ https://issues.apache.org/jira/browse/CHUKWA-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang reassigned CHUKWA-133:
--------------------------------
Assignee: Jerome Boulon (was: Eric Yang)
Once CHUKWA-119 is fixed. This should be fixed.
> Demux crash with exception for using metrics class
> --------------------------------------------------
>
> Key: CHUKWA-133
> URL: https://issues.apache.org/jira/browse/CHUKWA-133
> Project: Hadoop Chukwa
> Issue Type: Bug
> Components: Data Processors
> Affects Versions: 0.1.2
> Environment: Redhat EL 5.1, Java 6
> Reporter: Eric Yang
> Assignee: Jerome Boulon
> Priority: Blocker
>
> Looks like the demux job was unable to initialize MetricsContext class properly. This is linked to ChukImpl using Chukwa Agent to setTags. CHUKWA-119.
> This exception was thrown during demux:
> 14-Apr-2009 20:11:58 (30sec) java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:80)
> at org.apache.hadoop.mapred.SequenceFileRecordReader.createValue(SequenceFileRecordReader.java:71)
> at org.apache.hadoop.mapred.MapTask$TrackedRecordReader.createValue(MapTask.java:157)
> at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:43)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:227)
> at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2206)
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:78)
> ... 5 more
> Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/metrics/util/MetricsRegistry
> at org.apache.hadoop.chukwa.datacollection.agent.metrics.AgentMetrics.(AgentMetrics.java:15)
> at org.apache.hadoop.chukwa.datacollection.agent.metrics.AgentMetrics.(AgentMetrics.java:13)
> at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.(ChukwaAgent.java:45)
> at org.apache.hadoop.chukwa.ChunkImpl.(ChunkImpl.java:46)
> ... 10 more
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.metrics.util.MetricsRegistry
> 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)
> ... 14 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.