incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Rabkin <>
Subject Re: New to chukwa - problems running agent
Date Tue, 10 Nov 2009 20:22:51 GMT
On Tue, Nov 10, 2009 at 12:18 PM, Bill Graham <> wrote:
> Thanks Ari, this is helpful. Two follow ups...
> When I try to run the agent it fails because it can't find
> org/apache/hadoop/metrics/util/MetricsRegistry, which seems like it was
> introduced in 0.20.1, so it seems there is a minimum hadoop version
> requirement for Chukwa. Would it be a bad idea to include hadoop 0.20.1 on
> my source nodes (which are not part of my hadoop cliuster) just to satisfy
> the agent dependencies? Or is there a way to run the agent in a mode that's
> compatible with 0.18.3?

Ugh. Yes. The agent metrics subsystem means that Agents depend on
Hadoop >=0.20.0  If you look at conf/, there's an option
for HADOOP_JAR. Set that to the path to a Hadoop 20 jar. There should
be one included in the distribution, in CHUKWA_HOME/hadoopjars.  In
fact, it should have been picked up automatically...

> Also is it possible to configure an agent to register an adaptor upon
> startup instead of having to telent to it? The telnet approach is great for
> development/testing, but in production I'd think it would be easier to be
> able to configure this, instead of having to telnet.

Yes. This is what conf/initial_adaptors does.

Ari Rabkin
UC Berkeley Computer Science Department

View raw message