Hi, I have set up ganglia for my cluster, and it works fine. What are the changes I need to make to make ganglia show hadoop related parameters? My gmond/gmetad config is default except for one change in gmond.conf for all nodes:
/* You can specify as many tcp_accept_channels as you like to share an xml description of the state of the cluster */ tcp_accept_channel { port = 8650 } I have changed the hadoop-metrics.properties file as follows: # Configuration of the "dfs" context for ganglia dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext dfs.period=10 dfs.servers=hadoop1:8649 hadoop2:8649 hadoop3:8649 ejabber:8649 # Configuration of the "mapred" context for null #mapred.class=org.apache.hadoop.metrics.spi.NullContext # Configuration of the "mapred" context for file #mapred.class=org.apache.hadoop.metrics.file.FileContext #mapred.period=10 #mapred.fileName=/tmp/mrmetrics.log # Configuration of the "mapred" context for ganglia mapred.class=org.apache.hadoop.metrics.ganglia.GangliaContext mapred.period=10 mapred.servers=hadoop1:8649 hadoop2:8649 hadoop3:8649 ejabber:8649 # Configuration of the "jvm" context for null #jvm.class=org.apache.hadoop.metrics.spi.NullContext # Configuration of the "jvm" context for file #jvm.class=org.apache.hadoop.metrics.file.FileContext #jvm.period=10 #jvm.fileName=/tmp/jvmmetrics.log # Configuration of the "jvm" context for ganglia jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext jvm.period=10 jvm.servers=hadoop1:8649 hadoop2:8649 hadoop3:8649 ejabber:8649 rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext rpc.period=10 rpc.servers=hadoop1:8649 hadoop2:8649 hadoop3:8649 ejabber:8649 hadoop1,2,3 and ejabber are my nodes. But I am unable to see any new metrics in ganglia's drop down menu. Is there something else I need to do as well? I have restarted gmond on all nodes. thanks, Hari