|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationContext
| Method Summary | |
|---|---|
Map<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.api.records.ApplicationReport> |
getAllApplications()
This method returns all Application ApplicationReports |
org.apache.hadoop.yarn.api.records.ContainerReport |
getAMContainer(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
This method returns ContainerReport for specified
ApplicationAttemptId. |
org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId)
This method returns Application ApplicationReport for the specified
ApplicationId. |
org.apache.hadoop.yarn.api.records.ApplicationAttemptReport |
getApplicationAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
This method returns ApplicationAttemptReport for specified
ApplicationId. |
Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,org.apache.hadoop.yarn.api.records.ApplicationAttemptReport> |
getApplicationAttempts(org.apache.hadoop.yarn.api.records.ApplicationId appId)
Application can have multiple application attempts ApplicationAttemptReport. |
org.apache.hadoop.yarn.api.records.ContainerReport |
getContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId)
This method returns ContainerReport for specified
ContainerId. |
Map<org.apache.hadoop.yarn.api.records.ContainerId,org.apache.hadoop.yarn.api.records.ContainerReport> |
getContainers(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
This method returns Map of ContainerId to ContainerReport
for specified ApplicationAttemptId. |
| Method Detail |
|---|
org.apache.hadoop.yarn.api.records.ApplicationReport getApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
ApplicationReport for the specified
ApplicationId.
appId -
ApplicationReport for the ApplicationId.
org.apache.hadoop.yarn.exceptions.YarnException
IOException
Map<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.api.records.ApplicationReport> getAllApplications()
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
ApplicationReports
ApplicationId to ApplicationReports.
org.apache.hadoop.yarn.exceptions.YarnException
IOException
Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,org.apache.hadoop.yarn.api.records.ApplicationAttemptReport> getApplicationAttempts(org.apache.hadoop.yarn.api.records.ApplicationId appId)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
ApplicationAttemptReport. This method returns the all
ApplicationAttemptReports for the Application.
appId -
ApplicationAttemptReports for the Application.
org.apache.hadoop.yarn.exceptions.YarnException
IOException
org.apache.hadoop.yarn.api.records.ApplicationAttemptReport getApplicationAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
ApplicationAttemptReport for specified
ApplicationId.
appAttemptId - ApplicationAttemptId
ApplicationAttemptReport for ApplicationAttemptId
org.apache.hadoop.yarn.exceptions.YarnException
IOException
org.apache.hadoop.yarn.api.records.ContainerReport getContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
ContainerReport for specified
ContainerId.
containerId - ContainerId
ContainerReport for ContainerId
org.apache.hadoop.yarn.exceptions.YarnException
IOException
org.apache.hadoop.yarn.api.records.ContainerReport getAMContainer(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
ContainerReport for specified
ApplicationAttemptId.
appAttemptId - ApplicationAttemptId
ContainerReport for ApplicationAttemptId
org.apache.hadoop.yarn.exceptions.YarnException
IOException
Map<org.apache.hadoop.yarn.api.records.ContainerId,org.apache.hadoop.yarn.api.records.ContainerReport> getContainers(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException
ContainerId to ContainerReport
for specified ApplicationAttemptId.
appAttemptId - ApplicationAttemptId
ContainerId to ContainerReport for
ApplicationAttemptId
org.apache.hadoop.yarn.exceptions.YarnException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||