Hi Andrew, thanks for your reply.
The metrics2 configuration is :
*.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31
*.sink.ganglia.period=10
*.sink.ganglia.supportsparse=true
namenode.sink.ganglia.servers=10.232.130.6:8649
datanodenode.sink.ganglia.servers=10.232.130.6:864
Hey LiuLei,
Gauges can go up and down, counters only go up. Snapshot doesn't actually
reset anything, it's just a way for the metrics system to get an updated
value. There aren't any time-based rolling metrics to my knowledge besides
MutableQuantiles.
Best,
Andrew
On Wed, Nov 20, 2013 at 7:34 P