Package | Description |
---|---|
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.client.api | |
org.apache.hadoop.yarn.client.api.async |
Modifier and Type | Method and Description |
---|---|
abstract List<UpdateContainerRequest> |
AllocateRequest.getUpdateRequests()
Get the list of container update requests being sent by the
ApplicationMaster . |
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) |
abstract void |
AllocateRequest.setUpdateRequests(List<UpdateContainerRequest> updateRequests)
Set the list of container update requests to inform the
ResourceManager about the containers that need to be
updated. |
AllocateRequest.AllocateRequestBuilder |
AllocateRequest.AllocateRequestBuilder.updateRequests(List<UpdateContainerRequest> updateRequests)
Set the
updateRequests of the request. |
Modifier and Type | Method and Description |
---|---|
abstract UpdateContainerRequest |
UpdateContainerError.getUpdateContainerRequest()
Get the
UpdateContainerRequest that was not satisfiable. |
static UpdateContainerRequest |
UpdateContainerRequest.newInstance(int version,
ContainerId containerId,
ContainerUpdateType updateType,
Resource targetCapability,
ExecutionType targetExecutionType) |
Modifier and Type | Method and Description |
---|---|
static UpdateContainerError |
UpdateContainerError.newInstance(String reason,
UpdateContainerRequest updateContainerRequest) |
abstract void |
UpdateContainerError.setUpdateContainerRequest(UpdateContainerRequest updateContainerRequest)
Set the
UpdateContainerRequest that was not satisfiable. |
Modifier and Type | Method and Description |
---|---|
abstract void |
AMRMClient.requestContainerUpdate(Container container,
UpdateContainerRequest updateContainerRequest)
Request a container update before calling
allocate . |
Modifier and Type | Method and Description |
---|---|
abstract void |
AMRMClientAsync.requestContainerUpdate(Container container,
UpdateContainerRequest updateContainerRequest)
Request a container update before calling
allocate . |
Copyright © 2024 Apache Software Foundation. All rights reserved.