JMX监控Hadoop的部分常用参数位置
Posted Eventide
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了JMX监控Hadoop的部分常用参数位置相关的知识,希望对你有一定的参考价值。
近期版本get无法使用,可能使用了其他参数代替,但源码中已经去掉JMX部分,也没有给出替代接口,应该是不再额外实现了。
NameNode
NameNode:50070
Hadoop:service=NameNode,name=JvmMetrics
- MemHeapMaxM
- MemMaxM
Hadoop:service=NameNode,name=FSNamesystem
- CapacityTotal
- CapacityTotalGB
- CapacityRemaining
- CapacityRemainingGB
- TotalLoad
- FilesTotal
Hadoop:service=NameNode,name=FSNamesystemState
- NumLiveDataNodes
Hadoop:service=NameNode,name=NameNodeInfo
- LiveNodes
java.lang:type=Runtime
- StartTime
Hadoop:service=NameNode,name=FSNamesystemState
- TopUserOpCounts:timestamp
DataNode
DataNode:50075
Hadoop:service=DataNode,name=DataNodeActivity-slave-50010
- BytesWritten
- BytesRead
- BlocksWritten
- BlocksRead
- ReadsFromLocalClient
- ReadsFromRemoteClient
- WritesFromLocalClient
- WritesFromRemoteClient
- BlocksGetLocalPathInfo
HDFS
NameNode:50070
Hadoop:service=NameNode,name=NameNodeActivity
- CreateFileOps
- FilesCreated
- FilesAppended
- FilesRenamed
- GetListingOps
- DeleteFileOps
- FilesDeleted
Hadoop:service=NameNode,name=FSNamesystem
- CapacityTotal
- CapacityTotalGB
- CapacityUsed
- CapacityUsedGB
- CapacityRemaining
- CapacityRemainingGB
- CapacityUsedNonDFS
Yarn
ResourceManager:8088
Hadoop:service=ResourceManager,name=ClusterMetrics
- NumActiveNMs
- NumDecommissionedNMs
Hadoop:service=ResourceManager,name=JvmMetrics
- MemHeapUsedM
以上是关于JMX监控Hadoop的部分常用参数位置的主要内容,如果未能解决你的问题,请参考以下文章