| 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 |
TaskAttemptUnsuccessfulCompletionEvent.getTaskId()
Gets the task id.
|
TaskID |
TaskStartedEvent.getTaskId()
Get the task id
|
TaskID |
TaskAttemptFinishedEvent.getTaskId()
Gets the task ID.
|
TaskID |
MapAttemptFinishedEvent.getTaskId()
Gets the task ID.
|
TaskID |
JobHistoryParser.TaskInfo.getTaskId() |
TaskID |
TaskFailedEvent.getTaskId()
Gets the task id.
|
TaskID |
TaskAttemptStartedEvent.getTaskId()
Get the task id
|
TaskID |
TaskFinishedEvent.getTaskId()
Gets task id.
|
TaskID |
TaskUpdatedEvent.getTaskId()
Get the task ID
|
TaskID |
ReduceAttemptFinishedEvent.getTaskId()
Gets 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) |
TaskFailedEvent(TaskID id,
long finishTime,
TaskType taskType,
String error,
String status,
TaskAttemptID failedDueToAttempt,
Counters counters,
long startTs)
Create an event to record task failure.
|
TaskFinishedEvent(TaskID id,
TaskAttemptID attemptId,
long finishTime,
TaskType taskType,
String status,
Counters counters) |
TaskFinishedEvent(TaskID id,
TaskAttemptID attemptId,
long finishTime,
TaskType taskType,
String status,
Counters counters,
long startTs)
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 © 2022 Apache Software Foundation. All rights reserved.