@InterfaceAudience.Private
 @InterfaceStability.Unstable
public class PerNodeTimelineCollectorsAuxService
extends org.apache.hadoop.yarn.server.api.AuxiliaryService
| Constructor and Description | 
|---|
| PerNodeTimelineCollectorsAuxService() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | addApplicationIfAbsent(org.apache.hadoop.yarn.api.records.ApplicationId appId,
                      String user)Creates and adds an app level collector for the specified application id. | 
| ByteBuffer | getMetaData() | 
| void | initializeApplication(org.apache.hadoop.yarn.server.api.ApplicationInitializationContext context) | 
| void | initializeContainer(org.apache.hadoop.yarn.server.api.ContainerInitializationContext context)Creates and adds an app level collector for the specified application id. | 
| static PerNodeTimelineCollectorsAuxService | launchServer(String[] args,
            NodeTimelineCollectorManager collectorManager,
            org.apache.hadoop.conf.Configuration conf) | 
| static void | main(String[] args) | 
| boolean | removeApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId)Removes the app level collector for the specified application id. | 
| protected Future | removeApplicationCollector(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| protected void | serviceInit(org.apache.hadoop.conf.Configuration conf) | 
| protected void | serviceStart() | 
| protected void | serviceStop() | 
| void | stopApplication(org.apache.hadoop.yarn.server.api.ApplicationTerminationContext context) | 
| void | stopContainer(org.apache.hadoop.yarn.server.api.ContainerTerminationContext context)Removes the app level collector for the specified application id. | 
getAuxiliaryLocalPathHandler, getRecoveryPath, setAuxiliaryLocalPathHandler, setRecoveryPathclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStopprotected void serviceInit(org.apache.hadoop.conf.Configuration conf)
                    throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStart()
                     throws Exception
serviceStart in class org.apache.hadoop.service.AbstractServiceExceptionprotected void serviceStop()
                    throws Exception
serviceStop in class org.apache.hadoop.service.AbstractServiceExceptionpublic boolean addApplicationIfAbsent(org.apache.hadoop.yarn.api.records.ApplicationId appId,
                                      String user)
appId - Application Id to be added.user - Application Master container user.public boolean removeApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId)
appId - Application Id to be removed.public void initializeContainer(org.apache.hadoop.yarn.server.api.ContainerInitializationContext context)
initializeContainer in class org.apache.hadoop.yarn.server.api.AuxiliaryServicepublic void stopContainer(org.apache.hadoop.yarn.server.api.ContainerTerminationContext context)
stopContainer in class org.apache.hadoop.yarn.server.api.AuxiliaryServiceprotected Future removeApplicationCollector(org.apache.hadoop.yarn.api.records.ContainerId containerId)
public void initializeApplication(org.apache.hadoop.yarn.server.api.ApplicationInitializationContext context)
initializeApplication in class org.apache.hadoop.yarn.server.api.AuxiliaryServicepublic void stopApplication(org.apache.hadoop.yarn.server.api.ApplicationTerminationContext context)
stopApplication in class org.apache.hadoop.yarn.server.api.AuxiliaryServicepublic ByteBuffer getMetaData()
getMetaData in class org.apache.hadoop.yarn.server.api.AuxiliaryServicepublic static PerNodeTimelineCollectorsAuxService launchServer(String[] args, NodeTimelineCollectorManager collectorManager, org.apache.hadoop.conf.Configuration conf)
public static void main(String[] args)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.