| Package | Description |
|---|---|
| org.apache.hadoop.yarn.ams |
Public api for Application Master Service interceptors.
|
| 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
ApplicationMasterServiceUtils.addToAllocatedContainers(AllocateResponse allocateResponse,
java.util.List<Container> allocatedContainers) |
Add allocated containers to
AllocateResponse. |
static void |
ApplicationMasterServiceUtils.addToUpdatedContainers(AllocateResponse allocateResponse,
ContainerUpdateType updateType,
java.util.List<Container> updatedContainers) |
Add updated containers to
AllocateResponse. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.util.List<Container> |
AllocateResponse.getAllocatedContainers() |
Get the list of newly allocated
Container by the
ResourceManager. |
abstract java.util.List<Container> |
AllocateResponse.getContainersFromPreviousAttempts() |
Get the list of running containers as viewed by
ResourceManager from previous application attempts which
have not been reported to the Application Master yet. |
abstract java.util.List<Container> |
RegisterApplicationMasterResponse.getContainersFromPreviousAttempts() |
Get the list of running containers as viewed by
ResourceManager from previous application attempts. |
| Modifier and Type | Method | Description |
|---|---|---|
AllocateResponse.AllocateResponseBuilder |
AllocateResponse.AllocateResponseBuilder.allocatedContainers(java.util.List<Container> allocatedContainers) |
Set the
allocatedContainers of the response. |
AllocateResponse.AllocateResponseBuilder |
AllocateResponse.AllocateResponseBuilder.containersFromPreviousAttempt(java.util.List<Container> containersFromPreviousAttempt) |
Set the
containersFromPreviousAttempt of the response. |
static RegisterApplicationMasterResponse |
RegisterApplicationMasterResponse.newInstance(Resource minCapability,
Resource maxCapability,
java.util.Map<ApplicationAccessType,java.lang.String> acls,
java.nio.ByteBuffer key,
java.util.List<Container> containersFromPreviousAttempt,
java.lang.String queue,
java.util.List<NMToken> nmTokensFromPreviousAttempts) |
|
abstract void |
AllocateResponse.setAllocatedContainers(java.util.List<Container> containers) |
Set the list of newly allocated
Container by the
ResourceManager. |
abstract void |
AllocateResponse.setContainersFromPreviousAttempts(java.util.List<Container> containersFromPreviousAttempt) |
Set the list of running containers as viewed by
ResourceManager from previous application attempts which have
not been reported to the Application Master yet. |
abstract void |
RegisterApplicationMasterResponse.setContainersFromPreviousAttempts(java.util.List<Container> containersFromPreviousAttempt) |
Set the list of running containers as viewed by
ResourceManager from previous application attempts. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract Container |
UpdatedContainer.getContainer() |
Get the
Container. |
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) |
| Modifier and Type | Method | Description |
|---|---|---|
static UpdatedContainer |
UpdatedContainer.newInstance(ContainerUpdateType updateType,
Container container) |
Static Factory method.
|
abstract void |
UpdatedContainer.setContainer(Container container) |
Set the
Container. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.