Class KillApplicationRequest

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.KillApplicationRequest

@Public @Stable public abstract class KillApplicationRequest extends Object

The request sent by the client to the ResourceManager to abort a submitted application.

The request includes the ApplicationId of the application to be aborted.

See Also:
  • Constructor Details

    • KillApplicationRequest

      public KillApplicationRequest()
  • Method Details

    • newInstance

      @Public @Stable public static KillApplicationRequest newInstance(ApplicationId applicationId)
    • getApplicationId

      @Public @Stable public abstract ApplicationId getApplicationId()
      Get the ApplicationId of the application to be aborted.
      Returns:
      ApplicationId of the application to be aborted
    • setApplicationId

      @Public @Stable public abstract void setApplicationId(ApplicationId applicationId)
    • getDiagnostics

      @Public @Unstable public abstract String getDiagnostics()
      Get the diagnostics to which the application is being killed.
      Returns:
      diagnostics to which the application is being killed
    • setDiagnostics

      @Public @Unstable public abstract void setDiagnostics(String diagnostics)
      Set the diagnostics to which the application is being killed.
      Parameters:
      diagnostics - diagnostics to which the application is being killed