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
posted @ 2018-08-20 23:43  Eventide  阅读(2397)  评论(4编辑  收藏  举报