public class MRReporter extends Object implements org.apache.hadoop.mapred.Reporter
| Constructor and Description |
|---|
MRReporter(org.apache.tez.common.counters.TezCounters tezCounters) |
MRReporter(org.apache.tez.common.counters.TezCounters tezCounters,
org.apache.hadoop.mapred.InputSplit split) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapred.Counters.Counter |
getCounter(Enum<?> name) |
org.apache.hadoop.mapred.Counters.Counter |
getCounter(String group,
String name) |
org.apache.hadoop.mapred.InputSplit |
getInputSplit() |
float |
getProgress() |
void |
incrCounter(Enum<?> key,
long amount) |
void |
incrCounter(String group,
String counter,
long amount) |
void |
progress() |
void |
setProgress(float progress) |
void |
setStatus(String status) |
public MRReporter(org.apache.tez.common.counters.TezCounters tezCounters)
public MRReporter(org.apache.tez.common.counters.TezCounters tezCounters,
org.apache.hadoop.mapred.InputSplit split)
public void progress()
progress in interface org.apache.hadoop.util.Progressablepublic void setStatus(String status)
setStatus in interface org.apache.hadoop.mapred.Reporterpublic org.apache.hadoop.mapred.Counters.Counter getCounter(Enum<?> name)
getCounter in interface org.apache.hadoop.mapred.Reporterpublic org.apache.hadoop.mapred.Counters.Counter getCounter(String group, String name)
getCounter in interface org.apache.hadoop.mapred.Reporterpublic void incrCounter(Enum<?> key, long amount)
incrCounter in interface org.apache.hadoop.mapred.Reporterpublic void incrCounter(String group, String counter, long amount)
incrCounter in interface org.apache.hadoop.mapred.Reporterpublic org.apache.hadoop.mapred.InputSplit getInputSplit()
throws UnsupportedOperationException
getInputSplit in interface org.apache.hadoop.mapred.ReporterUnsupportedOperationExceptionpublic void setProgress(float progress)
public float getProgress()
getProgress in interface org.apache.hadoop.mapred.ReporterCopyright © 2017 Apache Software Foundation. All rights reserved.