Class HadoopDummyReporter
- java.lang.Object
-
- org.apache.flink.api.java.hadoop.mapred.wrapper.HadoopDummyReporter
-
- All Implemented Interfaces:
org.apache.hadoop.mapred.Reporter
,org.apache.hadoop.util.Progressable
@PublicEvolving public class HadoopDummyReporter extends Object implements org.apache.hadoop.mapred.Reporter
This is a dummy progress monitor / reporter.
-
-
Constructor Summary
Constructors Constructor Description HadoopDummyReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
setStatus(String status)
-
-
-
Method Detail
-
progress
public void progress()
- Specified by:
progress
in interfaceorg.apache.hadoop.util.Progressable
-
setStatus
public void setStatus(String status)
- Specified by:
setStatus
in interfaceorg.apache.hadoop.mapred.Reporter
-
getCounter
public org.apache.hadoop.mapred.Counters.Counter getCounter(Enum<?> name)
- Specified by:
getCounter
in interfaceorg.apache.hadoop.mapred.Reporter
-
getCounter
public org.apache.hadoop.mapred.Counters.Counter getCounter(String group, String name)
- Specified by:
getCounter
in interfaceorg.apache.hadoop.mapred.Reporter
-
incrCounter
public void incrCounter(Enum<?> key, long amount)
- Specified by:
incrCounter
in interfaceorg.apache.hadoop.mapred.Reporter
-
incrCounter
public void incrCounter(String group, String counter, long amount)
- Specified by:
incrCounter
in interfaceorg.apache.hadoop.mapred.Reporter
-
getInputSplit
public org.apache.hadoop.mapred.InputSplit getInputSplit() throws UnsupportedOperationException
- Specified by:
getInputSplit
in interfaceorg.apache.hadoop.mapred.Reporter
- Throws:
UnsupportedOperationException
-
getProgress
public float getProgress()
- Specified by:
getProgress
in interfaceorg.apache.hadoop.mapred.Reporter
-
-