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.
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.
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,org.apache.hadoop.yarn.api.records.SerializedException> ContainerUpdateResponse.getFailedRequests()Get the containerId-to-exception map in which the exception indicates error from each container for failed requests.abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> GetContainerStatusesResponse.getFailedRequests()Get the containerId-to-exception map in which the exception indicates error from per container for failed requests.abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> GetLocalizationStatusesResponse.getFailedRequests()Get the containerId-to-exception map in which the exception indicates error from per container for failed requests.abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> IncreaseContainersResourceResponse.getFailedRequests()Get the containerId-to-exception map in which the exception indicates error from each container for failed requests.abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> StartContainersResponse.getFailedRequests()Get the containerId-to-exception map in which the exception indicates error from per container for failed requestsabstract Map<ContainerId,org.apache.hadoop.yarn.api.records.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, org.apache.hadoop.yarn.api.records.SerializedException> failedRequests) static ContainerUpdateResponseContainerUpdateResponse.newInstance(List<ContainerId> successfullyUpdatedContainers, Map<ContainerId, org.apache.hadoop.yarn.api.records.SerializedException> failedRequests) static GetContainerStatusesRequestGetContainerStatusesRequest.newInstance(List<ContainerId> containerIds) static GetContainerStatusesResponseGetContainerStatusesResponse.newInstance(List<ContainerStatus> statuses, Map<ContainerId, org.apache.hadoop.yarn.api.records.SerializedException> failedRequests) GetLocalizationStatusesRequest.newInstance(List<ContainerId> containerIds) GetLocalizationStatusesResponse.newInstance(Map<ContainerId, List<LocalizationStatus>> statuses, Map<ContainerId, org.apache.hadoop.yarn.api.records.SerializedException> failedRequests) IncreaseContainersResourceResponse.newInstance(List<ContainerId> successfullyIncreasedContainers, Map<ContainerId, org.apache.hadoop.yarn.api.records.SerializedException> failedRequests) IncreaseContainersResourceResponse.newInstance(List<ContainerId> successfullyIncreasedContainers, Map<ContainerId, org.apache.hadoop.yarn.api.records.SerializedException> failedRequests) static StartContainersResponseStartContainersResponse.newInstance(Map<String, ByteBuffer> servicesMetaData, List<ContainerId> succeededContainers, Map<ContainerId, org.apache.hadoop.yarn.api.records.SerializedException> failedContainers) static StopContainersRequestStopContainersRequest.newInstance(List<ContainerId> containerIds) static StopContainersResponseStopContainersResponse.newInstance(List<ContainerId> succeededRequests, Map<ContainerId, org.apache.hadoop.yarn.api.records.SerializedException> failedRequests) static StopContainersResponseStopContainersResponse.newInstance(List<ContainerId> succeededRequests, Map<ContainerId, org.apache.hadoop.yarn.api.records.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, org.apache.hadoop.yarn.api.records.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, org.apache.hadoop.yarn.api.records.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, org.apache.hadoop.yarn.api.records.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, org.apache.hadoop.yarn.api.records.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, org.apache.hadoop.yarn.api.records.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, org.apache.hadoop.yarn.api.records.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.applications.distributedshell
Fields in org.apache.hadoop.yarn.applications.distributedshell with type parameters of type ContainerIdModifier and TypeFieldDescriptionprotected final Set<ContainerId>ApplicationMaster.launchedContainers -
Uses of ContainerId in org.apache.hadoop.yarn.client.api
Methods in org.apache.hadoop.yarn.client.api with parameters of type ContainerIdModifier and TypeMethodDescriptionabstract voidNMClient.commitLastReInitialization(ContainerId containerId) Commit last reInitialization of the specified container.abstract TimelineEntityTimelineReaderClient.getContainerEntity(ContainerId containerId, String fields, Map<String, String> filters) Gets Timeline entity for the container.abstract ContainerReportAHSClient.getContainerReport(ContainerId containerId) Get a report of the given Container.abstract ContainerReportYarnClient.getContainerReport(ContainerId containerId) Get a report of the given Container.abstract ContainerStatusNMClient.getContainerStatus(ContainerId containerId, NodeId nodeId) Query the status of a container.NMClient.getLocalizationStatuses(ContainerId containerId, NodeId nodeId) Get the localization statuses of a container.NMClient.getNodeIdOfStartedContainer(ContainerId containerId) Get the NodeId of the node on which container is running.voidNMClient.localize(ContainerId containerId, NodeId nodeId, Map<String, LocalResource> localResources) Localize resources for a container.abstract voidNMClient.reInitializeContainer(ContainerId containerId, ContainerLaunchContext containerLaunchContex, boolean autoCommit) Re-Initialize the Container.abstract voidAMRMClient.releaseAssignedContainer(ContainerId containerId) Release containers assigned by the Resource Manager.abstract voidNMClient.restartContainer(ContainerId containerId) Restart the specified container.abstract voidNMClient.rollbackLastReInitialization(ContainerId containerId) Rollback last reInitialization of the specified container.abstract voidYarnClient.shellToContainer(ContainerId containerId, ShellContainerCommand command) The interface used by client to get a shell to a container.abstract voidYarnClient.signalToContainer(ContainerId containerId, SignalContainerCommand command) Signal a container identified by given ID.abstract voidNMClient.stopContainer(ContainerId containerId, NodeId nodeId) Stop an started container. -
Uses of ContainerId in org.apache.hadoop.yarn.client.api.async
Methods in org.apache.hadoop.yarn.client.api.async with parameters of type ContainerIdModifier and TypeMethodDescriptionabstract voidNMClientAsync.commitLastReInitializationAsync(ContainerId containerId) Commit last reInitialization of the specified container.abstract voidNMClientAsync.getContainerStatusAsync(ContainerId containerId, NodeId nodeId) abstract voidNMClientAsync.reInitializeContainerAsync(ContainerId containerId, ContainerLaunchContext containerLaunchContex, boolean autoCommit) Re-Initialize the Container.abstract voidAMRMClientAsync.releaseAssignedContainer(ContainerId containerId) Release containers assigned by the Resource Manager.abstract voidNMClientAsync.restartContainerAsync(ContainerId containerId) Restart the specified container.abstract voidNMClientAsync.rollbackLastReInitializationAsync(ContainerId containerId) Rollback last reInitialization of the specified container.abstract voidNMClientAsync.stopContainerAsync(ContainerId containerId, NodeId nodeId) -
Uses of ContainerId in org.apache.hadoop.yarn.client.api.impl
Methods in org.apache.hadoop.yarn.client.api.impl with parameters of type ContainerIdModifier and TypeMethodDescriptionTimelineReaderClientImpl.getContainerEntity(ContainerId containerId, String fields, Map<String, String> filters) -
Uses of ContainerId in org.apache.hadoop.yarn.logaggregation
Methods in org.apache.hadoop.yarn.logaggregation with parameters of type ContainerIdModifier and TypeMethodDescriptionorg.apache.hadoop.yarn.logaggregation.AggregatedLogFormat.ContainerLogsReaderAggregatedLogFormat.LogReader.getContainerLogsReader(ContainerId containerId) Get a ContainerLogsReader to read the logs for the specified container.Constructors in org.apache.hadoop.yarn.logaggregation with parameters of type ContainerId -
Uses of ContainerId in org.apache.hadoop.yarn.security
Methods in org.apache.hadoop.yarn.security that return ContainerIdConstructors in org.apache.hadoop.yarn.security with parameters of type ContainerIdModifierConstructorDescriptionContainerTokenIdentifier(ContainerId containerID, int containerVersion, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression, org.apache.hadoop.yarn.server.api.ContainerType containerType, ExecutionType executionType) ContainerTokenIdentifier(ContainerId containerID, int containerVersion, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression, org.apache.hadoop.yarn.server.api.ContainerType containerType, ExecutionType executionType, long allocationRequestId) Convenience Constructor for existing clients.ContainerTokenIdentifier(ContainerId containerID, int containerVersion, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression, org.apache.hadoop.yarn.server.api.ContainerType containerType, ExecutionType executionType, long allocationRequestId, Set<String> allocationTags) Create a Container Token Identifier.ContainerTokenIdentifier(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime) ContainerTokenIdentifier(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext) Deprecated.Use one of the other constructors instead.ContainerTokenIdentifier(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression) ContainerTokenIdentifier(ContainerId containerID, String hostName, String appSubmitter, Resource r, long expiryTimeStamp, int masterKeyId, long rmIdentifier, Priority priority, long creationTime, LogAggregationContext logAggregationContext, String nodeLabelExpression, org.apache.hadoop.yarn.server.api.ContainerType containerType) -
Uses of ContainerId in org.apache.hadoop.yarn.util
Methods in org.apache.hadoop.yarn.util that return ContainerIdModifier and TypeMethodDescriptionstatic ContainerIdConverterUtils.toContainerId(String containerIdStr) Deprecated.Methods in org.apache.hadoop.yarn.util with parameters of type ContainerIdModifier and TypeMethodDescriptionstatic StringConverterUtils.toString(ContainerId cId) Deprecated.