hbase1.3.3集成ganglia

上文讲解了ganglia集群监控工具多cluster搭建采坑指南的使用方法。 本文基于上文的案例, 讲解如何集成hadoop到ganglia监控中。

hbase1.3.3集成ganglia

hbase 所有节点包含hmaster和hregion server节点配置如下

vi hbase-1.3.3/conf/hadoop-metrics2-hbase.properties 
*.sink.file*.class=org.apache.hadoop.metrics2.sink.FileSink
*.period=10


*.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31
*.sink.ganglia.period=10

hbase.sink.ganglia.period=10
hbase.sink.ganglia.servers=ip-1:8649

hbase.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31
hbase.period=10
hbase.servers=ip-1:8649

jvm.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31
jvm.period=10
jvm.servers=ip-1:8649

rpc.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31
rpc.period=10
rpc.servers=ip-1:8649


rest.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
rest.period=10
rest.servers=ip-1:8649

然后重启hbase集群

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
慷慨打赏