Uses of Class
org.apache.hadoop.yarn.api.records.ContainerId

Packages that use ContainerId
org.apache.hadoop.yarn.api.protocolrecords   
org.apache.hadoop.yarn.api.records   
org.apache.hadoop.yarn.server.api   
 

Uses of ContainerId in org.apache.hadoop.yarn.api.protocolrecords
 

Methods in org.apache.hadoop.yarn.api.protocolrecords that return ContainerId
abstract  ContainerId GetContainerReportRequest.getContainerId()
          Get the ContainerId of the Container.
 

Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type ContainerId
abstract  List<ContainerId> GetContainerStatusesRequest.getContainerIds()
          Get the list of ContainerIds of containers for which to obtain the ContainerStatus.
abstract  List<ContainerId> StopContainersRequest.getContainerIds()
          Get the ContainerIds of the containers to be stopped.
abstract  Map<ContainerId,SerializedException> StopContainersResponse.getFailedRequests()
          Get the containerId-to-exception map in which the exception indicates error from per container for failed requests
abstract  Map<ContainerId,SerializedException> StartContainersResponse.getFailedRequests()
          Get the containerId-to-exception map in which the exception indicates error from per container for failed requests
abstract  Map<ContainerId,SerializedException> GetContainerStatusesResponse.getFailedRequests()
          Get the containerId-to-exception map in which the exception indicates error from per container for failed requests
abstract  List<ContainerId> AllocateRequest.getReleaseList()
          Get the list of ContainerId of containers being released by the ApplicationMaster.
abstract  List<ContainerId> StartContainersResponse.getSuccessfullyStartedContainers()
          Get the list of ContainerId s of the containers that are started successfully.
abstract  List<ContainerId> StopContainersResponse.getSuccessfullyStoppedContainers()
          Get the list of containerIds of successfully stopped containers.
 

Methods in org.apache.hadoop.yarn.api.protocolrecords with parameters of type ContainerId
static GetContainerReportRequest GetContainerReportRequest.newInstance(ContainerId containerId)
           
abstract  void GetContainerReportRequest.setContainerId(ContainerId containerId)
          Set the ContainerId of the container
 

Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type ContainerId
static AllocateRequest AllocateRequest.newInstance(int responseID, float appProgress, List<ResourceRequest> resourceAsk, List<ContainerId> containersToBeReleased, ResourceBlacklistRequest resourceBlacklistRequest)
           
static AllocateRequest AllocateRequest.newInstance(int responseID, float appProgress, List<ResourceRequest> resourceAsk, List<ContainerId> containersToBeReleased, ResourceBlacklistRequest resourceBlacklistRequest, List<ContainerResourceIncreaseRequest> increaseRequests)
           
static GetContainerStatusesRequest GetContainerStatusesRequest.newInstance(List<ContainerId> containerIds)
           
static StopContainersRequest StopContainersRequest.newInstance(List<ContainerId> containerIds)
           
static StopContainersResponse StopContainersResponse.newInstance(List<ContainerId> succeededRequests, Map<ContainerId,SerializedException> failedRequests)
           
static StopContainersResponse StopContainersResponse.newInstance(List<ContainerId> succeededRequests, Map<ContainerId,SerializedException> failedRequests)
           
static GetContainerStatusesResponse GetContainerStatusesResponse.newInstance(List<ContainerStatus> statuses, Map<ContainerId,SerializedException> failedRequests)
           
static StartContainersResponse StartContainersResponse.newInstance(Map<String,ByteBuffer> servicesMetaData, List<ContainerId> succeededContainers, Map<ContainerId,SerializedException> failedContainers)
           
static StartContainersResponse StartContainersResponse.newInstance(Map<String,ByteBuffer> servicesMetaData, List<ContainerId> succeededContainers, Map<ContainerId,SerializedException> failedContainers)
           
abstract  void GetContainerStatusesRequest.setContainerIds(List<ContainerId> containerIds)
          Set a list of ContainerIds of containers for which to obtain the ContainerStatus
abstract  void StopContainersRequest.setContainerIds(List<ContainerId> containerIds)
          Set the ContainerIds of the containers to be stopped.
abstract  void StopContainersResponse.setFailedRequests(Map<ContainerId,SerializedException> failedRequests)
          Set the containerId-to-exception map in which the exception indicates error from per container for failed requests
