jmx?qry=Hadoop:service=NameNode,
name=NameNodeInfo
http://yyy:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo
name=NameNodeStatus
http://yyy:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus
name=FSNamesystemState
http://yyy:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystemState
name=FSNamesystem
http://yyy:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem
name=BlockStats
http://yyy:50070/jmx?qry=Hadoop:service=NameNode,name=BlockStats
qry=java.lang:type=Memory
这个指标还是挺关键的:元数据使用内存大小/堆内存大小
http://yyy:50070/jmx?qry=java.lang:type=Memory
image.png
接口返回的data sample:
{
"beans" : [ {
"name" : "java.lang:type=Memory",
"modelerType" : "sun.management.MemoryImpl",
"ObjectPendingFinalizationCount" : 0,
"HeapMemoryUsage" : {
"committed" : 66035122176,
"init" : 67108864000,
"max" : 66035122176,
"used" : 32603159920
},
"NonHeapMemoryUsage" : {
"committed" : 135868416,
"init" : 2555904,
"max" : -1,
"used" : 133775248
},
"Verbose" : true,
"ObjectName" : "java.lang:type=Memory"
} ]
}
网友评论