Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Chukwa >> mail # user >> Unable load UdpAdaptor


+
Mohammad Tariq 2011-11-22, 11:58
Copy link to this message
-
Re: Unable load UdpAdaptor
Should be spelled UDPAdaptor -- note capitalization.

Is there documentation that gets this wrong?

--Ari

On Tue, Nov 22, 2011 at 6:58 AM, Mohammad Tariq <[EMAIL PROTECTED]> wrote:
> Hello,
>
>   I am trying to add the UdpAdaptor but I am getting the follwing
> error in the log file -
>
> 2011-11-22 17:24:50,784 INFO main ChukwaAgent - Config - CHUKWA_HOME:
> [/home/tariq/chukwa-0.4.0/bin/..]
> 2011-11-22 17:24:50,785 INFO main ChukwaAgent - Config -
> CHUKWA_CONF_DIR: [/home/tariq/chukwa-0.4.0/bin/../conf]
> 2011-11-22 17:24:50,826 INFO main ChukwaAgent - Config -
> CHECKPOINT_BASE_NAME: [chukwa_agent_checkpoint]
> 2011-11-22 17:24:50,826 INFO main ChukwaAgent - Config -
> checkpointDir: [/home/tariq/chukwa_data/log]
> 2011-11-22 17:24:50,826 INFO main ChukwaAgent - Config -
> CHECKPOINT_INTERVAL_MS: [5000]
> 2011-11-22 17:24:50,827 INFO main ChukwaAgent - Config -
> DO_CHECKPOINT_RESTORE: [true]
> 2011-11-22 17:24:50,827 INFO main ChukwaAgent - Config - tags:
> [cluster="chukwa"]
> 2011-11-22 17:24:50,827 INFO main ChukwaAgent - checkpoints are
> enabled, period is 5000
> 2011-11-22 17:24:50,827 INFO main ChukwaAgent - No checkpoints found
> in /home/tariq/chukwa_data/log
> 2011-11-22 17:24:50,827 INFO main ChukwaAgent - starting adaptors
> listed in /home/tariq/chukwa-0.4.0/bin/../conf/initial_adaptors
> 2011-11-22 17:24:50,830 WARN main ChukwaAgent - Error instantiating
> new adaptor org.apache.hadoop.chukwa.datacollection.adaptor.UdpAdaptor
> by classname and also with "o.a.h.c.datacollection.adaptor" prefix
> added
> java.lang.ClassNotFoundException:
> org.apache.hadoop.chukwa.datacollection.adaptor.org.apache.hadoop.chukwa.datacollection.adaptor.UdpAdaptor
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:169)
>        at org.apache.hadoop.chukwa.datacollection.agent.AdaptorFactory.createAdaptor(AdaptorFactory.java:59)
>        at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.processAddCommandE(ChukwaAgent.java:336)
>        at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.processAddCommand(ChukwaAgent.java:311)
>        at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.readAdaptorsFile(ChukwaAgent.java:449)
>        at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.<init>(ChukwaAgent.java:250)
>        at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAgent.main(ChukwaAgent.java:142)
> 2011-11-22 17:24:50,831 WARN main ChukwaAgent - Error creating adaptor
> of class o.a.h.c.datacollection.adaptor.UdpAdaptor
> 2011-11-22 17:24:50,832 INFO main AgentControlSocketListener -
> AgentControlSocketListerner ask for port: 9093
> 2011-11-22 17:24:50,833 INFO main AgentControlSocketListener - socket
> bound to 9093
> 2011-11-22 17:24:50,833 INFO main ChukwaAgent - control socket started
> on port 9093
> 2011-11-22 17:24:50,838 INFO main ChukwaAgent - local agent started on port 9093
> 2011-11-22 17:24:50,838 INFO HTTP post thread HttpConnector -
> HttpConnector started at time:1321962890838
> 2011-11-22 17:24:50,838 INFO HTTP post thread DataFactory - Config -
> System.getenv("CHUKWA_HOME"): [/home/tariq/chukwa-0.4.0/bin/../]
> 2011-11-22 17:24:50,838 INFO HTTP post thread DataFactory - Config -
> System.getenv("chukwaConf"): [/home/tariq/chukwa-0.4.0/bin/../conf]
> 2011-11-22 17:24:50,838 INFO HTTP post thread DataFactory - setting up
> collectors file: /home/tariq/chukwa-0.4.0/bin/../conf/collectors
> 2011-11-22 17:24:50,863 INFO HTTP post thread HttpConnector - using
> collectors from collectors file
> 2011-11-22 17:24
Ari Rabkin [EMAIL PROTECTED]
UC Berkeley Computer Science Department
+
Mohammad Tariq 2011-11-22, 13:00
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB