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

    Constructors
    Constructor
    Description
    ApplicationFinishEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId, String diagnostic)
    Application event to abort all containers associated with the app
  • Method Summary

    Modifier and Type
    Method
    Description
    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 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 containers
      diagnostic - reason for the abort
  • Method Details

    • getDiagnostic

      public String getDiagnostic()
      Why the app was aborted
      Returns:
      diagnostic message