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

Examples of org.apache.hadoop.hdfs.server.namenode.FSNamesystemDatanodeHelper.DatanodeStatus


   * so it can be reused.
   */
  private void populateDatanodeMetrics(ArrayList<DatanodeDescriptor> live,
      ArrayList<DatanodeDescriptor> dead) {

    DatanodeStatus status = FSNamesystemDatanodeHelper.getDatanodeStats(fsNameSystem,
        live, dead);

    // populate metrics
    numLiveNodes.set(status.numLive);
    numLiveExcludedNodes.set(status.numLiveExcluded);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.server.namenode.FSNamesystemDatanodeHelper.DatanodeStatus

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.