public class ExecMapper
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Mapper
Modifier and Type | Class and Description |
---|---|
static class |
ExecMapper.ReportStats
reportStats.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
l4j |
Constructor and Description |
---|
ExecMapper() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(org.apache.hadoop.mapred.JobConf job) |
static boolean |
getDone() |
boolean |
isAbort() |
void |
map(Object key,
Object value,
org.apache.hadoop.mapred.OutputCollector output,
org.apache.hadoop.mapred.Reporter reporter) |
void |
setAbort(boolean abort) |
static void |
setDone(boolean done) |
public void configure(org.apache.hadoop.mapred.JobConf job)
configure
in interface org.apache.hadoop.mapred.JobConfigurable
configure
in class org.apache.hadoop.mapred.MapReduceBase
public void map(Object key, Object value, org.apache.hadoop.mapred.OutputCollector output, org.apache.hadoop.mapred.Reporter reporter) throws IOException
map
in interface org.apache.hadoop.mapred.Mapper
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.hadoop.mapred.MapReduceBase
public static boolean getDone()
public boolean isAbort()
public void setAbort(boolean abort)
public static void setDone(boolean done)
Copyright © 2017 The Apache Software Foundation. All rights reserved.