|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RunningJob
Includes details on a running MapReduce job. A client can track a living job using this object.
Method Summary | |
---|---|
Counters |
getCounters()
Gets the counters for this job. |
String |
getJobFile()
Returns the path of the submitted job. |
String |
getJobID()
Returns an identifier for the job |
TaskCompletionEvent[] |
getTaskCompletionEvents(int startFrom)
|
String |
getTrackingURL()
Returns a URL where some job progress information will be displayed. |
boolean |
isComplete()
Non-blocking function to check whether the job is finished or not. |
boolean |
isSuccessful()
True iff job completed successfully. |
void |
killJob()
Kill the running job. |
float |
mapProgress()
Returns a float between 0.0 and 1.0, indicating progress on the map portion of the job. |
float |
reduceProgress()
Returns a float between 0.0 and 1.0, indicating progress on the reduce portion of the job. |
void |
waitForCompletion()
Blocks until the job is complete. |
Method Detail |
---|
String getJobID()
String getJobFile()
String getTrackingURL()
float mapProgress() throws IOException
IOException
float reduceProgress() throws IOException
IOException
boolean isComplete() throws IOException
IOException
boolean isSuccessful() throws IOException
IOException
void waitForCompletion() throws IOException
IOException
void killJob() throws IOException
IOException
TaskCompletionEvent[] getTaskCompletionEvents(int startFrom) throws IOException
IOException
Counters getCounters() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |