public class TimelineServiceV1Publisher extends AbstractSystemMetricsPublisher
AbstractSystemMetricsPublisher.MultiThreadedDispatcher, AbstractSystemMetricsPublisher.SystemMetricsEventType, AbstractSystemMetricsPublisher.TimelinePublishEvent| Constructor and Description |
|---|
TimelineServiceV1Publisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
appACLsUpdated(RMApp app,
String appViewACLs,
long updatedTime) |
void |
appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemptState,
RMApp app,
long finishedTime) |
void |
appAttemptRegistered(RMAppAttempt appAttempt,
long registeredTime) |
void |
appCreated(RMApp app,
long createdTime) |
void |
appFinished(RMApp app,
RMAppState state,
long finishedTime) |
void |
appLaunched(RMApp app,
long launchTime) |
void |
appStateUpdated(RMApp app,
org.apache.hadoop.yarn.api.records.YarnApplicationState appState,
long updatedTime) |
void |
appUpdated(RMApp app,
long updatedTime) |
void |
containerCreated(RMContainer container,
long createdTime) |
void |
containerFinished(RMContainer container,
long finishedTime) |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
getDispatcheraddIfService, addService, getServices, removeServiceclose, 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 AbstractSystemMetricsPublisherExceptionprotected void serviceStart()
throws Exception
serviceStart in class org.apache.hadoop.service.CompositeServiceExceptionprotected void serviceStop()
throws Exception
serviceStop in class org.apache.hadoop.service.CompositeServiceExceptionpublic void appCreated(RMApp app, long createdTime)
public void appLaunched(RMApp app, long launchTime)
appLaunched in interface SystemMetricsPublisherappLaunched in class AbstractSystemMetricsPublisherpublic void appFinished(RMApp app, RMAppState state, long finishedTime)
public void appUpdated(RMApp app, long updatedTime)
public void appStateUpdated(RMApp app, org.apache.hadoop.yarn.api.records.YarnApplicationState appState, long updatedTime)
public void appAttemptRegistered(RMAppAttempt appAttempt, long registeredTime)
public void appAttemptFinished(RMAppAttempt appAttempt, RMAppAttemptState appAttemptState, RMApp app, long finishedTime)
public void containerCreated(RMContainer container, long createdTime)
public void containerFinished(RMContainer container, long finishedTime)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.