org.apache.hadoop.mapreduce.task
Class TaskAttemptContextImpl.DummyReporter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.StatusReporter
      extended by org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl.DummyReporter
Enclosing class:
TaskAttemptContextImpl

public static class TaskAttemptContextImpl.DummyReporter
extends StatusReporter


Constructor Summary
TaskAttemptContextImpl.DummyReporter()
           
 
Method Summary
 Counter getCounter(Enum<?> name)
           
 Counter getCounter(String group, String name)
           
 float getProgress()
          Get the current progress.
 void progress()
           
 void setStatus(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskAttemptContextImpl.DummyReporter

public TaskAttemptContextImpl.DummyReporter()
Method Detail

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.