java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.ServiceAppLevelTimelineCollectorWithAgg@Private @Unstable public class AppLevelTimelineCollector extends TimelineCollector
TimelineCollector.AggregationStatusTableSEPARATOR| Constructor | Description |
|---|---|
AppLevelTimelineCollector(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
|
AppLevelTimelineCollector(org.apache.hadoop.yarn.api.records.ApplicationId appId,
java.lang.String user) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.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, setWriteraddIfService, addService, getServices, removeServiceclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic AppLevelTimelineCollector(org.apache.hadoop.yarn.api.records.ApplicationId appId)
public AppLevelTimelineCollector(org.apache.hadoop.yarn.api.records.ApplicationId appId,
java.lang.String user)
public org.apache.hadoop.security.UserGroupInformation getCurrentUser()
public java.lang.String getAppUser()
@VisibleForTesting 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 java.lang.Exception
serviceInit in class TimelineCollectorjava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class TimelineCollectorjava.lang.Exceptionprotected void serviceStop()
throws java.lang.Exception
serviceStop in class TimelineCollectorjava.lang.Exceptionpublic TimelineCollectorContext getTimelineEntityContext()
getTimelineEntityContext in class TimelineCollectorCopyright © 2008–2025 Apache Software Foundation. All rights reserved.