本文包含如下内容:
① Router -> NameNode之间的连接池、连接数等指标的含义及源码
一、指标含义及相应源码介绍
下面是在router的jmx里的FederationRPC这个bean里的一些指标。
本文重点关注几个跟connection相关的指标。
- RpcServerNumOpenConnections: Number of the rpc server open connections。
- RpcClientNumConnections: Number of the rpc client open connections。
- RpcClientNumActiveConnections: Number of the rpc client active connections。
- RpcClientNumIdleConnections: Number of the rpc client idle connections。
- RpcClientNumCreatingConnections: Number of the rpc client creating connections。
- RpcClientNumActiveConnectionsRecently: Number of the rpc client active connections recently。
- RpcClientNumConnectionPools: Number of the rpc client connection pools。
{
"name" : "Hadoop:service=Router,name=FederationRPC",
"modelerType" : "org.apache.hadoop.hdfs.serve