Uses of Class
org.apache.hadoop.yarn.api.records.ContainerId
Packages that use ContainerId
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of ContainerId in org.apache.hadoop.yarn.api
Methods in org.apache.hadoop.yarn.api with parameters of type ContainerIdModifier and TypeMethodDescriptionContainerManagementProtocol.commitLastReInitialization(ContainerId containerId) Commit the Last ReInitialization if possible.ContainerManagementProtocol.restartContainer(ContainerId containerId) Restart the container.ContainerManagementProtocol.rollbackLastReInitialization(ContainerId containerId) Rollback the Last ReInitialization if possible. -
Uses of ContainerId in org.apache.hadoop.yarn.api.protocolrecords
Methods in org.apache.hadoop.yarn.api.protocolrecords that return ContainerIdModifier and TypeMethodDescriptionabstract ContainerIdGetContainerReportRequest.getContainerId()Get theContainerIdof the Container.abstract ContainerIdReInitializeContainerRequest.getContainerId()Get theContainerIdof the container to re-initialize.abstract ContainerIdResourceLocalizationRequest.getContainerId()Get theContainerIdof the container to localize resources.abstract ContainerIdSignalContainerRequest.getContainerId()Get theContainerIdof the container to signal.Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type ContainerIdModifier and TypeMethodDescriptionabstract List<ContainerId>GetContainerStatusesRequest.getContainerIds()Get the list ofContainerIds of containers for which to obtain theContainerStatus.abstract List<ContainerId>GetLocalizationStatusesRequest.getContainerIds()Get the list of container IDs of the containers for which the localization statuses are needed.abstract List<ContainerId>StopContainersRequest.getContainerIds()Get theContainerIds of the containers to be stopped.abstract Map<ContainerId,SerializedException> ContainerUpdateResponse.getFailedRequests()Get the containerId-to-exception map in which the exception indicates error from each 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 Map<ContainerId,SerializedException> GetLocalizationStatusesResponse.getFailedRequests()Get the containerId-to-exception map in which the exception indicates error from per container for failed requests.abstract Map<ContainerId,SerializedException> IncreaseContainersResourceResponse.getFailedRequests()Get the containerId-to-exception map in which the exception indicates error from each 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 requestsabstract 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,List<LocalizationStatus>> GetLocalizationStatusesResponse.getLocalizationStatuses()Get all the container localization statuses.abstract List<ContainerId>AllocateRequest.getReleaseList()Get the list ofContainerIdof containers being released by theApplicationMaster.abstract List<ContainerId>IncreaseContainersResourceResponse.getSuccessfullyIncreasedContainers()Get the list of containerIds of containers whose resource have been successfully increased.abstract List<ContainerId>StartContainersResponse.getSuccessfullyStartedContainers()Get the list ofContainerIds of the containers that are started successfully.abstract List<ContainerId>StopContainersResponse.getSuccessfullyStoppedContainers()Get the list of containerIds of successfully stopped containers.abstract List<ContainerId>ContainerUpdateResponse.getSuccessfullyUpdatedContainers()Get the list of containerIds of containers whose resource have been successfully update.Methods in org.apache.hadoop.yarn.api.protocolrecords with parameters of type ContainerIdModifier and TypeMethodDescriptionstatic GetContainerReportRequestGetContainerReportRequest.newInstance(ContainerId containerId) static ReInitializeContainerRequestReInitializeContainerRequest.newInstance(ContainerId containerId, ContainerLaunchContext containerLaunchContext, boolean autoCommit) Creates a new instance of the ReInitializationContainerRequest.static ResourceLocalizationRequestResourceLocalizationRequest.newInstance(ContainerId containerId, Map<String, LocalResource> localResources) static SignalContainerRequestSignalContainerRequest.newInstance(ContainerId containerId, SignalContainerCommand signalContainerCommand) abstract voidGetContainerReportRequest.setContainerId(ContainerId containerId) Set theContainerIdof the containerabstract voidReInitializeContainerRequest.setContainerId(ContainerId containerId) Set theContainerIdof the container to re-initialize.abstract voidResourceLocalizationRequest.setContainerId(ContainerId containerId) Set theContainerIdof the container to localize resources.abstract voidSignalContainerRequest.setContainerId(ContainerId containerId) Set theContainerIdof the container to signal.Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type ContainerIdModifier and TypeMethodDescriptionstatic ContainerUpdateResponseContainerUpdateResponse.newInstance(List<ContainerId> successfullyUpdatedContainers, Map<ContainerId, SerializedException> failedRequests) static ContainerUpdateResponseContainerUpdateResponse.newInstance(List<ContainerId> successfullyUpdatedContainers, Map<ContainerId, SerializedException> failedRequests) static GetContainerStatusesRequestGetContainerStatusesRequest.newInstance(List<ContainerId> containerIds) static GetContainerStatusesResponseGetContainerStatusesResponse.newInstance(List<ContainerStatus> statuses, Map<ContainerId, SerializedException> failedRequests) GetLocalizationStatusesRequest.newInstance(List<ContainerId> containerIds) GetLocalizationStatusesResponse.newInstance(Map<ContainerId, List<LocalizationStatus>> statuses, Map<ContainerId, SerializedException> failedRequests) IncreaseContainersResourceResponse.newInstance(List<ContainerId> successfullyIncreasedContainers, Map<ContainerId, SerializedException> failedRequests) IncreaseContainersResourceResponse.newInstance(List<ContainerId> successfullyIncreasedContainers, Map<ContainerId, SerializedException> failedRequests) static StartContainersResponseStartContainersResponse.newInstance(Map<String, ByteBuffer> servicesMetaData, List<ContainerId> succeededContainers, Map<ContainerId, SerializedException> failedContainers) static StopContainersRequestStopContainersRequest.newInstance(List<ContainerId> containerIds) static StopContainersResponseStopContainersResponse.newInstance(List<ContainerId> succeededRequests, Map<ContainerId, SerializedException> failedRequests) static StopContainersResponseStopContainersResponse.newInstance(List<ContainerId> succeededRequests, Map<ContainerId, SerializedException> failedRequests) AllocateRequest.AllocateRequestBuilder.releaseList(List<ContainerId> releaseList) Set thereleaseListof the request.abstract voidGetContainerStatusesRequest.setContainerIds(List<ContainerId> containerIds) Set a list ofContainerIds of containers for which to obtain theContainerStatusabstract voidGetLocalizationStatusesRequest.setContainerIds(List<ContainerId> containerIds) Sets the list of container IDs of containers for which the localization statuses are needed.abstract voidStopContainersRequest.setContainerIds(List<ContainerId> containerIds) Set theContainerIds of the containers to be stopped.abstract voidContainerUpdateResponse.setFailedRequests(Map<ContainerId, SerializedException> failedRequests) Set the containerId-to-exception map in which the exception indicates error from each container for failed requests.abstract voidGetContainerStatusesResponse.setFailedRequests(Map<ContainerId, SerializedException> failedContainers) Set the containerId-to-exception map in which the exception indicates error from per container for failed requests.abstract voidGetLocalizationStatusesResponse.setFailedRequests(Map<ContainerId, SerializedException> failedContainers) Set the containerId-to-exception map in which the exception indicates error from per container for failed request.abstract voidIncreaseContainersResourceResponse.setFailedRequests(Map<ContainerId, SerializedException> failedRequests) Set the containerId-to-exception map in which the exception indicates error from each container for failed requests.abstract voidStartContainersResponse.setFailedRequests(Map<ContainerId, SerializedException> failedContainers) Set the containerId-to-exception map in which the exception indicates error from per container for failed requests.abstract voidStopContainersResponse.setFailedRequests(Map<ContainerId, SerializedException> failedRequests) Set the containerId-to-exception map in which the exception indicates error from per container for failed requests.abstract voidGetLocalizationStatusesResponse.setLocalizationStatuses(Map<ContainerId, List<LocalizationStatus>> statuses) Sets the container localization statuses.abstract voidAllocateRequest.setReleaseList(List<ContainerId> releaseContainers) Set the list ofContainerIdof containers being released by theApplicationMasterabstract voidIncreaseContainersResourceResponse.setSuccessfullyIncreasedContainers(List<ContainerId> succeedIncreasedContainers) Set the list of containerIds of containers whose resource have been successfully increased.abstract voidStartContainersResponse.setSuccessfullyStartedContainers(List<ContainerId> succeededContainers) abstract voidStopContainersResponse.setSuccessfullyStoppedContainers(List<ContainerId> succeededRequests) Set the list of containerIds of successfully stopped containers.abstract voidContainerUpdateResponse.setSuccessfullyUpdatedContainers(List<ContainerId> succeedUpdatedContainers) Set the list of containerIds of containers whose resource have been successfully updated. -
Uses of ContainerId in org.apache.hadoop.yarn.api.records
Methods in org.apache.hadoop.yarn.api.records that return ContainerIdModifier and TypeMethodDescriptionstatic ContainerIdContainerId.fromString(String containerIdStr) abstract ContainerIdApplicationAttemptReport.getAMContainerId()Get theContainerIdof AMContainer for this attemptabstract ContainerIdContainerReport.getContainerId()Get theContainerIdof the container.abstract ContainerIdContainerStatus.getContainerId()Get theContainerIdof the container.abstract ContainerIdUpdateContainerRequest.getContainerId()Get theContainerIdof the container.abstract ContainerIdContainer.getId()Get the globally unique identifier for the container.abstract ContainerIdPreemptionContainer.getId()static ContainerIdContainerId.newContainerId(ApplicationAttemptId appAttemptId, long containerId) static ContainerIdContainerId.newInstance(ApplicationAttemptId appAttemptId, int containerId) Deprecated.Methods in org.apache.hadoop.yarn.api.records with parameters of type ContainerIdModifier and TypeMethodDescriptionintContainerId.compareTo(ContainerId other) static ApplicationAttemptReportApplicationAttemptReport.newInstance(ApplicationAttemptId applicationAttemptId, String host, int rpcPort, String url, String oUrl, String diagnostics, YarnApplicationAttemptState state, ContainerId amContainerId) static ApplicationAttemptReportApplicationAttemptReport.newInstance(ApplicationAttemptId applicationAttemptId, String host, int rpcPort, String url, String oUrl, String diagnostics, YarnApplicationAttemptState state, ContainerId amContainerId, long startTime, long finishTime) static ContainerContainer.newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken) static ContainerContainer.newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken, ExecutionType executionType) static ContainerReportContainerReport.newInstance(ContainerId containerId, Resource allocatedResource, NodeId assignedNode, Priority priority, long creationTime, long finishTime, String diagnosticInfo, String logUrl, int containerExitStatus, ContainerState containerState, String nodeHttpAddress) static ContainerReportContainerReport.newInstance(ContainerId containerId, Resource allocatedResource, NodeId assignedNode, Priority priority, long creationTime, long finishTime, String diagnosticInfo, String logUrl, int containerExitStatus, ContainerState containerState, String nodeHttpAddress, ExecutionType executionType) static ContainerStatusContainerStatus.newInstance(ContainerId containerId, ContainerState containerState, String diagnostics, int exitStatus) static ContainerStatusContainerStatus.newInstance(ContainerId containerId, ExecutionType executionType, ContainerState containerState, String diagnostics, int exitStatus) static PreemptionContainerPreemptionContainer.newInstance(ContainerId id) static UpdateContainerRequestUpdateContainerRequest.newInstance(int version, ContainerId containerId, ContainerUpdateType updateType, Resource targetCapability, ExecutionType targetExecutionType) abstract voidApplicationAttemptReport.setAMContainerId(ContainerId amContainerId) abstract voidContainerReport.setContainerId(ContainerId containerId) abstract voidContainerStatus.setContainerId(ContainerId containerId) abstract voidUpdateContainerRequest.setContainerId(ContainerId containerId) Set theContainerIdof the container.abstract voidContainer.setId(ContainerId id) abstract voidPreemptionContainer.setId(ContainerId id) -
Uses of ContainerId in org.apache.hadoop.yarn.server.api
Methods in org.apache.hadoop.yarn.server.api that return ContainerIdModifier and TypeMethodDescriptionContainerContext.getContainerId()GetContainerIdof the container being initialized or stopped.ContainerLogContext.getContainerId()GetContainerIdof the container.Constructors in org.apache.hadoop.yarn.server.api with parameters of type ContainerIdModifierConstructorDescriptionContainerContext(String user, ContainerId containerId, Resource resource) ContainerContext(String user, ContainerId containerId, Resource resource, ContainerType containerType) ContainerContext(String user, ContainerId containerId, Resource resource, ContainerType containerType, ExecutionType executionType) ContainerInitializationContext(String user, ContainerId containerId, Resource resource) ContainerInitializationContext(String user, ContainerId containerId, Resource resource, ContainerType containerType) ContainerLogContext(ContainerId containerId, ContainerType containerType, int exitCode) ContainerTerminationContext(String user, ContainerId containerId, Resource resource) ContainerTerminationContext(String user, ContainerId containerId, Resource resource, ContainerType containerType)