chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheng (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CHUKWA-119) ChunkImpl requires ChukwaAgent class
Date Wed, 15 Apr 2009 21:49:14 GMT

    [ https://issues.apache.org/jira/browse/CHUKWA-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699410#action_12699410
] 

Cheng commented on CHUKWA-119:
------------------------------

Jerome, I applied your patch to my work copy but got error below when I run the collector.

java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.chukwa.datacollection.DataFactory
        at org.apache.hadoop.chukwa.ChunkImpl.<init>(ChunkImpl.java:34)
        at org.apache.hadoop.chukwa.ChunkImpl.read(ChunkImpl.java:230)
        at org.apache.hadoop.chukwa.datacollection.collector.servlet.ServletCollector.accept(ServletCollector.java:140)
        at org.apache.hadoop.chukwa.datacollection.collector.servlet.ServletCollector.doPost(ServletCollector.java:180)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


> ChunkImpl requires ChukwaAgent class
> ------------------------------------
>
>                 Key: CHUKWA-119
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-119
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: data collection
>    Affects Versions: 0.1.2
>            Reporter: Jerome Boulon
>            Assignee: Jerome Boulon
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: CHUKWA-119-2.patch, CHUKWA-119.patch
>
>
> If ChukwaAgent class is not available on the collector side, the collector is unable
to read a chunk.
> // code
> ChunkImpl() {
>     this.tags = ChukwaAgent.getTags();
>   }
> // Stacktrace
> Java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent
> 	at org.apache.hadoop.chukwa.ChunkImpl.<init>(ChunkImpl.java:46)
> 	at org.apache.hadoop.chukwa.ChunkImpl.read(ChunkImpl.java:229)
> 	at org.apache.hadoop.chukwa.datacollection.collector.servlet.ServletCollector.accept(ServletCollector.java:140)

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