public class ApplicationInfo
extends java.lang.Object
AbstractYarnClusterTests
app
submit operations.Constructor and Description |
---|
ApplicationInfo()
Instantiates a new application info.
|
ApplicationInfo(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
Instantiates a new application info.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId()
Gets the application id.
|
org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplicationReport()
Gets the application report.
|
org.apache.hadoop.yarn.api.records.FinalApplicationStatus |
getFinalApplicationStatus()
Gets the final application status.
|
org.apache.hadoop.yarn.api.records.YarnApplicationState |
getYarnApplicationState()
Gets the yarn application state.
|
void |
setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Sets the application id.
|
void |
setApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
Sets the application report.
|
public ApplicationInfo()
public ApplicationInfo(org.apache.hadoop.yarn.api.records.ApplicationId applicationId, org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
applicationId
- the application idapplicationReport
- the application reportpublic org.apache.hadoop.yarn.api.records.YarnApplicationState getYarnApplicationState()
public org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
public void setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
applicationId
- the new application idpublic org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport()
public void setApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
applicationReport
- the new application report