@InterfaceAudience.Private @InterfaceStability.Unstable public class AppLevelTimelineCollector extends TimelineCollector
TimelineCollector.AggregationStatusTable
SEPARATOR
Constructor and Description |
---|
AppLevelTimelineCollector(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
AppLevelTimelineCollector(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String user) |
Modifier and Type | Method and Description |
---|---|
String |
getAppUser() |
org.apache.hadoop.security.UserGroupInformation |
getCurrentUser() |
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> |
getDelegationTokenForApp() |
TimelineCollectorContext |
getTimelineEntityContext() |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
aggregateEntities, getAggregationGroups, getEntityTypesSkipAggregation, isReadyToAggregate, putDomain, 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 AppLevelTimelineCollector(org.apache.hadoop.yarn.api.records.ApplicationId appId)
public AppLevelTimelineCollector(org.apache.hadoop.yarn.api.records.ApplicationId appId, String user)
public org.apache.hadoop.security.UserGroupInformation getCurrentUser()
public String getAppUser()
public org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> getDelegationTokenForApp()
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class TimelineCollector
Exception
protected void serviceStart() throws Exception
serviceStart
in class TimelineCollector
Exception
protected void serviceStop() throws Exception
serviceStop
in class TimelineCollector
Exception
public TimelineCollectorContext getTimelineEntityContext()
getTimelineEntityContext
in class TimelineCollector
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.