org.apache.hadoop.yarn.api.protocolrecords
Class KillApplicationRequest
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KillApplicationRequest
public KillApplicationRequest()
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.