Uses of Class org.apache.hadoop.mapreduce.TaskAttemptID (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.mapreduce, class: TaskAttemptID

# Uses of Class
org.apache.hadoop.mapreduce.TaskAttemptID

Packages that use TaskAttemptID
Package
Description
org.apache.hadoop.mapred
org.apache.hadoop.mapreduce
org.apache.hadoop.mapreduce.tools

- ## Uses of TaskAttemptID in org.apache.hadoop.mapred

  Subclasses of TaskAttemptID in org.apache.hadoop.mapred
  Modifier and Type
  Class
  Description
  `class`
  `TaskAttemptID`
  TaskAttemptID represents the immutable and unique identifier for a task attempt.
  Methods in org.apache.hadoop.mapred with parameters of type TaskAttemptID
  Modifier and Type
  Method
  Description
  `static TaskAttemptID`
  TaskAttemptID.`downgrade(TaskAttemptID old)`
  Downgrade a new TaskAttemptID to an old one

- ## Uses of TaskAttemptID in org.apache.hadoop.mapreduce

  Methods in org.apache.hadoop.mapreduce that return TaskAttemptID
  Modifier and Type
  Method
  Description
  `static TaskAttemptID`
  TaskAttemptID.`forName(String str)`
  Construct a TaskAttemptID object from given string
  `TaskAttemptID`
  TaskCompletionEvent.`getTaskAttemptId()`
  Returns task id.
  `TaskAttemptID`
  TaskAttemptContext.`getTaskAttemptID()`
  Get the unique name for this task attempt.
  Methods in org.apache.hadoop.mapreduce with parameters of type TaskAttemptID
  Modifier and Type
  Method
  Description
  `void`
  Job.`failTask(TaskAttemptID taskId)`
  Fail indicated task attempt.
  `org.apache.hadoop.mapreduce.v2.LogParams`
  Cluster.`getLogParams(JobID jobID, TaskAttemptID taskAttemptID)`
  Get log parameters for the specified jobID or taskAttemptID
  `String[]`
  Job.`getTaskDiagnostics(TaskAttemptID taskid)`
  Gets the diagnostic messages for a given task attempt.
  `void`
  Job.`killTask(TaskAttemptID taskId)`
  Kill indicated task attempt.
  `boolean`
  Job.`killTask(TaskAttemptID taskId, boolean shouldFail)`
  Kill indicated task attempt.
  `protected void`
  TaskCompletionEvent.`setTaskAttemptId(TaskAttemptID taskId)`
  Sets task id.
  Constructors in org.apache.hadoop.mapreduce with parameters of type TaskAttemptID
  Modifier
  Constructor
  Description
  ``
  `TaskCompletionEvent(int eventId, TaskAttemptID taskId, int idWithinJob, boolean isMap, TaskCompletionEvent.Status status, String taskTrackerHttp)`
  Constructor. eventId should be created externally and incremented per event for each job.

- ## Uses of TaskAttemptID in org.apache.hadoop.mapreduce.tools

  Methods in org.apache.hadoop.mapreduce.tools with parameters of type TaskAttemptID
  Modifier and Type
  Method
  Description
  `protected static String`
  CLI.`getTaskLogURL(TaskAttemptID taskId, String baseUrl)`