Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 80358 invoked from network); 23 Jul 2008 20:51:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2008 20:51:43 -0000 Received: (qmail 99100 invoked by uid 500); 23 Jul 2008 20:51:37 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 99066 invoked by uid 500); 23 Jul 2008 20:51:37 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 99055 invoked by uid 99); 23 Jul 2008 20:51:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 13:51:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of joe@joetify.com designates 63.246.20.70 as permitted sender) Received: from [63.246.20.70] (HELO mail.catalpasolutions.com) (63.246.20.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 20:50:43 +0000 Received: (qmail 21292 invoked by uid 89); 23 Jul 2008 20:51:08 -0000 Received: by simscan 1.1.0 ppid: 21285, pid: 21287, t: 4.1231s scanners: regex: 1.1.0 clamav: 0.93.1/m: spam: 3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.catalpasolutions.com X-Spam-Level: Received: from unknown (HELO ?10.10.161.184?) (joe@catalpasolutions.com@63.246.22.126) by mail.catalpasolutions.com with ESMTPA; 23 Jul 2008 20:51:04 -0000 Message-ID: <488799B9.5070404@joetify.com> Date: Wed, 23 Jul 2008 15:51:05 -0500 From: Joe Williams Organization: Joetify User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: core-user@hadoop.apache.org Subject: Hadoop and Ganglia Meterics Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=disabled version=3.2.5 I have been attempting to get Hadoop metrics in Ganliga and have been unsuccessful thus far. I have see this thread (http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200712.mbox/raw/%3C475E4FFA.7050007@yahoo-inc.com%3E/) but it didn't help much. I have setup my properties file like so: > [root@hadoop-head-node01 current]# cat conf/hadoop-metrics.properties > dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext > dfs.period=10 > dfs.servers=127.0.0.1:8649 > > mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext > mapred.period=10 > mapred.servers=127.0.0.1:8649 And if I 'telnet 127.0.0.1 8649' I receive the Ganglia XML metrics output without any hadoop specific metrics: > [root@hadoop-head-node01 current]# telnet 127.0.0.1 8649 > Trying 127.0.0.1... > Connected to localhost (127.0.0.1). > Escape character is '^]'. > ?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> > !DOCTYPE GANGLIA_XML [ > !ELEMENT GANGLIA_XML (GRID|CLUSTER|HOST)*> > !ATTLIST GANGLIA_XML VERSION CDATA #REQUIRED> > !ATTLIST GANGLIA_XML SOURCE CDATA #REQUIRED> > --SNIP-- Is there more I need to do to get the metrics to show up in this output, am I doing something incorrectly? Do I need to have a gmetric script run in a cron to update the stats? If so, does anyone have a hadoop specific example of this? Any info would be helpful. Thanks. -Joe -- Name: Joseph A. Williams Email: joe@joetify.com