@InterfaceAudience.Public
@InterfaceStability.Unstable
public interface ApplicationAttemptStateData
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getAppAttemptTokens()
The application attempt tokens that belong to this attempt
|
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getAttemptId()
The ApplicationAttemptId for the application attempt
|
String |
getDiagnostics()
Get the diagnositic information of the attempt
|
org.apache.hadoop.yarn.api.records.FinalApplicationStatus |
getFinalApplicationStatus()
Get the final finish status of the application.
|
String |
getFinalTrackingUrl()
Get the original not-proxied final tracking url for the
application.
|
org.apache.hadoop.yarn.api.records.Container |
getMasterContainer() |
long |
getStartTime()
Get the start time of the application.
|
RMAppAttemptState |
getState()
Get the final state of the application attempt.
|
void |
setAppAttemptTokens(ByteBuffer attemptTokens) |
void |
setAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId) |
void |
setDiagnostics(String diagnostics) |
void |
setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finishState) |
void |
setFinalTrackingUrl(String url)
Set the final tracking Url of the AM.
|
void |
setMasterContainer(org.apache.hadoop.yarn.api.records.Container container) |
void |
setStartTime(long startTime) |
void |
setState(RMAppAttemptState state) |
@InterfaceAudience.Public @InterfaceStability.Unstable org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAttemptId()
void setAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId)
@InterfaceAudience.Public @InterfaceStability.Unstable org.apache.hadoop.yarn.api.records.Container getMasterContainer()
void setMasterContainer(org.apache.hadoop.yarn.api.records.Container container)
@InterfaceAudience.Public @InterfaceStability.Unstable ByteBuffer getAppAttemptTokens()
void setAppAttemptTokens(ByteBuffer attemptTokens)
RMAppAttemptState getState()
void setState(RMAppAttemptState state)
String getFinalTrackingUrl()
void setFinalTrackingUrl(String url)
url - String getDiagnostics()
void setDiagnostics(String diagnostics)
long getStartTime()
void setStartTime(long startTime)
org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
void setFinalApplicationStatus(org.apache.hadoop.yarn.api.records.FinalApplicationStatus finishState)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.