|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class FinishApplicationMasterRequest
The finalization request sent by the ApplicationMaster
to
inform the ResourceManager
about its completion.
The final request includes details such:
ApplicationMaster
ApplicationMaster
ApplicationMasterProtocol.finishApplicationMaster(FinishApplicationMasterRequest)
Constructor Summary | |
---|---|
FinishApplicationMasterRequest()
|
Method Summary | |
---|---|
abstract String |
getDiagnostics()
Get diagnostic information on application failure. |
abstract FinalApplicationStatus |
getFinalApplicationStatus()
Get final state of the ApplicationMaster . |
abstract String |
getTrackingUrl()
Get the tracking URL for the ApplicationMaster . |
static FinishApplicationMasterRequest |
newInstance(FinalApplicationStatus finalAppStatus,
String diagnostics,
String url)
|
abstract void |
setDiagnostics(String diagnostics)
Set diagnostic information on application failure. |
abstract void |
setFinalApplicationStatus(FinalApplicationStatus finalState)
Set the final state of the ApplicationMaster |
abstract void |
setTrackingUrl(String url)
Set the final tracking URLfor the ApplicationMaster . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FinishApplicationMasterRequest()
Method Detail |
---|
@InterfaceAudience.Public @InterfaceStability.Stable public static FinishApplicationMasterRequest newInstance(FinalApplicationStatus finalAppStatus, String diagnostics, String url)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract FinalApplicationStatus getFinalApplicationStatus()
ApplicationMaster
.
ApplicationMaster
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setFinalApplicationStatus(FinalApplicationStatus finalState)
ApplicationMaster
finalState
- final state of the ApplicationMaster
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getDiagnostics()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setDiagnostics(String diagnostics)
diagnostics
- diagnostic information on application failure@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getTrackingUrl()
ApplicationMaster
.
This url if contains scheme then that will be used by resource manager
web application proxy otherwise it will default to http.
ApplicationMaster
@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setTrackingUrl(String url)
ApplicationMaster
.
This is the web-URL to which ResourceManager or web-application proxy will
redirect client/users once the application is finished and the
ApplicationMaster
is gone.
If the passed url has a scheme then that will be used by the ResourceManager and web-application proxy, otherwise the scheme will default to http.
Empty, null, "N/A" strings are all valid besides a real URL. In case an url isn't explicitly passed, it defaults to "N/A" on the ResourceManager.
url
- tracking URLfor the ApplicationMaster
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |