org.apache.hadoop.yarn.api.protocolrecords
Class GetContainersRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetContainersRequest
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class GetContainersRequest
- extends Object
The request from clients to get a list of container reports, which belong to
an application attempt from the ResourceManager
.
- See Also:
ApplicationHistoryProtocol.getContainers(GetContainersRequest)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetContainersRequest
public GetContainersRequest()
newInstance
@InterfaceAudience.Public
@InterfaceStability.Unstable
public static GetContainersRequest newInstance(ApplicationAttemptId applicationAttemptId)
getApplicationAttemptId
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract ApplicationAttemptId getApplicationAttemptId()
- Get the
ApplicationAttemptId
of an application attempt.
- Returns:
ApplicationAttemptId
of an application attempt
setApplicationAttemptId
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setApplicationAttemptId(ApplicationAttemptId applicationAttemptId)
- Set the
ApplicationAttemptId
of an application attempt
- Parameters:
applicationAttemptId
- ApplicationAttemptId
of an application attempt
Copyright © 2014 Apache Software Foundation. All Rights Reserved.