public class ReporterWrapper
extends org.apache.hadoop.mapreduce.StatusReporter
implements org.apache.hadoop.mapred.Reporter
Constructor and Description |
---|
ReporterWrapper(org.apache.hadoop.mapred.Reporter reporter) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapred.Counters.Counter |
getCounter(java.lang.Enum<?> anEnum) |
org.apache.hadoop.mapred.Counters.Counter |
getCounter(java.lang.String s,
java.lang.String s1) |
org.apache.hadoop.mapred.InputSplit |
getInputSplit() |
float |
getProgress() |
void |
incrCounter(java.lang.Enum<?> anEnum,
long l) |
void |
incrCounter(java.lang.String s,
java.lang.String s1,
long l) |
void |
progress() |
void |
setStatus(java.lang.String s) |
public ReporterWrapper(org.apache.hadoop.mapred.Reporter reporter)
public org.apache.hadoop.mapred.Counters.Counter getCounter(java.lang.Enum<?> anEnum)
getCounter
in interface org.apache.hadoop.mapred.Reporter
getCounter
in class org.apache.hadoop.mapreduce.StatusReporter
public org.apache.hadoop.mapred.Counters.Counter getCounter(java.lang.String s, java.lang.String s1)
getCounter
in interface org.apache.hadoop.mapred.Reporter
getCounter
in class org.apache.hadoop.mapreduce.StatusReporter
public void incrCounter(java.lang.Enum<?> anEnum, long l)
incrCounter
in interface org.apache.hadoop.mapred.Reporter
public void incrCounter(java.lang.String s, java.lang.String s1, long l)
incrCounter
in interface org.apache.hadoop.mapred.Reporter
public org.apache.hadoop.mapred.InputSplit getInputSplit() throws java.lang.UnsupportedOperationException
getInputSplit
in interface org.apache.hadoop.mapred.Reporter
java.lang.UnsupportedOperationException
public void progress()
progress
in interface org.apache.hadoop.util.Progressable
progress
in class org.apache.hadoop.mapreduce.StatusReporter
public float getProgress()
public void setStatus(java.lang.String s)
setStatus
in interface org.apache.hadoop.mapred.Reporter
setStatus
in class org.apache.hadoop.mapreduce.StatusReporter
Copyright © 2015 The Apache Software Foundation