Package | Description |
---|---|
org.apache.hadoop.mapred |
A software framework for easily writing applications which process vast
amounts of data (multi-terabyte data-sets) parallelly on large clusters
(thousands of nodes) built of commodity hardware in a reliable, fault-tolerant
manner.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.server.jobtracker |
Modifier and Type | Method and Description |
---|---|
int |
JobInProgress.getNumSlotsPerTask(TaskType taskType) |
void |
JobInProgress.reserveTaskTracker(TaskTracker taskTracker,
TaskType type,
int numSlots) |
void |
JobInProgress.unreserveTaskTracker(TaskTracker taskTracker,
TaskType type) |
Modifier and Type | Method and Description |
---|---|
TaskType |
TaskAttemptID.getTaskType()
Returns the TaskType of the TaskAttemptID
|
TaskType |
TaskID.getTaskType()
Get the type of the task
|
static TaskType |
TaskType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskType[] |
TaskType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TaskAttemptID(java.lang.String jtIdentifier,
int jobId,
TaskType type,
int taskId,
int id)
Constructs a TaskId object from given parts.
|
TaskID(java.lang.String jtIdentifier,
int jobId,
TaskType type,
int id)
Constructs a TaskInProgressId object from given parts.
|
Modifier and Type | Method and Description |
---|---|
int |
TaskTracker.getAvailableSlots(TaskType taskType)
Get the number of currently available slots on this tasktracker for the
given type of the task.
|
JobInProgress |
TaskTracker.getJobForFallowSlot(TaskType taskType)
Get the
JobInProgress for which the fallow slot(s) are held. |
void |
TaskTracker.reserveSlots(TaskType taskType,
JobInProgress job,
int numSlots)
Reserve specified number of slots for a given
job . |
void |
TaskTracker.unreserveSlots(TaskType taskType,
JobInProgress job)
Free map slots on this
TaskTracker which were reserved for
taskType . |
Copyright © 2009 The Apache Software Foundation