问题监视hadoop响应

eqoofvh9  于 2021-05-30  发布在  Hadoop
关注(0)|答案(1)|浏览(335)

我正在使用 ganglia 监视 Hadoop . gmond 以及 gmetad 一切正常。当我打开telnet时 gmond 端口(8649)和当我telnet 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
}
7lrncoxx

7lrncoxx1#

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

相关问题