Search in sources :

Example 1 with JvmMetrics

use of org.apache.hadoop.hive.common.JvmMetrics in project hive by apache.

the class LlapDaemonExecutorMetrics method create.

public static LlapDaemonExecutorMetrics create(String displayName, String sessionId, int numExecutors, final int[] intervals) {
    MetricsSystem ms = LlapMetricsSystem.instance();
    JvmMetrics jm = JvmMetrics.create(MetricsUtils.METRICS_PROCESS_NAME, sessionId, ms);
    return ms.register(displayName, "LlapDaemon Executor Metrics", new LlapDaemonExecutorMetrics(displayName, jm, sessionId, numExecutors, intervals));
}
Also used : JvmMetrics(org.apache.hadoop.hive.common.JvmMetrics) MetricsSystem(org.apache.hadoop.metrics2.MetricsSystem)

Example 2 with JvmMetrics

use of org.apache.hadoop.hive.common.JvmMetrics in project hive by apache.

the class LlapTaskSchedulerMetrics method create.

public static LlapTaskSchedulerMetrics create(String displayName, String sessionId) {
    MetricsSystem ms = LlapMetricsSystem.instance();
    JvmMetrics jm = JvmMetrics.create(MetricsUtils.METRICS_PROCESS_NAME, sessionId, ms);
    return ms.register(displayName, "Llap Task Scheduler Metrics", new LlapTaskSchedulerMetrics(displayName, jm, sessionId));
}
Also used : JvmMetrics(org.apache.hadoop.hive.common.JvmMetrics) MetricsSystem(org.apache.hadoop.metrics2.MetricsSystem) LlapMetricsSystem(org.apache.hadoop.hive.llap.metrics.LlapMetricsSystem)

Example 3 with JvmMetrics

use of org.apache.hadoop.hive.common.JvmMetrics in project hive by apache.

the class LlapDaemonExecutorMetrics method create.

public static LlapDaemonExecutorMetrics create(String displayName, String sessionId, int numExecutorsConfigured, int waitQueueSizeConfigured, final int[] intervals, int timedWindowAverageDataPoints, long timedWindowAverageWindowLength, int simpleAverageWindowDataSize) {
    MetricsSystem ms = LlapMetricsSystem.instance();
    JvmMetrics jm = JvmMetrics.create(MetricsUtils.METRICS_PROCESS_NAME, sessionId, ms);
    return ms.register(displayName, "LlapDaemon Executor Metrics", new LlapDaemonExecutorMetrics(displayName, jm, sessionId, numExecutorsConfigured, waitQueueSizeConfigured, intervals, timedWindowAverageDataPoints, timedWindowAverageWindowLength, simpleAverageWindowDataSize));
}
Also used : JvmMetrics(org.apache.hadoop.hive.common.JvmMetrics) MetricsSystem(org.apache.hadoop.metrics2.MetricsSystem)

Aggregations

JvmMetrics (org.apache.hadoop.hive.common.JvmMetrics)3 MetricsSystem (org.apache.hadoop.metrics2.MetricsSystem)3 LlapMetricsSystem (org.apache.hadoop.hive.llap.metrics.LlapMetricsSystem)1