Interface SystemMetricsPublisher
- All Known Implementing Classes:
AbstractSystemMetricsPublisher,CombinedSystemMetricsPublisher,NoOpSystemMetricPublisher,TimelineServiceV1Publisher,TimelineServiceV2Publisher
public interface SystemMetricsPublisher
Interface used to publish app/container events to timelineservice.
-
Method Summary
Modifier and TypeMethodDescriptionvoidappACLsUpdated(RMApp app, String appViewACLs, long updatedTime) voidappAttemptFinished(RMAppAttempt appAttempt, RMAppAttemptState appAttemtpState, RMApp app, long finishedTime) voidappAttemptRegistered(RMAppAttempt appAttempt, long registeredTime) voidappCreated(RMApp app, long createdTime) voidappFinished(RMApp app, RMAppState state, long finishedTime) voidappLaunched(RMApp app, long launchTime) voidappStateUpdated(RMApp app, org.apache.hadoop.yarn.api.records.YarnApplicationState appState, long updatedTime) voidappUpdated(RMApp app, long updatedTime) voidcontainerCreated(RMContainer container, long createdTime) voidcontainerFinished(RMContainer container, long finishedTime)
-
Method Details
-
appCreated
-
appLaunched
-
appACLsUpdated
-
appUpdated
-
appStateUpdated
void appStateUpdated(RMApp app, org.apache.hadoop.yarn.api.records.YarnApplicationState appState, long updatedTime) -
appFinished
-
appAttemptRegistered
-
appAttemptFinished
void appAttemptFinished(RMAppAttempt appAttempt, RMAppAttemptState appAttemtpState, RMApp app, long finishedTime) -
containerCreated
-
containerFinished
-