Example usage for Java org.apache.hadoop.mapred RunningJob fields, constructors, methods, implement or subclass
The text is from its open source code.
Counters | getCounters() Gets the counters for this job. |
String | getFailureInfo() Get failure info for the job. |
JobID | getID() Get the job identifier. |
String | getJobFile() Get the path of the submitted job configuration. |
String | getJobID() |
String | getJobName() Get the name of the job. |
int | getJobState() Returns the current state of the Job. |
JobStatus | getJobStatus() Returns a snapshot of the current status, JobStatus , of the Job. |
TaskCompletionEvent[] | getTaskCompletionEvents(int startFrom) Get events indicating completion (success/failure) of component tasks. |
String[] | getTaskDiagnostics(TaskAttemptID taskid) Gets the diagnostic messages for a given task attempt. |
String | getTrackingURL() Get the URL where some job progress information will be displayed. |
boolean | isComplete() Check if the job is finished or not. |
boolean | isSuccessful() Check if the job completed successfully. |
void | killJob() Kill the running job. |
void | killTask(TaskAttemptID taskId, boolean shouldFail) Kill indicated task attempt. |
void | killTask(String taskId, boolean shouldFail) |
float | mapProgress() Get the progress of the job's map-tasks, as a float between 0.0 and 1.0. |
float | reduceProgress() Get the progress of the job's reduce-tasks, as a float between 0.0 and 1.0. |
float | setupProgress() Get the progress of the job's setup-tasks, as a float between 0.0 and 1.0. |
void | waitForCompletion() Blocks until the job is complete. |