|
@@ -103,6 +103,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
|
|
|
if (useGroupByAggregator(metricsConf)) {
|
|
|
return new org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.aggregators.v2.TimelineMetricHostAggregator(
|
|
|
+ "TimelineMetricHostAggregatorMinute",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -114,7 +115,9 @@ public class TimelineMetricAggregatorFactory {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- return new TimelineMetricHostAggregator(hBaseAccessor, metricsConf,
|
|
|
+ return new TimelineMetricHostAggregator(
|
|
|
+ "TimelineMetricHostAggregatorMinute",
|
|
|
+ hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
|
checkpointCutOffMultiplier,
|
|
@@ -147,6 +150,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
|
|
|
if (useGroupByAggregator(metricsConf)) {
|
|
|
return new org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.aggregators.v2.TimelineMetricHostAggregator(
|
|
|
+ "TimelineMetricHostAggregatorHourly",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -158,7 +162,9 @@ public class TimelineMetricAggregatorFactory {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- return new TimelineMetricHostAggregator(hBaseAccessor, metricsConf,
|
|
|
+ return new TimelineMetricHostAggregator(
|
|
|
+ "TimelineMetricHostAggregatorHourly",
|
|
|
+ hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
|
checkpointCutOffMultiplier,
|
|
@@ -191,6 +197,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
|
|
|
if (useGroupByAggregator(metricsConf)) {
|
|
|
return new org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.aggregators.v2.TimelineMetricHostAggregator(
|
|
|
+ "TimelineMetricHostAggregatorDaily",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -202,7 +209,9 @@ public class TimelineMetricAggregatorFactory {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- return new TimelineMetricHostAggregator(hBaseAccessor, metricsConf,
|
|
|
+ return new TimelineMetricHostAggregator(
|
|
|
+ "TimelineMetricHostAggregatorDaily",
|
|
|
+ hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
|
checkpointCutOffMultiplier,
|
|
@@ -241,6 +250,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
|
|
|
// Second based aggregation have added responsibility of time slicing
|
|
|
return new TimelineMetricClusterAggregatorSecond(
|
|
|
+ "TimelineClusterAggregatorSecond",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -278,6 +288,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
|
|
|
if (useGroupByAggregator(metricsConf)) {
|
|
|
return new org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.aggregators.v2.TimelineMetricClusterAggregator(
|
|
|
+ "TimelineClusterAggregatorMinute",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -290,6 +301,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
}
|
|
|
|
|
|
return new TimelineMetricClusterAggregator(
|
|
|
+ "TimelineClusterAggregatorMinute",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -326,6 +338,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
|
|
|
if (useGroupByAggregator(metricsConf)) {
|
|
|
return new org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.aggregators.v2.TimelineMetricClusterAggregator(
|
|
|
+ "TimelineClusterAggregatorHourly",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -338,6 +351,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
}
|
|
|
|
|
|
return new TimelineMetricClusterAggregator(
|
|
|
+ "TimelineClusterAggregatorHourly",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -374,6 +388,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
|
|
|
if (useGroupByAggregator(metricsConf)) {
|
|
|
return new org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.aggregators.v2.TimelineMetricClusterAggregator(
|
|
|
+ "TimelineClusterAggregatorDaily",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|
|
@@ -386,6 +401,7 @@ public class TimelineMetricAggregatorFactory {
|
|
|
}
|
|
|
|
|
|
return new TimelineMetricClusterAggregator(
|
|
|
+ "TimelineClusterAggregatorDaily",
|
|
|
hBaseAccessor, metricsConf,
|
|
|
checkpointLocation,
|
|
|
sleepIntervalMillis,
|