@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface ApplicationHistoryManager
Modifier and Type | Method and Description |
---|---|
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 . |
Map<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.api.records.ApplicationReport> |
getApplications(long appsNum,
long appStartedTimeBegin,
long appStartedTimeEnd)
This method returns the given number of Application in the
given appStartedTime period.
|
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 . |
@InterfaceAudience.Public @InterfaceStability.Unstable 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
@InterfaceAudience.Public @InterfaceStability.Unstable Map<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.api.records.ApplicationReport> getApplications(long appsNum, long appStartedTimeBegin, long appStartedTimeEnd) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
ApplicationReport
s.appsNum
- appStartedTimeBegin
- appStartedTimeEnd
- ApplicationId
to ApplicationReport
s.org.apache.hadoop.yarn.exceptions.YarnException
IOException
@InterfaceAudience.Public @InterfaceStability.Unstable 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
ApplicationAttemptReport
s for the Application.appId
- ApplicationAttemptReport
s for the Application.org.apache.hadoop.yarn.exceptions.YarnException
IOException
@InterfaceAudience.Public @InterfaceStability.Unstable 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 ApplicationAttemptIdorg.apache.hadoop.yarn.exceptions.YarnException
IOException
@InterfaceAudience.Public @InterfaceStability.Unstable 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 ContainerIdorg.apache.hadoop.yarn.exceptions.YarnException
IOException
@InterfaceAudience.Public @InterfaceStability.Unstable 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 ApplicationAttemptIdorg.apache.hadoop.yarn.exceptions.YarnException
IOException
@InterfaceAudience.Public @InterfaceStability.Unstable 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
ApplicationAttemptIdorg.apache.hadoop.yarn.exceptions.YarnException
IOException
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.