Class KillApplicationResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.KillApplicationResponse
The response sent by the
ResourceManager to the client aborting
a submitted application.
The response, includes:
- A flag which indicates that the process of killing the application is completed or not.
ResourceManager crashes before the process of killing the
application is completed, the ResourceManager may retry this
application on recovery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanGet the flag which indicates that the process of killing application is completed or not.static KillApplicationResponsenewInstance(boolean isKillCompleted) abstract voidsetIsKillCompleted(boolean isKillCompleted) Set the flag which indicates that the process of killing application is completed or not.
-
Constructor Details
-
KillApplicationResponse
public KillApplicationResponse()
-
-
Method Details
-
newInstance
-
getIsKillCompleted
@Public @Stable public abstract boolean getIsKillCompleted()Get the flag which indicates that the process of killing application is completed or not.- Returns:
- true if the process of killing application has completed, false otherwise
-
setIsKillCompleted
@Private @Unstable public abstract void setIsKillCompleted(boolean isKillCompleted) Set the flag which indicates that the process of killing application is completed or not.- Parameters:
isKillCompleted- true if the process of killing application has completed, false otherwise.
-