@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(Enum<?> name) |
org.apache.hadoop.mapreduce.Counter |
getCounter(String group,
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(String status) |
public static PigStatusReporter getInstance()
public static void setContext(org.apache.hadoop.mapreduce.TaskInputOutputContext context)
public org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> name)
getCounter in class org.apache.hadoop.mapreduce.StatusReporterpublic org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
getCounter in class org.apache.hadoop.mapreduce.StatusReporterpublic void progress()
progress in interface org.apache.hadoop.util.Progressableprogress in class org.apache.hadoop.mapreduce.StatusReporterpublic void setStatus(String status)
setStatus in class org.apache.hadoop.mapreduce.StatusReporterpublic float getProgress()
getProgress in class org.apache.hadoop.mapreduce.StatusReporterCopyright © 2007-2012 The Apache Software Foundation