0

ganglia用来监控Hadoopgmond并且gmetad运行良好。当我在gmond端口(8649)上远程登录gmetad并在其xml应答端口上远程登录时,我没有得到任何hadoop数据。怎么会这样 ?

cluster {
  name = "my cluster"
  owner = "Master"
  latlong = "unspecified"
  url = "unspecified"
}

host {
  location = localhost
}

udp_send_channel {
  #bind_hostname = yes 
  #mcast_join = 239.2.11.71
  host = localhost
  port = 8649
  ttl = 1
}

udp_recv_channel {
  #mcast_join = 239.2.11.71
  port = 8649
  retry_bind = true
  # Size of the UDP buffer. If you are handling lots of metrics you really
  # should bump it up to e.g. 10MB or even higher.
  # buffer = 10485760
}

tcp_accept_channel {
  port = 8649
  # If you want to gzip XML output
  gzip_output = no
}
4

1 回答 1

0

我找出问题所在。它与hadoop指标属性有关。我设置了gangliahadoop-metrics.properties但我必须设置hadoop-metrics.properties配置文件。现在ganglia抛出正确的指标。

于 2015-06-18T10:10:29.513 回答