Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords | |
org.apache.hadoop.yarn.api.records |
Modifier and Type | Method and Description |
---|---|
Resource |
GetNewApplicationResponse.getMaximumResourceCapability()
Get the maximum capability for any
Resource allocated by the
ResourceManager in the cluster. |
Resource |
RegisterApplicationMasterResponse.getMaximumResourceCapability()
Get the maximum capability for any
Resource allocated by the
ResourceManager in the cluster. |
Resource |
GetNewApplicationResponse.getMinimumResourceCapability()
Get the minimum capability for any
Resource allocated by the
ResourceManager in the cluster. |
Resource |
RegisterApplicationMasterResponse.getMinimumResourceCapability()
Get the minimum capability for any
Resource allocated by the
ResourceManager in the cluster. |
Modifier and Type | Method and Description |
---|---|
void |
GetNewApplicationResponse.setMaximumResourceCapability(Resource capability) |
void |
RegisterApplicationMasterResponse.setMaximumResourceCapability(Resource capability) |
void |
GetNewApplicationResponse.setMinimumResourceCapability(Resource capability) |
void |
RegisterApplicationMasterResponse.setMinimumResourceCapability(Resource capability) |
Modifier and Type | Method and Description |
---|---|
Resource |
AMResponse.getAvailableResources()
Get the available headroom for resources in the cluster for the
application.
|
Resource |
NodeReport.getCapability()
Get the total
Resource on the node. |
abstract Resource |
ResourceRequest.getCapability()
Get the
Resource capability of the request. |
Resource |
ApplicationResourceUsageReport.getNeededResources()
Get the needed
Resource |
Resource |
ApplicationResourceUsageReport.getReservedResources()
Get the reserved
Resource |
Resource |
ContainerLaunchContext.getResource()
Get the
Resource allocated to the container by the
ResourceManager . |
Resource |
Container.getResource()
Get the
Resource allocated to the container. |
Resource |
NodeReport.getUsed()
Get used
Resource on the node. |
Resource |
ApplicationResourceUsageReport.getUsedResources()
Get the used
Resource |
Modifier and Type | Method and Description |
---|---|
void |
AMResponse.setAvailableResources(Resource limit) |
void |
NodeReport.setCapability(Resource capability) |
abstract void |
ResourceRequest.setCapability(Resource capability)
Set the
Resource capability of the request |
void |
ApplicationResourceUsageReport.setNeededResources(Resource needed_resources) |
void |
ApplicationResourceUsageReport.setReservedResources(Resource reserved_resources) |
void |
ContainerLaunchContext.setResource(Resource resource)
Set the
Resource allocated to the container by the
ResourceManager . |
void |
Container.setResource(Resource resource) |
void |
NodeReport.setUsed(Resource used) |
void |
ApplicationResourceUsageReport.setUsedResources(Resource resources) |
Copyright © 2014 Apache Software Foundation. All Rights Reserved.