我正在使用 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
}
1条答案
按热度按时间7lrncoxx1#
我发现了问题所在。它与
hadoop
度量属性。我设置了ganglia
在hadoop-metrics.properties
但我必须安排hadoop-metrics.properties
配置文件。现在ganglia
抛出正确的指标。