@InterfaceAudience.Private @InterfaceStability.Unstable public class AppLevelTimelineCollectorWithAgg extends AppLevelTimelineCollector
AppLevelTimelineCollector
class for
writes to Timeline Service.
App-related lifecycle management is handled by this service.TimelineCollector.AggregationStatusTable
SEPARATOR
Constructor and Description |
---|
AppLevelTimelineCollectorWithAgg(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String user) |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
getEntityTypesSkipAggregation()
Method to decide the set of timeline entity types the collector should
skip on aggregations.
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
getAppUser, getCurrentUser, getDelegationTokenForApp, getTimelineEntityContext
aggregateEntities, getAggregationGroups, isReadyToAggregate, putEntities, putEntitiesAsync, setReadyToAggregate, setWriter
addIfService, addService, getServices, removeService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public AppLevelTimelineCollectorWithAgg(org.apache.hadoop.yarn.api.records.ApplicationId appId, String user)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class AppLevelTimelineCollector
Exception
protected void serviceStart() throws Exception
serviceStart
in class AppLevelTimelineCollector
Exception
protected void serviceStop() throws Exception
serviceStop
in class AppLevelTimelineCollector
Exception
protected Set<String> getEntityTypesSkipAggregation()
TimelineCollector
getEntityTypesSkipAggregation
in class TimelineCollector
Copyright © 2022 Apache Software Foundation. All rights reserved.