Package | Description |
---|---|
org.apache.hadoop.mapred | |
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.jobhistory | |
org.apache.hadoop.mapreduce.task.reduce |
Modifier and Type | Class and Description |
---|---|
class |
TaskID
TaskID represents the immutable and unique identifier for
a Map or Reduce Task.
|
Modifier and Type | Method and Description |
---|---|
static TaskID |
TaskID.downgrade(TaskID old)
Downgrade a new TaskID to an old one
|
org.apache.hadoop.fs.Path |
MROutputFiles.getInputFileForWrite(TaskID mapId,
long size)
Create a local reduce input file name.
|
abstract org.apache.hadoop.fs.Path |
MapOutputFile.getInputFileForWrite(TaskID mapId,
long size)
Create a local reduce input file name.
|
Modifier and Type | Method and Description |
---|---|
static TaskID |
TaskID.forName(String str)
Construct a TaskID object from given string
|
TaskID |
TaskAttemptID.getTaskID()
Returns the
TaskID object that this task attempt belongs to |
Constructor and Description |
---|
TaskAttemptID(TaskID taskId,
int id)
Constructs a TaskAttemptID object from given
TaskID . |
Modifier and Type | Method and Description |
---|---|
TaskID |
TaskAttemptStartedEvent.getTaskId()
Get the task id
|
TaskID |
TaskFinishedEvent.getTaskId()
Get task id
|
TaskID |
JobHistoryParser.TaskInfo.getTaskId() |
TaskID |
TaskFailedEvent.getTaskId()
Get the task id
|
TaskID |
TaskStartedEvent.getTaskId()
Get the task id
|
TaskID |
TaskAttemptFinishedEvent.getTaskId()
Get the task ID
|
TaskID |
TaskAttemptUnsuccessfulCompletionEvent.getTaskId()
Get the task id
|
TaskID |
ReduceAttemptFinishedEvent.getTaskId()
Get the Task ID
|
TaskID |
TaskUpdatedEvent.getTaskId()
Get the task ID
|
TaskID |
MapAttemptFinishedEvent.getTaskId()
Get the task ID
|
Modifier and Type | Method and Description |
---|---|
Map<TaskID,JobHistoryParser.TaskInfo> |
JobHistoryParser.JobInfo.getAllTasks() |
Map<String,Set<TaskID>> |
HistoryViewer.FilteredJob.getFilteredMap()
Get the map of the filtered tasks
|
Constructor and Description |
---|
TaskFailedEvent(TaskID id,
long finishTime,
TaskType taskType,
String error,
String status,
TaskAttemptID failedDueToAttempt) |
TaskFailedEvent(TaskID id,
long finishTime,
TaskType taskType,
String error,
String status,
TaskAttemptID failedDueToAttempt,
Counters counters)
Create an event to record task failure
|
TaskFinishedEvent(TaskID id,
TaskAttemptID attemptId,
long finishTime,
TaskType taskType,
String status,
Counters counters)
Create an event to record the successful completion of a task
|
TaskStartedEvent(TaskID id,
long startTime,
TaskType taskType,
String splitLocations)
Create an event to record start of a task
|
TaskUpdatedEvent(TaskID id,
long finishTime)
Create an event to record task updates
|
Modifier and Type | Method and Description |
---|---|
void |
ShuffleSchedulerImpl.tipFailed(TaskID taskId) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.