Uses of Class
org.apache.hadoop.mapred.TaskAttemptID
Packages that use TaskAttemptID
-
Uses of TaskAttemptID in org.apache.hadoop.mapred
Methods in org.apache.hadoop.mapred that return TaskAttemptIDModifier and TypeMethodDescriptionstatic TaskAttemptIDTaskAttemptID.downgrade(TaskAttemptID old) Downgrade a new TaskAttemptID to an old onestatic TaskAttemptIDConstruct a TaskAttemptID object from given stringTaskReport.getSuccessfulTaskAttempt()Get the attempt ID that took this task to completionTaskCompletionEvent.getTaskAttemptId()Returns task id.TaskAttemptContext.getTaskAttemptID()static TaskAttemptIDDeprecated.Methods in org.apache.hadoop.mapred that return types with arguments of type TaskAttemptIDModifier and TypeMethodDescriptionTaskReport.getRunningTaskAttempts()Get the running task attempt IDs for this taskMethods in org.apache.hadoop.mapred with parameters of type TaskAttemptIDModifier and TypeMethodDescriptionString[]RunningJob.getTaskDiagnostics(TaskAttemptID taskid) Gets the diagnostic messages for a given task attempt.voidRunningJob.killTask(TaskAttemptID taskId, boolean shouldFail) Kill indicated task attempt.voidTaskReport.setSuccessfulAttempt(TaskAttemptID t) set successful attempt ID of the task.protected voidTaskCompletionEvent.setTaskAttemptId(TaskAttemptID taskId) Sets task id.voidTaskCompletionEvent.setTaskID(TaskAttemptID taskId) Deprecated.Method parameters in org.apache.hadoop.mapred with type arguments of type TaskAttemptIDModifier and TypeMethodDescriptionvoidTaskReport.setRunningTaskAttempts(Collection<TaskAttemptID> runningAttempts) set running attempt(s) of the task.Constructors in org.apache.hadoop.mapred with parameters of type TaskAttemptIDModifierConstructorDescriptionTaskCompletionEvent(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.
TaskCompletionEvent.setTaskAttemptId(TaskAttemptID)instead.