org.apache.hadoop.yarn.server.nodemanager.containermanager.application
Class ApplicationFinishEvent

java.lang.Object
  extended by org.apache.hadoop.yarn.event.AbstractEvent<ApplicationEventType>
      extended by org.apache.hadoop.yarn.server.nodemanager.containermanager.application.ApplicationEvent
          extended by 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
 
Method Summary
 String getDiagnostic()
          Why the app was aborted
 
Methods inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.application.ApplicationEvent
getApplicationID
 
Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 containers
diagnostic - reason for the abort
Method Detail

getDiagnostic

public String getDiagnostic()
Why the app was aborted

Returns:
diagnostic message


Copyright © 2013 Apache Software Foundation. All Rights Reserved.