abstract  void StartContainersResponse.setFailedRequests(Map<ContainerId,SerializedException> failedContainers)
          Set the containerId-to-exception map in which the exception indicates error from per container for failed requests
abstract  void GetContainerStatusesResponse.setFailedRequests(Map<ContainerId,SerializedException> failedContainers)
          Set the containerId-to-exception map in which the exception indicates error from per container for failed requests
abstract  void AllocateRequest.setReleaseList(List<ContainerId> releaseContainers)
          Set the list of ContainerId of containers being released by the ApplicationMaster
abstract  void StartContainersResponse.setSuccessfullyStartedContainers(List<ContainerId> succeededContainers)
           
abstract  void StopContainersResponse.setSuccessfullyStoppedContainers(List<ContainerId> succeededRequests)
          Set the list of containerIds of successfully stopped containers.
 

Uses of ContainerId in org.apache.hadoop.yarn.api.records
 

Methods in org.apache.hadoop.yarn.api.records that return ContainerId
abstract  ContainerId ApplicationAttemptReport.getAMContainerId()
          Get the ContainerId of AMContainer for this attempt
abstract  ContainerId ContainerResourceIncrease.getContainerId()
           
abstract  ContainerId ContainerStatus.getContainerId()
          Get the ContainerId of the container.
abstract  ContainerId ContainerResourceIncreaseRequest.getContainerId()
           
abstract  ContainerId ContainerReport.getContainerId()
          Get the ContainerId of the container.
abstract  ContainerId ContainerResourceDecrease.getContainerId()
           
abstract  ContainerId Container.getId()
          Get the globally unique identifier for the container.
abstract  ContainerId PreemptionContainer.getId()
           
static ContainerId ContainerId.newInstance(ApplicationAttemptId appAttemptId, int containerId)
           
 

Methods in org.apache.hadoop.yarn.api.records with parameters of type ContainerId
 int ContainerId.compareTo(ContainerId other)
           
static ApplicationAttemptReport ApplicationAttemptReport.newInstance(ApplicationAttemptId applicationAttemptId, String host, int rpcPort, String url, String diagnostics, YarnApplicationAttemptState state, ContainerId amContainerId)
           
static PreemptionContainer PreemptionContainer.newInstance(ContainerId id)
           
static ContainerStatus ContainerStatus.newInstance(ContainerId containerId, ContainerState containerState, String diagnostics, int exitStatus)
           
static Container Container.newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken)
           
static ContainerResourceIncreaseRequest ContainerResourceIncreaseRequest.newInstance(ContainerId existingContainerId, Resource targetCapability)
           
static ContainerResourceDecrease ContainerResourceDecrease.newInstance(ContainerId existingContainerId, Resource targetCapability)
           
static ContainerReport ContainerReport.newInstance(ContainerId containerId, Resource allocatedResource, NodeId assignedNode, Priority priority, long startTime, long finishTime, String diagnosticInfo, String logUrl, int containerExitStatus, ContainerState containerState)
           
static ContainerResourceIncrease ContainerResourceIncrease.newInstance(ContainerId existingContainerId, Resource targetCapability, Token token)
           
abstract  void ApplicationAttemptReport.setAMContainerId(ContainerId amContainerId)
           
abstract  void ContainerResourceIncrease.setContainerId(ContainerId containerId)
           
abstract  void ContainerStatus.setContainerId(ContainerId containerId)
           
abstract  void ContainerResourceIncreaseRequest.setContainerId(ContainerId containerId)
           
abstract  void ContainerReport.setContainerId(ContainerId containerId)
           
abstract  void ContainerResourceDecrease.setContainerId(ContainerId containerId)
           
abstract  void Container.setId(ContainerId id)
           
abstract  void PreemptionContainer.setId(ContainerId id)
           
 

Uses of ContainerId in org.apache.hadoop.yarn.server.api
 

Methods in org.apache.hadoop.yarn.server.api that return ContainerId
 ContainerId ContainerContext.getContainerId()
          Get ContainerId of the container being initialized or stopped.
 

Constructors in org.apache.hadoop.yarn.server.api with parameters of type ContainerId
ContainerContext(String user, ContainerId containerId, Resource resource)
           
ContainerInitializationContext(String user, ContainerId containerId, Resource resource)
           
ContainerTerminationContext(String user, ContainerId containerId, Resource resource)
           
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.