Package org.apache.hadoop.mapred

Examples of org.apache.hadoop.mapred.ResourceMetadata


        !counters.containsKey(MetricName.GRANTED) ||
        !counters.containsKey(MetricName.REQUESTED)) {
      return null;
    }

    return new ResourceMetadata(
        PoolInfo.createStringFromPoolInfo(poolInfo),
        counters.get(MetricName.MIN).intValue(),
        counters.get(MetricName.MAX).intValue(),
        counters.get(MetricName.GRANTED).intValue(),
        counters.get(MetricName.REQUESTED).intValue());
View Full Code Here


        new HashMap<String, PoolMetadata>();
    for (Map.Entry<ResourceType, SchedulerForType> schedulerEntry :
        schedulersForTypes.entrySet()) {
      for (Map.Entry<PoolInfo, PoolInfoMetrics> poolEntry :
          schedulerEntry.getValue().getPoolInfoMetrics().entrySet()) {
        ResourceMetadata resourceMetadata =
            poolEntry.getValue().getResourceMetadata();
        // Ignore any invalid pool metrics
        if (resourceMetadata == null) {
          continue;
        }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.mapred.ResourceMetadata

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.