I'm having a little trouble getting mapr or hadoop stats reporting to ganglia. I have ganglia up and running and reporting the usual stats. But when I try to configure mapr/hadoop metrics through /opt/mapr/hadoop/hadoop-0.20.2/conf/hadoop-metrics.properties nothing I seem to do triggers any metrics to get reported. I've had this running OK in the past on an apache-hadoop 0.20.2 cluster sending metrics to ganglia 3.0.x.
In this case, I'm using ganglia 3.1 running the web frontend and gmetad on a separate node. I've tried configuring the *.servers properties to point at several different spots ranging from the multicast address of the local gmond to the tcp port of the gmetad server and I'm not seeing any collection via the xml interfaces or in the web front-end.
The contexts I'm trying to set up are (220.127.116.11 is the multicast endpoint that my gmonds are communicating over.):
asked 12 Dec '11, 07:48
You will have to update /opt/mapr/conf/hadoop-metrics.properties files. (Since GangliaContext is hardcoded to load hadoop-metrics.properties as file name, the same name had to be used for now). Then you will have enable metrics in CLDB and FileServer section
Once that is done, restart CLDB and you should start seeing metrics in ganglia. Let us know how it goes.
answered 12 Dec '11, 15:43