[英]issue monitoring hadoop response
我正在使用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
}
我發現了問題。 它與hadoop
指標屬性有關。 我在hadoop-metrics.properties
設置了ganglia
,但是我不得不設置了hadoop-metrics.properties
配置文件。 現在, ganglia
拋出正確的指標。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.