Class NMTimelineEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<NMTimelineEventType>
org.apache.hadoop.yarn.server.nodemanager.timelineservice.NMTimelineEvent
- All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<NMTimelineEventType>
public class NMTimelineEvent
extends org.apache.hadoop.yarn.event.AbstractEvent<NMTimelineEventType>
Event posted to NMTimelinePublisher which in turn publishes it to
timelineservice v2.
-
Constructor Summary
ConstructorsConstructorDescriptionNMTimelineEvent(NMTimelineEventType type, org.apache.hadoop.yarn.api.records.ApplicationId appId) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.ApplicationIdMethods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
-
Constructor Details
-
NMTimelineEvent
public NMTimelineEvent(NMTimelineEventType type, org.apache.hadoop.yarn.api.records.ApplicationId appId)
-
-
Method Details
-
getApplicationId
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
-