Class KillApplicationRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.KillApplicationRequest
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ApplicationIdGet theApplicationIdof the application to be aborted.abstract StringGet the diagnostics to which the application is being killed.static KillApplicationRequestnewInstance(ApplicationId applicationId) abstract voidsetApplicationId(ApplicationId applicationId) abstract voidsetDiagnostics(String diagnostics) Set the diagnostics to which the application is being killed.
-
Constructor Details
-
KillApplicationRequest
public KillApplicationRequest()
-
-
Method Details
-
newInstance
-
getApplicationId
Get theApplicationIdof the application to be aborted.- Returns:
ApplicationIdof the application to be aborted
-
setApplicationId
-
getDiagnostics
Get the diagnostics to which the application is being killed.- Returns:
- diagnostics to which the application is being killed
-
setDiagnostics
Set the diagnostics to which the application is being killed.- Parameters:
diagnostics- diagnostics to which the application is being killed
-