HBase-JvmPauseMonitor分析

来源:互联网 发布:生化危机4 mac 编辑:程序博客网 时间:2024/06/05 10:52

HBase-JvmPauseMonitor分析

原理:使用MXBeans进行gc时长的收集

应用:
HMaster中
this.pauseMonitor = new JvmPauseMonitor(conf, metricsMaster.getMetricsSource());
this.pauseMonitor.start();

其他应用:HRegionServer,thrift server,Rest Servlet

pauseMonitor.start();方法中启动JvmPauseMonitor的Monitor线程

原创粉丝点击