@InterfaceAudience.Public
@InterfaceStability.Unstable
public interface ApplicationStateData
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext |
getApplicationSubmissionContext()
The
ApplicationSubmissionContext for the application
ApplicationId can be obtained from the this |
String |
getDiagnostics()
Get the diagnostics information for the application master.
|
long |
getFinishTime()
The finish time of the application.
|
long |
getStartTime()
Get the start time of the application.
|
RMAppState |
getState()
Get the final state of the application.
|
long |
getSubmitTime()
The time at which the application was received by the Resource Manager
|
String |
getUser() |
void |
setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context) |
void |
setDiagnostics(String diagnostics) |
void |
setFinishTime(long finishTime) |
void |
setStartTime(long startTime) |
void |
setState(RMAppState state) |
void |
setSubmitTime(long submitTime) |
void |
setUser(String user)
The application submitter
|
@InterfaceAudience.Public @InterfaceStability.Unstable long getSubmitTime()
@InterfaceAudience.Public @InterfaceStability.Unstable void setSubmitTime(long submitTime)
@InterfaceAudience.Public @InterfaceStability.Stable long getStartTime()
@InterfaceAudience.Private @InterfaceStability.Unstable void setStartTime(long startTime)
@InterfaceAudience.Public @InterfaceStability.Unstable void setUser(String user)
@InterfaceAudience.Public @InterfaceStability.Unstable String getUser()
@InterfaceAudience.Public @InterfaceStability.Unstable org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getApplicationSubmissionContext()
ApplicationSubmissionContext for the application
ApplicationId can be obtained from the this@InterfaceAudience.Public @InterfaceStability.Unstable void setApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext context)
RMAppState getState()
void setState(RMAppState state)
String getDiagnostics()
void setDiagnostics(String diagnostics)
long getFinishTime()
void setFinishTime(long finishTime)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.