org.apache.hadoop.mapreduce.task
Class TaskAttemptContextImpl.DummyReporter
java.lang.Object
org.apache.hadoop.mapreduce.StatusReporter
org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl.DummyReporter
- Enclosing class:
- TaskAttemptContextImpl
public static class TaskAttemptContextImpl.DummyReporter
- extends StatusReporter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskAttemptContextImpl.DummyReporter
public TaskAttemptContextImpl.DummyReporter()
setStatus
public void setStatus(String s)
- Specified by:
setStatus
in class StatusReporter
progress
public void progress()
- Specified by:
progress
in class StatusReporter
getCounter
public Counter getCounter(Enum<?> name)
- Specified by:
getCounter
in class StatusReporter
getCounter
public Counter getCounter(String group,
String name)
- Specified by:
getCounter
in class StatusReporter
getProgress
public float getProgress()
- Description copied from class:
StatusReporter
- Get the current progress.
- Specified by:
getProgress
in class StatusReporter
- Returns:
- a number between 0.0 and 1.0 (inclusive) indicating the attempt's
progress.
Copyright © 2012 Apache Software Foundation. All Rights Reserved.