java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service@Private @Unstable public class NodeTimelineCollectorManager extends TimelineCollectorManager
| Modifier | Constructor | Description |
|---|---|---|
protected |
NodeTimelineCollectorManager() |
|
protected |
NodeTimelineCollectorManager(boolean asAuxService) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cancelTokenForAppCollector(AppLevelTimelineCollector appCollector) |
|
protected TimelineV2DelegationTokenSecretManagerService |
createTokenManagerService() |
|
protected void |
doPostPut(org.apache.hadoop.yarn.api.records.ApplicationId appId,
TimelineCollector collector) |
A template method that will be called by
TimelineCollectorManager.postPut(ApplicationId, TimelineCollector). |
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> |
generateTokenForAppCollector(java.lang.String user) |
|
protected org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocol |
getNMCollectorService() |
|
java.lang.String |
getRestServerBindAddress() |
|
TimelineV2DelegationTokenSecretManagerService |
getTokenManagerService() |
|
protected void |
postRemove(org.apache.hadoop.yarn.api.records.ApplicationId appId,
TimelineCollector collector) |
|
long |
renewTokenForAppCollector(AppLevelTimelineCollector appCollector) |
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
|
protected void |
serviceStart() |
|
protected void |
serviceStop() |
containsTimelineCollector, get, getWriter, postPut, putIfAbsent, removeaddIfService, addService, getServices, removeServiceclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop@VisibleForTesting protected NodeTimelineCollectorManager()
protected NodeTimelineCollectorManager(boolean asAuxService)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class TimelineCollectorManagerjava.lang.Exceptionprotected void serviceStart()
throws java.lang.Exception
serviceStart in class TimelineCollectorManagerjava.lang.Exceptionprotected TimelineV2DelegationTokenSecretManagerService createTokenManagerService()
@VisibleForTesting public TimelineV2DelegationTokenSecretManagerService getTokenManagerService()
protected void serviceStop()
throws java.lang.Exception
serviceStop in class TimelineCollectorManagerjava.lang.Exception@VisibleForTesting public org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> generateTokenForAppCollector(java.lang.String user)
@VisibleForTesting public long renewTokenForAppCollector(AppLevelTimelineCollector appCollector) throws java.io.IOException
java.io.IOException@VisibleForTesting public void cancelTokenForAppCollector(AppLevelTimelineCollector appCollector) throws java.io.IOException
java.io.IOExceptionprotected void doPostPut(org.apache.hadoop.yarn.api.records.ApplicationId appId,
TimelineCollector collector)
TimelineCollectorManagerTimelineCollectorManager.postPut(ApplicationId, TimelineCollector).doPostPut in class TimelineCollectorManagerappId - Application id of the collector.collector - The actual timeline collector that has been added.protected void postRemove(org.apache.hadoop.yarn.api.records.ApplicationId appId,
TimelineCollector collector)
postRemove in class TimelineCollectorManager@VisibleForTesting protected org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocol getNMCollectorService()
@VisibleForTesting public java.lang.String getRestServerBindAddress()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.