public class MRTaskContext extends TaskContext<org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?>>
Constructor and Description |
---|
MRTaskContext(org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?> context) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?> |
get() |
org.apache.hadoop.mapreduce.Counter |
getCounter(Enum<?> name) |
org.apache.hadoop.mapreduce.Counter |
getCounter(String group,
String name) |
boolean |
incrCounter(Enum<?> name,
long delta) |
boolean |
incrCounter(String group,
String name,
long delta) |
void |
progress() |
void |
setStatus(String status) |
getProgress
public MRTaskContext(org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?> context)
public org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?> get()
get
in class TaskContext<org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?>>
public org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> name)
getCounter
in class TaskContext<org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?>>
public org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
getCounter
in class TaskContext<org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?>>
public boolean incrCounter(Enum<?> name, long delta)
incrCounter
in class TaskContext<org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?>>
public boolean incrCounter(String group, String name, long delta)
incrCounter
in class TaskContext<org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?>>
public void progress()
progress
in class TaskContext<org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?>>
public void setStatus(String status)
setStatus
in class TaskContext<org.apache.hadoop.mapreduce.TaskInputOutputContext<?,?,?,?>>
Copyright © 2007-2012 The Apache Software Foundation