| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.api.protocolrecords |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.server.api |
| Modifier and Type | Method | Description |
|---|---|---|
CommitResponse |
ContainerManagementProtocol.commitLastReInitialization(ContainerId containerId) |
Commit the Last ReInitialization if possible.
|
RestartContainerResponse |
ContainerManagementProtocol.restartContainer(ContainerId containerId) |
Restart the container.
|
RollbackResponse |
ContainerManagementProtocol.rollbackLastReInitialization(ContainerId containerId) |
Rollback the Last ReInitialization if possible.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract ContainerId |
GetContainerReportRequest.getContainerId() |
Get the
ContainerId of the Container. |
abstract ContainerId |
ReInitializeContainerRequest.getContainerId() |
Get the
ContainerId of the container to re-initialize. |
abstract ContainerId |
ResourceLocalizationRequest.getContainerId() |
Get the
ContainerId of the container to localize resources. |
abstract ContainerId |
SignalContainerRequest.getContainerId() |
Get the
ContainerId of the container to signal. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.util.List<ContainerId> |
GetContainerStatusesRequest.getContainerIds() |
Get the list of
ContainerIds of containers for which to obtain
the ContainerStatus. |
abstract java.util.List<ContainerId> |
GetLocalizationStatusesRequest.getContainerIds() |
Get the list of container IDs of the containers for which the localization
statuses are needed.
|
abstract java.util.List<ContainerId> |
StopContainersRequest.getContainerIds() |
Get the
ContainerIds of the containers to be stopped. |
abstract java.util.Map<ContainerId,SerializedException> |
ContainerUpdateResponse.getFailedRequests() |
Get the containerId-to-exception map in which the exception indicates
error from each container for failed requests.
|
abstract java.util.Map<ContainerId,SerializedException> |
GetContainerStatusesResponse.getFailedRequests() |
Get the containerId-to-exception map in which the exception indicates error
from per container for failed requests.
|
abstract java.util.Map<ContainerId,SerializedException> |
GetLocalizationStatusesResponse.getFailedRequests() |
Get the containerId-to-exception map in which the exception indicates error
from per container for failed requests.
|
abstract java.util.Map<ContainerId,SerializedException> |
IncreaseContainersResourceResponse.getFailedRequests() |
Get the containerId-to-exception map in which the exception indicates
error from each container for failed requests.
|
abstract java.util.Map<ContainerId,SerializedException> |
StartContainersResponse.getFailedRequests() |
Get the containerId-to-exception map in which the exception indicates error
from per container for failed requests
|
abstract java.util.Map<ContainerId,SerializedException> |
StopContainersResponse.getFailedRequests() |
Get the containerId-to-exception map in which the exception indicates error
from per container for failed requests.
|
abstract java.util.Map<ContainerId,java.util.List<LocalizationStatus>> |
GetLocalizationStatusesResponse.getLocalizationStatuses() |
Get all the container localization statuses.
|
abstract java.util.List<ContainerId> |
AllocateRequest.getReleaseList() |
Get the list of
ContainerId of containers being
released by the ApplicationMaster. |
abstract java.util.List<ContainerId> |
IncreaseContainersResourceResponse.getSuccessfullyIncreasedContainers() |
Get the list of containerIds of containers whose resource
have been successfully increased.
|
abstract java.util.List<ContainerId> |
StartContainersResponse.getSuccessfullyStartedContainers() |
Get the list of
ContainerId s of the containers that are
started successfully. |
abstract java.util.List<ContainerId> |
StopContainersResponse.getSuccessfullyStoppedContainers() |
Get the list of containerIds of successfully stopped containers.
|
abstract java.util.List<ContainerId> |
ContainerUpdateResponse.getSuccessfullyUpdatedContainers() |
Get the list of containerIds of containers whose resource
have been successfully update.
|
| Modifier and Type | Method | Description |
|---|---|---|
static GetContainerReportRequest |
GetContainerReportRequest.newInstance(ContainerId containerId) |
|
static ReInitializeContainerRequest |
ReInitializeContainerRequest.newInstance(ContainerId containerId,
ContainerLaunchContext containerLaunchContext,
boolean autoCommit) |
Creates a new instance of the ReInitializationContainerRequest.
|
static ResourceLocalizationRequest |
ResourceLocalizationRequest.newInstance(ContainerId containerId,
java.util.Map<java.lang.String,LocalResource> localResources) |
|
static SignalContainerRequest |
SignalContainerRequest.newInstance(ContainerId containerId,
SignalContainerCommand signalContainerCommand) |
|
abstract void |
GetContainerReportRequest.setContainerId(ContainerId containerId) |
Set the
ContainerId of the container |
abstract void |
ReInitializeContainerRequest.setContainerId(ContainerId containerId) |
Set the
ContainerId of the container to re-initialize. |
abstract void |
ResourceLocalizationRequest.setContainerId(ContainerId containerId) |
Set the
ContainerId of the container to localize resources. |
abstract void |
SignalContainerRequest.setContainerId(ContainerId containerId) |
Set the
ContainerId of the container to signal. |
| Modifier and Type | Method | Description |
|---|---|---|
static ContainerUpdateResponse |
ContainerUpdateResponse.newInstance(java.util.List<ContainerId> successfullyUpdatedContainers,
java.util.Map<ContainerId,SerializedException> failedRequests) |
|
static ContainerUpdateResponse |
ContainerUpdateResponse.newInstance(java.util.List<ContainerId> successfullyUpdatedContainers,
java.util.Map<ContainerId,SerializedException> failedRequests) |
|
static GetContainerStatusesRequest |
GetContainerStatusesRequest.newInstance(java.util.List<ContainerId> containerIds) |
|
static GetContainerStatusesResponse |
GetContainerStatusesResponse.newInstance(java.util.List<ContainerStatus> statuses,
java.util.Map<ContainerId,SerializedException> failedRequests) |
|
static GetLocalizationStatusesRequest |
GetLocalizationStatusesRequest.newInstance(java.util.List<ContainerId> containerIds) |
|
static GetLocalizationStatusesResponse |
GetLocalizationStatusesResponse.newInstance(java.util.Map<ContainerId,java.util.List<LocalizationStatus>> statuses,
java.util.Map<ContainerId,SerializedException> failedRequests) |
|
static IncreaseContainersResourceResponse |
IncreaseContainersResourceResponse.newInstance(java.util.List<ContainerId> successfullyIncreasedContainers,
java.util.Map<ContainerId,SerializedException> failedRequests) |
|
static IncreaseContainersResourceResponse |
IncreaseContainersResourceResponse.newInstance(java.util.List<ContainerId> successfullyIncreasedContainers,
java.util.Map<ContainerId,SerializedException> failedRequests) |
|
static StartContainersResponse |
StartContainersResponse.newInstance(java.util.Map<java.lang.String,java.nio.ByteBuffer> servicesMetaData,
java.util.List<ContainerId> succeededContainers,
java.util.Map<ContainerId,SerializedException> failedContainers) |
|
static StopContainersRequest |
StopContainersRequest.newInstance(java.util.List<ContainerId> containerIds) |
|
static StopContainersResponse |
StopContainersResponse.newInstance(java.util.List<ContainerId> succeededRequests,
java.util.Map<ContainerId,SerializedException> failedRequests) |
|
static StopContainersResponse |
StopContainersResponse.newInstance(java.util.List<ContainerId> succeededRequests,
java.util.Map<ContainerId,SerializedException> failedRequests) |
|
AllocateRequest.AllocateRequestBuilder |
AllocateRequest.AllocateRequestBuilder.releaseList(java.util.List<ContainerId> releaseList) |
Set the
releaseList of the request. |
abstract void |
GetContainerStatusesRequest.setContainerIds(java.util.List<ContainerId> containerIds) |
Set a list of
ContainerIds of containers for which to obtain
the ContainerStatus |
abstract void |
GetLocalizationStatusesRequest.setContainerIds(java.util.List<ContainerId> containerIds) |
Sets the list of container IDs of containers for which the localization
statuses are needed.
|
abstract void |
StopContainersRequest.setContainerIds(java.util.List<ContainerId> containerIds) |
Set the
ContainerIds of the containers to be stopped. |
abstract void |
ContainerUpdateResponse.setFailedRequests(java.util.Map<ContainerId,SerializedException> failedRequests) |
Set the containerId-to-exception map in which the exception indicates
error from each container for failed requests.
|
abstract void |
GetContainerStatusesResponse.setFailedRequests(java.util.Map<ContainerId,SerializedException> failedContainers) |
Set the containerId-to-exception map in which the exception indicates error
from per container for failed requests.
|
abstract void |
GetLocalizationStatusesResponse.setFailedRequests(java.util.Map<ContainerId,SerializedException> failedContainers) |
Set the containerId-to-exception map in which the exception indicates error
from per container for failed request.
|
abstract void |
IncreaseContainersResourceResponse.setFailedRequests(java.util.Map<ContainerId,SerializedException> failedRequests) |
Set the containerId-to-exception map in which the exception indicates
error from each container for failed requests.
|
abstract void |
StartContainersResponse.setFailedRequests(java.util.Map<ContainerId,SerializedException> failedContainers) |
Set the containerId-to-exception map in which the exception indicates error
from per container for failed requests.
|
abstract void |
StopContainersResponse.setFailedRequests(java.util.Map<ContainerId,SerializedException> failedRequests) |
Set the containerId-to-exception map in which the exception indicates error
from per container for failed requests.
|
abstract void |
GetLocalizationStatusesResponse.setLocalizationStatuses(java.util.Map<ContainerId,java.util.List<LocalizationStatus>> statuses) |
Sets the container localization statuses.
|
abstract void |
AllocateRequest.setReleaseList(java.util.List<ContainerId> releaseContainers) |
Set the list of
ContainerId of containers being
released by the ApplicationMaster |
abstract void |
IncreaseContainersResourceResponse.setSuccessfullyIncreasedContainers(java.util.List<ContainerId> succeedIncreasedContainers) |
Set the list of containerIds of containers whose resource have
been successfully increased.
|
abstract void |
StartContainersResponse.setSuccessfullyStartedContainers(java.util.List<ContainerId> succeededContainers) |
|
abstract void |
StopContainersResponse.setSuccessfullyStoppedContainers(java.util.List<ContainerId> succeededRequests) |
Set the list of containerIds of successfully stopped containers.
|
abstract void |
ContainerUpdateResponse.setSuccessfullyUpdatedContainers(java.util.List<ContainerId> succeedUpdatedContainers) |
Set the list of containerIds of containers whose resource have
been successfully updated.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ContainerId |
ContainerId.fromString(java.lang.String containerIdStr) |
|
abstract ContainerId |
ApplicationAttemptReport.getAMContainerId() |
Get the
ContainerId of AMContainer for this attempt |
abstract ContainerId |
ContainerReport.getContainerId() |
Get the
ContainerId of the container. |
abstract ContainerId |
ContainerStatus.getContainerId() |
Get the
ContainerId of the container. |
abstract ContainerId |
UpdateContainerRequest.getContainerId() |
Get the
ContainerId of the container. |
abstract ContainerId |
Container.getId() |
Get the globally unique identifier for the container.
|
abstract ContainerId |
PreemptionContainer.getId() |
|
static ContainerId |
ContainerId.newContainerId(ApplicationAttemptId appAttemptId,
long containerId) |
|
static ContainerId |
ContainerId.newInstance(ApplicationAttemptId appAttemptId,
int containerId) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
ContainerId.compareTo(ContainerId other) |
|
static ApplicationAttemptReport |
ApplicationAttemptReport.newInstance(ApplicationAttemptId applicationAttemptId,
java.lang.String host,
int rpcPort,
java.lang.String url,
java.lang.String oUrl,
java.lang.String diagnostics,
YarnApplicationAttemptState state,
ContainerId amContainerId) |
|
static ApplicationAttemptReport |
ApplicationAttemptReport.newInstance(ApplicationAttemptId applicationAttemptId,
java.lang.String host,
int rpcPort,
java.lang.String url,
java.lang.String oUrl,
java.lang.String diagnostics,
YarnApplicationAttemptState state,
ContainerId amContainerId,
long startTime,
long finishTime) |
|
static Container |
Container.newInstance(ContainerId containerId,
NodeId nodeId,
java.lang.String nodeHttpAddress,
Resource resource,
Priority priority,
Token containerToken) |
|
static Container |
Container.newInstance(ContainerId containerId,
NodeId nodeId,
java.lang.String nodeHttpAddress,
Resource resource,
Priority priority,
Token containerToken,
ExecutionType executionType) |
|
static ContainerReport |
ContainerReport.newInstance(ContainerId containerId,
Resource allocatedResource,
NodeId assignedNode,
Priority priority,
long creationTime,
long finishTime,
java.lang.String diagnosticInfo,
java.lang.String logUrl,
int containerExitStatus,
ContainerState containerState,
java.lang.String nodeHttpAddress) |
|
static ContainerReport |
ContainerReport.newInstance(ContainerId containerId,
Resource allocatedResource,
NodeId assignedNode,
Priority priority,
long creationTime,
long finishTime,
java.lang.String diagnosticInfo,
java.lang.String logUrl,
int containerExitStatus,
ContainerState containerState,
java.lang.String nodeHttpAddress,
ExecutionType executionType) |
|
static ContainerStatus |
ContainerStatus.newInstance(ContainerId containerId,
ContainerState containerState,
java.lang.String diagnostics,
int exitStatus) |
|
static ContainerStatus |
ContainerStatus.newInstance(ContainerId containerId,
ExecutionType executionType,
ContainerState containerState,
java.lang.String diagnostics,
int exitStatus) |
|
static PreemptionContainer |
PreemptionContainer.newInstance(ContainerId id) |
|
static UpdateContainerRequest |
UpdateContainerRequest.newInstance(int version,
ContainerId containerId,
ContainerUpdateType updateType,
Resource targetCapability,
ExecutionType targetExecutionType) |
|
abstract void |
ApplicationAttemptReport.setAMContainerId(ContainerId amContainerId) |
|
abstract void |
ContainerReport.setContainerId(ContainerId containerId) |
|
abstract void |
ContainerStatus.setContainerId(ContainerId containerId) |
|
abstract void |
UpdateContainerRequest.setContainerId(ContainerId containerId) |
Set the
ContainerId of the container. |
abstract void |
Container.setId(ContainerId id) |
|
abstract void |
PreemptionContainer.setId(ContainerId id) |
| Modifier and Type | Method | Description |
|---|---|---|
ContainerId |
ContainerContext.getContainerId() |
Get
ContainerId of the container being initialized or stopped. |
ContainerId |
ContainerLogContext.getContainerId() |
Get
ContainerId of the container. |
| Constructor | Description |
|---|---|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource) |
|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType) |
|
ContainerContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType,
ExecutionType executionType) |
|
ContainerInitializationContext(java.lang.String user,
ContainerId containerId,
Resource resource) |
|
ContainerInitializationContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType) |
|
ContainerLogContext(ContainerId containerId,
ContainerType containerType,
int exitCode) |
|
ContainerTerminationContext(java.lang.String user,
ContainerId containerId,
Resource resource) |
|
ContainerTerminationContext(java.lang.String user,
ContainerId containerId,
Resource resource,
ContainerType containerType) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.