码迷,mamicode.com
首页 > 其他好文 > 详细

ganglia

时间:2019-06-20 15:47:39      阅读:110      评论:0      收藏:0      [点我收藏+]

标签:cat   meta   mes   server   prope   metrics   set   auth   pac   

/etc/hadoop/conf/hadoop-metrics2.properties 
namenode.sink.ganglia.servers=10.0.0.1:8649
datanode.sink.ganglia.servers=10.0.0.1:8649
journalnode.sink.ganglia.servers=10.0.1.1:8649
resourcemanager.sink.ganglia.servers=10.0.1.1:8649
nodemanager.sink.ganglia.servers=10.0.1.1:8649
mrappmaster.sink.ganglia.servers=10.0.1.1:8649
jobhistoryserver.sink.ganglia.servers=10.0.1.1:8649
zkfc.sink.ganglia.servers=10.0.1.1:8649
maptask.sink.ganglia.servers=10.0.1.1:8649
reducetask.sink.ganglia.servers=10.0.1.1:8649


9.0.0.1: cat  /etc/ganglia/gmetad.conf   
data_source "hdfs-cluster-summary" 8.0.0.1:8651
data_source "yarn-cluster-summary" 8.0.0.2:8651
data_source "system-zk-cluster" 8.0.0.3:8651

gridname "BigDataGrid"
authority "http://9.0.0.1/ganglia/"
trusted_hosts 9.0.0.1 10.0.0.1 10.0.0.2
all_trusted on
setuid_username "apache"
case_sensitive_hostnames 1


8.0.0.1: cat  /etc/ganglia/gmetad.conf   
server_threads 10
data_source "hdfs-cluster" 10.0.0.1:8651
data_source "hdfs-cluster-1" 10.0.0.2:8651
data_source "hdfs-cluster-2" 10.0.0.3:8651

gridname "hdfs-cluster-summary"
authority "http://8.0.0.1/ganglia/"
trusted_hosts 9.0.0.1 10.0.0.1 10.0.0.2 8.0.0.3 8.0.0.1 8.0.0.2 10.0.0.2 10.0.0.3 
all_trusted on
setuid_username "apache"
case_sensitive_hostnames 1



10.0.0.1: cat  /etc/ganglia/gmetad.conf

data_source "hdfs-cluster" 10.0.0.1

gridname "hdfs-cluster"
authority "http://10.0.0.1/ganglia/"
trusted_hosts 9.0.0.1 10.0.0.1 10.0.0.2 8.0.0.3 8.0.0.1 8.0.0.2 10.0.0.2 10.0.0.3 
all_trusted on
setuid_username "apache"
case_sensitive_hostnames 1

技术图片

 

ganglia

标签:cat   meta   mes   server   prope   metrics   set   auth   pac   

原文地址:https://www.cnblogs.com/moonypog/p/11058893.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!