Re: MutableCounterLong metrics display in ganglia

2013-08-10 Thread lei liu
Thanks Harsh for your reply. What are difference MutableCounterLong and MutableGaugeLong class ? I find the MutableCounterLong is used to calculate throughput, the value be reset per ten seconds, and MutableGaugeLong is up-count and no reset. I am newer for hadoop-2.0.5, please tell me if the

Re: MutableCounterLong metrics display in ganglia

2013-08-09 Thread Harsh J
The counter, being num-ops, should up-count and not reset. Note that your test may be at fault though - calling hsync may not always call NN#fsync(…) unless you are passing the proper flags to make it always do so. On Wed, Aug 7, 2013 at 4:27 PM, lei liu wrote: > I use hadoop-2.0.5 and config had

MutableCounterLong metrics display in ganglia

2013-08-07 Thread lei liu
I use hadoop-2.0.5 and config hadoop-metrics2.properties file with below content. *.sink.ganglia.class=org. apache.hadoop.metrics2.sink.ganglia.GangliaSink31 *.sink.ganglia.period=10 *.sink.ganglia.supportsparse=true namenode.sink.ganglia.servers=10.232.98.74:8649 datanode.sink.ganglia.servers=10.2