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() |
getDispatcher
addIfService, addService, getServices, removeService
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class AbstractSystemMetricsPublisher
Exception
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.CompositeService
Exception
protected void serviceStop() throws Exception
serviceStop
in class org.apache.hadoop.service.CompositeService
Exception
public void appCreated(RMApp app, long createdTime)
public void appLaunched(RMApp app, long launchTime)
appLaunched
in interface SystemMetricsPublisher
appLaunched
in class AbstractSystemMetricsPublisher
public 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–2022 Apache Software Foundation. All rights reserved.