org.apache.hadoop.yarn.api.protocolrecords
Class KillApplicationRequest

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

@InterfaceAudience.Public
@InterfaceStability.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:
ApplicationClientProtocol.forceKillApplication(KillApplicationRequest)

Constructor Summary
KillApplicationRequest()
           
 
Method Summary
abstract  ApplicationId getApplicationId()
          Get the ApplicationId of the application to be aborted.
static KillApplicationRequest newInstance(ApplicationId applicationId)
           
abstract  void setApplicationId(ApplicationId applicationId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KillApplicationRequest

public KillApplicationRequest()
Method Detail

newInstance

@InterfaceAudience.Public
@InterfaceStability.Stable
public static KillApplicationRequest newInstance(ApplicationId applicationId)

getApplicationId

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract ApplicationId getApplicationId()
Get the ApplicationId of the application to be aborted.

Returns:
ApplicationId of the application to be aborted

setApplicationId

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract void setApplicationId(ApplicationId applicationId)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.