Package org.apache.hadoop.metrics.util

Examples of org.apache.hadoop.metrics.util.MetricsIntValue


    typeToFreeSlots = createTypeToCountMap(types, "free");
    typeToSchedulerRunTime = createTypeToCountMap(types, "scheduler_runtime");
    typeToSchedulerCurrentCycleStart =
        new ConcurrentHashMap<ResourceType, Long>();
    sessionStatusToMetrics = createSessionStatusToMetricsMap();
    aliveNodes = new MetricsIntValue("alive_nodes", registry);
    deadNodes = new MetricsIntValue("dead_nodes", registry);
    blacklistedNodes = new MetricsIntValue("blacklisted_nodes", registry);
    numRunningSessions = new MetricsIntValue("num_running_sessions", registry);
    totalSessionCount = new MetricsTimeVaryingInt("total_sessions", registry);
    pendingCallsCount = new MetricsIntValue("num_pending_calls", registry);
    numCJTFailures = new MetricsTimeVaryingInt("num_cjt_failures", registry);
    numTaskTrackerRestarted = new MetricsIntValue("num_task_tracker_restarted", registry);
    numRemoteJTTimedout = new MetricsIntValue("num_remotejt_timedout", registry);
  }
View Full Code Here


      Collection<ResourceType> resourceTypes, String actionType) {
    Map<ResourceType, MetricsIntValue> m =
        new HashMap<ResourceType, MetricsIntValue>();
    for (ResourceType t : resourceTypes) {
      String name = (actionType + "_" + t).toLowerCase();
      MetricsIntValue value = new MetricsIntValue(name, registry);
      m.put(t, value);
    }
    return m;
  }
View Full Code Here

        "currentQueuedEditsSizeBytes_" + name, registry);
    currentLagTransactions = new MetricsLongValue("currentLagTransactions_"
        + name, registry);
    currentLagTimeMicros = new MetricsLongValue("currentLagTimeMicros_" + name,
        registry);
    isOutOfSync = new MetricsIntValue("isOutOfSync_" + name, registry);
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.metrics.util.MetricsIntValue

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.