@InterfaceAudience.Private @InterfaceStability.Unstable public class NodeTimelineCollectorManager extends TimelineCollectorManager
| Modifier | Constructor and Description |
|---|---|
protected |
NodeTimelineCollectorManager() |
protected |
NodeTimelineCollectorManager(boolean asAuxService) |
| Modifier and Type | Method and 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(String user) |
protected org.apache.hadoop.yarn.server.api.CollectorNodemanagerProtocol |
getNMCollectorService() |
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 Exception
serviceInit in class TimelineCollectorManagerExceptionprotected void serviceStart()
throws Exception
serviceStart in class TimelineCollectorManagerExceptionprotected TimelineV2DelegationTokenSecretManagerService createTokenManagerService()
@VisibleForTesting public TimelineV2DelegationTokenSecretManagerService getTokenManagerService()
protected void serviceStop()
throws Exception
serviceStop in class TimelineCollectorManagerException@VisibleForTesting public org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier> generateTokenForAppCollector(String user)
@VisibleForTesting public long renewTokenForAppCollector(AppLevelTimelineCollector appCollector) throws IOException
IOException@VisibleForTesting public void cancelTokenForAppCollector(AppLevelTimelineCollector appCollector) throws IOException
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 String getRestServerBindAddress()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.