@InterfaceAudience.Public @InterfaceStability.Evolving public class PigStatusReporter extends org.apache.hadoop.mapreduce.StatusReporter implements org.apache.hadoop.util.Progressable
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.Counter |
getCounter(java.lang.Enum<?> name) |
org.apache.hadoop.mapreduce.Counter |
getCounter(java.lang.String group,
java.lang.String name) |
static PigStatusReporter |
getInstance()
Get singleton instance of the context
|
float |
getProgress() |
void |
progress() |
static void |
setContext(org.apache.hadoop.mapreduce.TaskInputOutputContext context) |
void |
setStatus(java.lang.String status) |
public static PigStatusReporter getInstance()
public static void setContext(org.apache.hadoop.mapreduce.TaskInputOutputContext context)
public org.apache.hadoop.mapreduce.Counter getCounter(java.lang.Enum<?> name)
getCounter
in class org.apache.hadoop.mapreduce.StatusReporter
public org.apache.hadoop.mapreduce.Counter getCounter(java.lang.String group, java.lang.String name)
getCounter
in class org.apache.hadoop.mapreduce.StatusReporter
public void progress()
progress
in interface org.apache.hadoop.util.Progressable
progress
in class org.apache.hadoop.mapreduce.StatusReporter
public void setStatus(java.lang.String status)
setStatus
in class org.apache.hadoop.mapreduce.StatusReporter
public float getProgress()
getProgress
in class org.apache.hadoop.mapreduce.StatusReporter
Copyright © 2007-2012 The Apache Software Foundation