For JMX you can also look at JMXGet.java class. You can use this object to
get the data thru JMX.

Boris

On 8/24/09 1:27 AM, "Stas Oskin" <stas.os...@gmail.com> wrote:

> Hi.
> 
> One way you can do this is thought JMX.
>> 
>> 
>> http://www.jointhegrid.com/svn/hadoop-cacti-jtg/trunk/src/com/jointhegrid/had
>> oopjmx/NameNodeStatistics.java
>> 
>> That is part of a cacti graphing application for hadoop I wrote
>> (http://www.jointhegrid.com/hadoop/)
>> 
>> Enjoy,
>> 
> 
> I'm going to try this next - you probably meant these links?
> 
> http://www.jointhegrid.com/svn/hadoop-cacti-jtg/trunk/src/com/jointhegrid/hado
> opjmx/FSNamesystemStatus.java
> 
> http://www.jointhegrid.com/svn/hadoop-cacti-jtg/trunk/src/com/jointhegrid/hado
> opjmx/FSDatasetStatus.java
> (inherits
> http://www.jointhegrid.com/svn/hadoop-cacti-jtg/trunk/src/com/jointhegrid/hado
> opjmx/JMXBase.java
> )

Reply via email to