public class ContainerRequestSpec extends Object
Modifier and Type | Field and Description |
---|---|
double |
disks
Number of virtual disks (channels, spindles) to request.
|
List<String> |
hosts |
int |
memoryMb
Memory, in MB, required by the container.
|
String |
nodeLabelExpr
Node label expression to apply to this request.
|
int |
priority
Application-specific priority.
|
List<String> |
racks |
int |
vCores
Number of "virtual cores" required by the task.
|
Constructor and Description |
---|
ContainerRequestSpec() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.client.api.AMRMClient.ContainerRequest |
makeRequest()
Create a YARN ContainerRequest object from the information in this object.
|
public int priority
Scheduler
. When the resource allocation
arrives, we use the priority to trace back to the scheduler that requested
it, and from there to the task to be run in the allocation.
For this reason, the priority is set by the Drill-on-YARN application; it is not a user-adjustable value.
public int memoryMb
public int vCores
public double disks
public String nodeLabelExpr
Copyright © 1970 The Apache Software Foundation. All rights reserved.