码迷,mamicode.com
首页 > 其他好文 > 详细

JMX监控Hadoop的部分常用参数位置

时间:2018-08-21 00:26:35      阅读:534      评论:0      收藏:0      [点我收藏+]

标签:oop   位置   pen   oca   des   nms   state   star   efs   


近期版本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的部分常用参数位置

标签:oop   位置   pen   oca   des   nms   state   star   efs   

原文地址:https://www.cnblogs.com/S031602240/p/9508885.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!