Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords | |
org.apache.hadoop.yarn.api.records | |
org.apache.hadoop.yarn.applications.distributedshell |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.client.api |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.client.api.async | |
org.apache.hadoop.yarn.logaggregation | |
org.apache.hadoop.yarn.security | |
org.apache.hadoop.yarn.util |
Modifier and Type | Method and Description |
---|---|
abstract ContainerId |
SignalContainerRequest.getContainerId()
Get the
ContainerId of the container to signal. |
abstract ContainerId |
GetContainerReportRequest.getContainerId()
Get the
ContainerId of the Container. |
Modifier and Type | Method and Description |
---|---|
abstract List<ContainerId> |
StopContainersRequest.getContainerIds()
Get the
ContainerId s of the containers to be stopped. |
abstract List<ContainerId> |
GetContainerStatusesRequest.getContainerIds()
Get the list of
ContainerId s of containers for which to obtain
the ContainerStatus . |
abstract 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,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 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> |
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> |
IncreaseContainersResourceResponse.getSuccessfullyIncreasedContainers()
Get the list of containerIds of containers whose resource
have been successfully increased.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static GetContainerReportRequest |
GetContainerReportRequest.newInstance(ContainerId containerId) |
static SignalContainerRequest |
SignalContainerRequest.newInstance(ContainerId containerId,
SignalContainerCommand signalContainerCommand) |
abstract void |
SignalContainerRequest.setContainerId(ContainerId containerId)
Set the
ContainerId of the container to signal. |
abstract void |
GetContainerReportRequest.setContainerId(ContainerId containerId)
Set the
ContainerId of the container |
Modifier and Type | Method and Description |
---|---|
static AllocateRequest |
AllocateRequest.newInstance(int responseID,
float appProgress,
List<ResourceRequest> resourceAsk,
List<ContainerId> containersToBeReleased,
List<UpdateContainerRequest> updateRequests,
ResourceBlacklistRequest resourceBlacklistRequest) |
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<org.apache.hadoop.yarn.api.records.ContainerResourceIncreaseRequest> increaseRequests)
Deprecated.
|
static StopContainersRequest |
StopContainersRequest.newInstance(List<ContainerId> containerIds) |
static GetContainerStatusesRequest |
GetContainerStatusesRequest.newInstance(List<ContainerId> containerIds) |
abstract void |
StopContainersRequest.setContainerIds(List<ContainerId> containerIds)
Set the
ContainerId s of the containers to be stopped. |
abstract void |
GetContainerStatusesRequest.setContainerIds(List<ContainerId> containerIds)
Set a list of
ContainerId s of containers for which to obtain
the ContainerStatus |
abstract void |
AllocateRequest.setReleaseList(List<ContainerId> releaseContainers)
Set the list of
ContainerId of containers being
released by the ApplicationMaster |
Modifier and Type | Method and Description |
---|---|
static ContainerId |
ContainerId.fromString(String containerIdStr) |
abstract ContainerId |
ApplicationAttemptReport.getAMContainerId()
Get the
ContainerId of AMContainer for this attempt |
abstract ContainerId |
UpdateContainerRequest.getContainerId()
Get the
ContainerId of the container. |
abstract ContainerId |
ContainerStatus.getContainerId()
Get the
ContainerId of the container. |
abstract ContainerId |
ContainerReport.getContainerId()
Get the
ContainerId of the container. |
abstract ContainerId |
PreemptionContainer.getId() |
abstract ContainerId |
Container.getId()
Get the globally unique identifier for the container.
|
static ContainerId |
ContainerId.newContainerId(ApplicationAttemptId appAttemptId,
long containerId) |
Modifier and Type | Method and Description |
---|---|
int |
ContainerId.compareTo(ContainerId other) |
static ApplicationAttemptReport |
ApplicationAttemptReport.newInstance(ApplicationAttemptId applicationAttemptId,
String host,
int rpcPort,
String url,
String oUrl,
String diagnostics,
YarnApplicationAttemptState state,
ContainerId amContainerId) |
static UpdateContainerRequest |
UpdateContainerRequest.newInstance(int version,
ContainerId containerId,
ContainerUpdateType updateType,
Resource targetCapability) |
abstract void |
UpdateContainerRequest.setContainerId(ContainerId containerId)
Set the
ContainerId of the container. |
abstract void |
ContainerReport.setContainerId(ContainerId containerId) |
Modifier and Type | Field and Description |
---|---|
protected Set<ContainerId> |
ApplicationMaster.launchedContainers |
Modifier and Type | Method and Description |
---|---|
abstract ContainerReport |
YarnClient.getContainerReport(ContainerId containerId)
Get a report of the given Container.
|
abstract ContainerReport |
AHSClient.getContainerReport(ContainerId containerId)
Get a report of the given Container.
|
abstract ContainerStatus |
NMClient.getContainerStatus(ContainerId containerId,
NodeId nodeId)
Query the status of a container.
|
abstract void |
AMRMClient.releaseAssignedContainer(ContainerId containerId)
Release containers assigned by the Resource Manager.
|
abstract void |
YarnClient.signalToContainer(ContainerId containerId,
SignalContainerCommand command)
Signal a container identified by given ID.
|
abstract void |
NMClient.stopContainer(ContainerId containerId,
NodeId nodeId)
Stop an started container.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
NMClientAsync.getContainerStatusAsync(ContainerId containerId,
NodeId nodeId) |
abstract void |
AMRMClientAsync.releaseAssignedContainer(ContainerId containerId)
Release containers assigned by the Resource Manager.
|
abstract void |
NMClientAsync.stopContainerAsync(ContainerId containerId,
NodeId nodeId) |
Constructor and Description |
---|
AggregatedLogFormat.LogKey(ContainerId containerId) |
Modifier and Type | Method and Description |
---|---|
ContainerId |
ContainerTokenIdentifier.getContainerID() |
Constructor and Description |
---|
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) |
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) |
Modifier and Type | Method and Description |
---|---|
static ContainerId |
ConverterUtils.toContainerId(String containerIdStr)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
ConverterUtils.toString(ContainerId cId)
Deprecated.
|
Copyright © 2017 Apache Software Foundation. All rights reserved.