org.apache.hadoop.yarn.server.nodemanager.containermanager.application
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>
public class ApplicationFinishEvent
- extends ApplicationEvent
Finish/abort event
|
Constructor Summary |
ApplicationFinishEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String diagnostic)
Application event to abort all containers associated with the app |
| Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent |
getTimestamp, getType, toString |
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
getDiagnostic
public String getDiagnostic()
- Why the app was aborted
- Returns:
- diagnostic message
Copyright © 2013 Apache Software Foundation. All Rights Reserved.