Re: issue about rpc activity metrics

2013-11-20 Thread Andrew Wang
The metrics system generates a number of different entries per in-code metrics object. For instance, the "SendHeartbeat" MutableRate will generate both "NumOps" and "AvgTime". Look in NameNodeMetrics.java for where these are updated. Best, Andrew On Tue, Nov 19, 2013 at 10:52 PM, ch huang wrot

issue about rpc activity metrics

2013-11-19 Thread ch huang
hi,all: i get rpc metrics from NN 50070 port ,and i try search the code to see how these metrics is caculated, i try to use grep,but get nothing ,why? [root@CH124 hadoop-2.0.0-cdh4.3.0]# grep -R 'DeleteNumOps' * { "name" : "Hadoop:service=NameNode,name=RpcDetailedActivityForPort8020",