Class ApplicationFinishEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<ApplicationEventType>
org.apache.hadoop.yarn.server.nodemanager.containermanager.application.ApplicationEvent
org.apache.hadoop.yarn.server.nodemanager.containermanager.application.ApplicationFinishEvent
- All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<ApplicationEventType>
Finish/abort event
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationFinishEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId, String diagnostic) Application event to abort all containers associated with the app -
Method Summary
Methods inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.application.ApplicationEvent
getApplicationIDMethods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
-
Constructor Details
-
ApplicationFinishEvent
public ApplicationFinishEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId, String diagnostic) Application event to abort all containers associated with the app- Parameters:
appId- to abort containersdiagnostic- reason for the abort
-
-
Method Details
-
getDiagnostic
Why the app was aborted- Returns:
- diagnostic message
-