Return-Path: X-Original-To: apmail-incubator-chukwa-user-archive@www.apache.org Delivered-To: apmail-incubator-chukwa-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 698E2957D for ; Tue, 22 Nov 2011 12:56:22 +0000 (UTC) Received: (qmail 44742 invoked by uid 500); 22 Nov 2011 12:56:22 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 44722 invoked by uid 500); 22 Nov 2011 12:56:22 -0000 Mailing-List: contact chukwa-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-user@incubator.apache.org Delivered-To: mailing list chukwa-user@incubator.apache.org Received: (qmail 44715 invoked by uid 99); 22 Nov 2011 12:56:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 12:56:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of asrabkin@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 12:56:16 +0000 Received: by bkbzs2 with SMTP id zs2so161807bkb.6 for ; Tue, 22 Nov 2011 04:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=mvXzhMmBjkOsmh6gcAASaUHGZiFkBGbu7OIv3B8HE0I=; b=BByWLMAhtUCZNFHujXibP1LXAsX/9yUrrK1CmVNqwba5PCwP70YHkUj3kc4kEzbOwm SdRjsEqzAJcMG05pBm5iG6IaHzeR47M0j4eU+YmcgnCKk70NWRPjU2uIsYTSONokkURJ gNhHOVumVXoLhOF2Vj2oAD5B6YmrLPK6xKDDs= MIME-Version: 1.0 Received: by 10.204.152.25 with SMTP id e25mr19335150bkw.51.1321966554570; Tue, 22 Nov 2011 04:55:54 -0800 (PST) Received: by 10.204.51.12 with HTTP; Tue, 22 Nov 2011 04:55:54 -0800 (PST) In-Reply-To: References: Date: Tue, 22 Nov 2011 07:55:54 -0500 Message-ID: Subject: Re: Unable load UdpAdaptor From: Ariel Rabkin To: chukwa-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 wrote: > Hello, > > =A0 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=3D"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 > =A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > =A0 =A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Meth= od) > =A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(URLClassLoader.java:1= 90) > =A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > =A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.jav= a:301) > =A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > =A0 =A0 =A0 =A0at java.lang.Class.forName0(Native Method) > =A0 =A0 =A0 =A0at java.lang.Class.forName(Class.java:169) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.agent.AdaptorFa= ctory.createAdaptor(AdaptorFactory.java:59) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAge= nt.processAddCommandE(ChukwaAgent.java:336) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAge= nt.processAddCommand(ChukwaAgent.java:311) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAge= nt.readAdaptorsFile(ChukwaAgent.java:449) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAge= nt.(ChukwaAgent.java:250) > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.datacollection.agent.ChukwaAge= nt.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 po= rt 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:50,935 INFO Timer-1 HttpConnector - # http chunks > ACK'ed since last report: 0 > 2011-11-22 17:25:50,936 INFO Timer-1 HttpConnector - # http chunks > ACK'ed since last report: 0 > 2011-11-22 17:26:50,936 INFO Timer-1 HttpConnector - # http chunks > ACK'ed since last report: 0 > > Regards, > =A0=A0 =A0Mohammad Tariq > --=20 Ari Rabkin asrabkin@gmail.com UC Berkeley Computer Science Department