Package org.apache.hadoop.hdfs.server.namenode.metrics

Examples of org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeStatistics


      // Initiate Java VM metrics
      JvmMetrics.init("NameNode", sessionId);

     
      // Now the Mbean for the name node - this alos registers the MBean
      namenodeStats = new NameNodeStatistics(this);
     
      // Create a record for NameNode metrics
      MetricsContext metricsContext = MetricsUtil.getContext("dfs");
      metricsRecord = MetricsUtil.createRecord(metricsContext, "namenode");
      metricsRecord.setTag("sessionId", sessionId);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeStatistics

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.