Class RMAppAttemptEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<RMAppAttemptEventType>
org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptEvent
- All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<RMAppAttemptEventType>
- Direct Known Subclasses:
RMAppAttemptContainerFinishedEvent,RMAppAttemptRegistrationEvent,RMAppAttemptStatusupdateEvent,RMAppAttemptUnregistrationEvent,RMAppStartAttemptEvent
public class RMAppAttemptEvent
extends org.apache.hadoop.yarn.event.AbstractEvent<RMAppAttemptEventType>
-
Constructor Summary
ConstructorsConstructorDescriptionRMAppAttemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, RMAppAttemptEventType type) RMAppAttemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, RMAppAttemptEventType type, long timeStamp) RMAppAttemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, RMAppAttemptEventType type, String diagnostics) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.ApplicationAttemptIdMethods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
-
Constructor Details
-
RMAppAttemptEvent
public RMAppAttemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, RMAppAttemptEventType type) -
RMAppAttemptEvent
public RMAppAttemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, RMAppAttemptEventType type, String diagnostics) -
RMAppAttemptEvent
public RMAppAttemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, RMAppAttemptEventType type, long timeStamp)
-
-
Method Details
-
getApplicationAttemptId
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId() -
getDiagnosticMsg
-