Return-Path: Delivered-To: apmail-hadoop-chukwa-user-archive@minotaur.apache.org Received: (qmail 66909 invoked from network); 24 May 2010 13:21:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 May 2010 13:21:21 -0000 Received: (qmail 43806 invoked by uid 500); 24 May 2010 13:21:21 -0000 Delivered-To: apmail-hadoop-chukwa-user-archive@hadoop.apache.org Received: (qmail 43712 invoked by uid 500); 24 May 2010 13:21:20 -0000 Mailing-List: contact chukwa-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-user@hadoop.apache.org Delivered-To: mailing list chukwa-user@hadoop.apache.org Received: (qmail 43704 invoked by uid 99); 24 May 2010 13:21:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 May 2010 13:21:19 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Alan.Ratner@ngc.com designates 155.104.240.104 as permitted sender) Received: from [155.104.240.104] (HELO xmrm0101.northgrum.com) (155.104.240.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 May 2010 13:21:09 +0000 Received: from xbhm0001.northgrum.com ([155.104.118.90]) by xmrm0101.northgrum.com with InterScan Message Security Suite; Mon, 24 May 2010 09:16:11 -0400 Received: from XBHIL102.northgrum.com ([134.223.165.151]) by xbhm0001.northgrum.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 24 May 2010 09:20:47 -0400 Received: from XMBIL132.northgrum.com ([134.223.166.142]) by XBHIL102.northgrum.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 24 May 2010 08:20:44 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CAFB43.EA5C6921" Subject: agent started already on this machine with same portno; bailing out Date: Mon, 24 May 2010 08:20:42 -0500 Message-ID: <68F06E0D1DB9E64A9DB52608086F76B858FD1D@XMBIL132.northgrum.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: agent started already on this machine with same portno; bailing out Thread-Index: Acr49LTv9bOlzjLYRX6h/u6AN/mG7gAJdaqrAIffvmA= References: <68F06E0D1DB9E64A9DB52608086F76B858FCC6@XMBIL132.northgrum.com> From: "Ratner, Alan S (IS)" To: X-OriginalArrivalTime: 24 May 2010 13:20:44.0787 (UTC) FILETIME=[EA6CF430:01CAFB43] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01CAFB43.EA5C6921 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Eric, =20 Thanks for the help with the NoClassDefFoundError: org/apache/hadoop/metrics/Updater error. I modified the env file and reset everything (ran stop-agents, ran stop-collectors, deleted /tmp/chukwa*, then copied the chukwa directory to each agent node and deleted /tmp/chukw* on each agent node). But now I get a "agent started already on this machine with same portno; bailing out" error from each agent node. Does this mean I'm still doing something wrong? =20 ngc@hadoop1:~/chukwa-0.4.0$ bin/start-agents.sh 10.64.147.3: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop2.out 10.64.147.8: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop7.out 10.64.147.7: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop6.out 10.64.147.2: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop1.out 10.64.147.4: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop3.out 10.64.147.10: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop9.out 10.64.147.14: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop13.out 10.64.147.18: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop17.out 10.64.147.20: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop19.out 10.64.147.24: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop23.out 10.64.147.27: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop26.out 10.64.147.17: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop16.out 10.64.147.23: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop22.out 10.64.147.41: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop40.out 10.64.147.40: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop39.out 10.64.147.13: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop12.out 10.64.147.31: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop30.out 10.64.147.9: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop8.out 10.64.147.12: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop11.out 10.64.147.11: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop10.out 10.64.147.25: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop24.out 10.64.147.35: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop34.out 10.64.147.22: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop21.out 10.64.147.30: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop29.out 10.64.147.38: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop37.out 10.64.147.29: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop28.out 10.64.147.28: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop27.out 10.64.147.21: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop20.out 10.64.147.37: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop36.out 10.64.147.34: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop33.out 10.64.147.39: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop38.out 10.64.147.15: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop14.out 10.64.147.16: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop15.out 10.64.147.36: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop35.out 10.64.147.32: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop31.out 10.64.147.26: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop25.out 10.64.147.42: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop41.out 10.64.147.19: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop18.out 10.64.147.33: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop32.out 10.64.147.5: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop4.out 10.64.147.3: agent started already on this machine with same portno; bailing out 10.64.147.8: agent started already on this machine with same portno; bailing out 10.64.147.7: agent started already on this machine with same portno; bailing out 10.64.147.2: agent started already on this machine with same portno; bailing out 10.64.147.4: agent started already on this machine with same portno; bailing out 10.64.147.10: agent started already on this machine with same portno; bailing out 10.64.147.14: agent started already on this machine with same portno; bailing out 10.64.147.18: agent started already on this machine with same portno; bailing out 10.64.147.20: agent started already on this machine with same portno; bailing out 10.64.147.24: agent started already on this machine with same portno; bailing out 10.64.147.15: agent started already on this machine with same portno; bailing out 10.64.147.17: agent started already on this machine with same portno; bailing out 10.64.147.27: agent started already on this machine with same portno; bailing out 10.64.147.39: agent started already on this machine with same portno; bailing out 10.64.147.41: agent started already on this machine with same portno; bailing out 10.64.147.40: agent started already on this machine with same portno; bailing out 10.64.147.23: agent started already on this machine with same portno; bailing out 10.64.147.31: agent started already on this machine with same portno; bailing out 10.64.147.11: agent started already on this machine with same portno; bailing out 10.64.147.13: agent started already on this machine with same portno; bailing out 10.64.147.9: agent started already on this machine with same portno; bailing out 10.64.147.12: agent started already on this machine with same portno; bailing out 10.64.147.25: agent started already on this machine with same portno; bailing out 10.64.147.22: agent started already on this machine with same portno; bailing out 10.64.147.35: agent started already on this machine with same portno; bailing out 10.64.147.30: agent started already on this machine with same portno; bailing out 10.64.147.38: agent started already on this machine with same portno; bailing out 10.64.147.29: agent started already on this machine with same portno; bailing out 10.64.147.28: agent started already on this machine with same portno; bailing out 10.64.147.21: agent started already on this machine with same portno; bailing out 10.64.147.34: agent started already on this machine with same portno; bailing out 10.64.147.37: agent started already on this machine with same portno; bailing out 10.64.147.16: agent started already on this machine with same portno; bailing out 10.64.147.36: agent started already on this machine with same portno; bailing out 10.64.147.32: agent started already on this machine with same portno; bailing out 10.64.147.26: agent started already on this machine with same portno; bailing out 10.64.147.19: agent started already on this machine with same portno; bailing out 10.64.147.42: agent started already on this machine with same portno; bailing out 10.64.147.33: agent started already on this machine with same portno; bailing out 10.64.147.5: agent started already on this machine with same portno; bailing out ngc@hadoop1:~/chukwa-0.4.0$ =20 When I check to see what is running on one of the agent nodes I see the agent running: ngc@hadoop6:~$ jps 5995 DataNode 6147 TaskTracker 25642 ChukwaAgent 29169 Jps =20 On the collector node I see: ngc@hadoop1:~$ jps 17295 Jps 26355 Main 21274 SecondaryNameNode 26114 Main 7339 ChukwaAgent 31259 QuorumPeerMain 20978 NameNode 25873 Main 18000 org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar 21380 JobTracker 31339 ZooKeeperMain =20 =20 From: Eric Yang [mailto:eyang@yahoo-inc.com]=20 Sent: Friday, May 21, 2010 3:20 PM To: chukwa-user@hadoop.apache.org Subject: Re: NoClassDefFoundError: org/apache/hadoop/metrics/Updater =20 Hi Alan, I think you need to be more explicit with the hadoop-0.20.2-core.jar. The wild card doesn't work. The example config was a little misleading. Sorry about that. Regards, Eric On 5/21/10 7:48 AM, "Ratner, Alan S (IS)" wrote: I have chukwa 0.4.0 and hadoop 0.20.2 installed on a small cluster. When I run bin/start-agents.sh I get the following: (much more like this above) 10.64.147.22: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop21.out 10.64.147.30: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop29.out 10.64.147.27: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop26.out 10.64.147.40: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop39.out 10.64.147.39: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop38.out 10.64.147.37: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop36.out 10.64.147.31: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop30.out 10.64.147.34: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop33.out 10.64.147.36: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop35.out 10.64.147.33: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop32.out 10.64.147.38: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop37.out 10.64.147.35: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop34.out 10.64.147.41: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop40.out 10.64.147.42: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop41.out 10.64.147.5: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop4.out 10.64.147.8: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/metrics/Updater 10.64.147.8: at java.lang.ClassLoader.defineClass1(Native Method) 10.64.147.8: at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) 10.64.147.8: at java.lang.ClassLoader.defineClass(ClassLoader.java:616) 10.64.147.8: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) 10.64.147.8: at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) 10.64.147.8: at java.net.URLClassLoader.access$000(URLClassLoader.java:58) 10.64.147.8: at java.net.URLClassLoader$1.run(URLClassLoader.java:197) 10.64.147.8: at java.security.AccessController.doPrivileged(Native Method) 10.64.147.8: at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 10.64.147.2: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/metrics/Updater 10.64.147.2: at java.lang.ClassLoader.defineClass1(Native Method) 10.64.147.2: at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) 10.64.147.2: at java.lang.ClassLoader.defineClass(ClassLoader.java:616) 10.64.147.2: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) 10.64.147.2: at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) 10.64.147.2: at java.net.URLClassLoader.access$000(URLClassLoader.java:58) 10.64.147.2: at java.net.URLClassLoader$1.run(URLClassLoader.java:197) 10.64.147.2: at java.security.AccessController.doPrivileged(Native Method) 10.64.147.2: at java.net.URLClassLoader.findClass(URLClassLoader.java:190) (much more like this below) A similar error reported last year seemed to be related to the Hadoop path. This is what I have changed from the chukwa-env.sh defaults: export HADOOP_HOME=3D"/home/ngc/hadoop-0.20.2" export HADOOP_CONF_DIR=3D"/home/ngc/hadoop-0.20.2/conf" export HADOOP_JAR=3D${HADOOP_HOME}/hadoop-*-core.jar export JAVA_PLATFORM=3DLinux-amd64-64 Any idea as to what I am doing wrong? Alan ------_=_NextPart_001_01CAFB43.EA5C6921 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: NoClassDefFoundError: = org/apache/hadoop/metrics/Updater

Eric,

 

    Thanks for the help with the =  NoClassDefFoundError: org/apache/hadoop/metrics/Updater error.  I modified the env file = and reset everything (ran stop-agents, ran stop-collectors, deleted = /tmp/chukwa*, then copied the chukwa directory to each agent node and deleted /tmp/chukw* = on each agent node).  But now I get a  “agent started already on = this machine with same portno; bailing out” error from each agent = node.  Does this mean I’m still doing something = wrong?

 

ngc@hadoop1:~/chukwa-0.4.0$ = bin/start-agents.sh

10.64.147.3: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop2.out

10.64.147.8: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop7.out

10.64.147.7: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop6.out

10.64.147.2: starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop1.out

10.64.147.4: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop3.out

10.64.147.10: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop9.out

10.64.147.14: starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop13.out

10.64.147.18: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop17.out

10.64.147.20: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop19.out

10.64.147.24: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop23.out

10.64.147.27: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop26.out

10.64.147.17: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop16.out

10.64.147.23: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop22.out

10.64.147.41: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop40.out

10.64.147.40: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop39.out

10.64.147.13: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop12.out

10.64.147.31: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop30.out

10.64.147.9: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop8.out

10.64.147.12: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop11.out

10.64.147.11: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop10.out

10.64.147.25: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop24.out

10.64.147.35: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop34.out

10.64.147.22: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop21.out

10.64.147.30: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop29.out

10.64.147.38: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop37.out

10.64.147.29: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop28.out

10.64.147.28: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop27.out

10.64.147.21: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop20.out

10.64.147.37: starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop36.out

10.64.147.34: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop33.out

10.64.147.39: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop38.out

10.64.147.15: starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop14.out

10.64.147.16: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop15.out

10.64.147.36: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop35.out

10.64.147.32: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop31.out

10.64.147.26: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop25.out

10.64.147.42: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop41.out

10.64.147.19: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop18.out

10.64.147.33: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop32.out

10.64.147.5: starting agent, logging to /tmp/chukwa/log/chukwa-chukwa-agent-hadoop4.out

10.64.147.3: agent started already on this machine with = same portno; bailing out

10.64.147.8: agent started already on this machine with = same portno; bailing out

10.64.147.7: agent started already on this machine with = same portno; bailing out

10.64.147.2: agent started already on this machine with = same portno; bailing out

10.64.147.4: agent started already on this machine with = same portno; bailing out

10.64.147.10: agent started already on this machine with = same portno; bailing out

10.64.147.14: agent started already on this machine with = same portno; bailing out

10.64.147.18: agent started already on this machine with = same portno; bailing out

10.64.147.20: agent started already on this machine with = same portno; bailing out

10.64.147.24: agent started already on this machine with = same portno; bailing out

10.64.147.15: agent started already on this machine with = same portno; bailing out

10.64.147.17: agent started already on this machine with = same portno; bailing out

10.64.147.27: agent started already on this machine with = same portno; bailing out

10.64.147.39: agent started already on this machine with = same portno; bailing out

10.64.147.41: agent started already on this machine with = same portno; bailing out

10.64.147.40: agent started already on this machine with = same portno; bailing out

10.64.147.23: agent started already on this machine with = same portno; bailing out

10.64.147.31: agent started already on this machine with = same portno; bailing out

10.64.147.11: agent started already on this machine with = same portno; bailing out

10.64.147.13: agent started already on this machine with = same portno; bailing out

10.64.147.9: agent started already on this machine with = same portno; bailing out

10.64.147.12: agent started already on this machine with = same portno; bailing out

10.64.147.25: agent started already on this machine with = same portno; bailing out

10.64.147.22: agent started already on this machine with = same portno; bailing out

10.64.147.35: agent started already on this machine with = same portno; bailing out

10.64.147.30: agent started already on this machine with = same portno; bailing out

10.64.147.38: agent started already on this machine with = same portno; bailing out

10.64.147.29: agent started already on this machine with = same portno; bailing out

10.64.147.28: agent started already on this machine with = same portno; bailing out

10.64.147.21: agent started already on this machine with = same portno; bailing out

10.64.147.34: agent started already on this machine with = same portno; bailing out

10.64.147.37: agent started already on this machine with = same portno; bailing out

10.64.147.16: agent started already on this machine with = same portno; bailing out

10.64.147.36: agent started already on this machine with = same portno; bailing out

10.64.147.32: agent started already on this machine with = same portno; bailing out

10.64.147.26: agent started already on this machine with = same portno; bailing out

10.64.147.19: agent started already on this machine with = same portno; bailing out

10.64.147.42: agent started already on this machine with = same portno; bailing out

10.64.147.33: agent started already on this machine with = same portno; bailing out

10.64.147.5: agent started already on this machine with = same portno; bailing out

ngc@hadoop1:~/chukwa-0.4.0$

 

When I check to see what is running on one of the agent = nodes I see the agent running:

ngc@hadoop6:~$ jps

5995 DataNode

6147 TaskTracker

25642 ChukwaAgent

29169 Jps

 

On the collector node I see:

ngc@hadoop1:~$ jps

17295 Jps

26355 Main

21274 SecondaryNameNode

26114 Main

7339 ChukwaAgent

31259 QuorumPeerMain

20978 NameNode

25873 Main

18000 = org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar=

21380 JobTracker

31339 ZooKeeperMain

 

 

From:= Eric Yang [mailto:eyang@yahoo-inc.com]
Sent: Friday, May 21, 2010 3:20 PM
To: chukwa-user@hadoop.apache.org
Subject: Re: NoClassDefFoundError: = org/apache/hadoop/metrics/Updater

 

Hi Alan,

I think you need to be more explicit with the hadoop-0.20.2-core.jar. =  The wild card doesn’t work.  The example config was a little = misleading.  Sorry about that.

Regards,
Eric

On 5/21/10 7:48 AM, "Ratner, Alan S (IS)" <Alan.Ratner@ngc.com> = wrote:

I have chukwa 0.4.0 and hadoop = 0.20.2 installed on a small cluster.  When I run bin/start-agents.sh I get = the following:

(much more like this above)

10.64.147.22:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop21.out

10.64.147.30:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop29.out

10.64.147.27:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop26.out

10.64.147.40:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop39.out

10.64.147.39:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop38.out

10.64.147.37:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop36.out

10.64.147.31:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop30.out

10.64.147.34:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop33.out

10.64.147.36:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop35.out

10.64.147.33:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop32.out

10.64.147.38:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop37.out

10.64.147.35:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop34.out

10.64.147.41:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop40.out

10.64.147.42:= starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop41.out

10.64.147.5: starting agent, logging to = /tmp/chukwa/log/chukwa-chukwa-agent-hadoop4.out

10.64.147.8: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/metrics/Updater

10.64.147.8:    at java.lang.ClassLoader.defineClass1(Native = Method)

10.64.147.8:    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

10.64.147.8:    at = java.lang.ClassLoader.defineClass(ClassLoader.java:616)

10.64.147.8:    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
10.64.147.8:    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

10.64.147.8:    at = java.net.URLClassLoader.access$000(URLClassLoader.java:58)

10.64.147.8:    at = java.net.URLClassLoader$1.run(URLClassLoader.java:197)

10.64.147.8:    at java.security.AccessController.doPrivileged(Native = Method)

10.64.147.8:    at = java.net.URLClassLoader.findClass(URLClassLoader.java:190)

10.64.147.2: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/metrics/Updater

10.64.147.2:    at java.lang.ClassLoader.defineClass1(Native = Method)

10.64.147.2:    at = java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

10.64.147.2:    at = java.lang.ClassLoader.defineClass(ClassLoader.java:616)

10.64.147.2:    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
10.64.147.2:    at = java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

10.64.147.2:    at = java.net.URLClassLoader.access$000(URLClassLoader.java:58)

10.64.147.2:    at = java.net.URLClassLoader$1.run(URLClassLoader.java:197)

10.64.147.2:    at java.security.AccessController.doPrivileged(Native = Method)

10.64.147.2:    at = java.net.URLClassLoader.findClass(URLClassLoader.java:190)

(much more like this below)

A similar error reported last year seemed to be related to the Hadoop = path.  This is what I have changed = from the chukwa-env.sh defaults:

export HADOOP_HOME=3D"/home/ngc/hadoop-0.20.2"

export HADOOP_CONF_DIR=3D"/home/ngc/hadoop-0.20.2/conf"

export HADOOP_JAR=3D${HADOOP_HOME}/hadoop-*-core.jar

export JAVA_PLATFORM=3DLinux-amd64-64

Any idea as to what I am doing wrong?

Alan

------_=_NextPart_001_01CAFB43.EA5C6921--