| Package | Description |
|---|---|
| org.apache.tez.dag.api |
| Modifier and Type | Method and Description |
|---|---|
static TaskLocationHint |
TaskLocationHint.createTaskLocationHint(org.apache.hadoop.yarn.api.records.ContainerId containerId)
Provide a location hint using a container to which the task may be affinitized
Tez will try to run the task on that container or node local to it
|
static TaskLocationHint |
TaskLocationHint.createTaskLocationHint(Set<String> hosts,
Set<String> racks)
Provides a location hint with nodes and racks at which the task may be executed.
|
TaskLocationHint |
VertexManagerPluginContext.TaskWithLocationHint.getTaskLocationHint() |
| Modifier and Type | Method and Description |
|---|---|
List<TaskLocationHint> |
VertexLocationHint.getTaskLocationHints() |
| Modifier and Type | Method and Description |
|---|---|
static VertexLocationHint |
VertexLocationHint.create(List<TaskLocationHint> taskLocationHints) |
| Constructor and Description |
|---|
VertexManagerPluginContext.TaskWithLocationHint(Integer taskIndex,
TaskLocationHint locationHint) |
Copyright © 2014 Apache Software Foundation. All rights reserved.