我使用ganglia来监视Hadoop。gmond和gmetad运行得很好。当我在gmond端口(8649)上的telnet和在它的xml应答端口上的telnet gmetad时,我没有得到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
}发布于 2015-06-18 10:10:29
我发现问题了。它与hadoop度量属性相关。我在ganglia中设置了hadoop-metrics.properties,但必须设置hadoop-metrics.properties配置文件。现在,ganglia抛出正确的度量标准。
https://stackoverflow.com/questions/30901161
复制相似问题