org.apache.hadoop.mapreduce
Class StatusReporter
java.lang.Object
org.apache.hadoop.mapreduce.StatusReporter
- Direct Known Subclasses:
- Task.TaskReporter
public abstract class StatusReporter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatusReporter
public StatusReporter()
getCounter
public abstract Counter getCounter(Enum<?> name)
getCounter
public abstract Counter getCounter(String group,
String name)
progress
public abstract void progress()
getProgress
public abstract float getProgress()
- Get the current progress.
- Returns:
- a number between 0.0 and 1.0 (inclusive) indicating the attempt's
progress.
setStatus
public abstract void setStatus(String status)
Copyright © 2009 The Apache Software Foundation