org.apache.hadoop.hive.ql.exec.mr
Class ExecMapper
java.lang.Object
MapReduceBase
org.apache.hadoop.hive.ql.exec.mr.ExecMapper
public class ExecMapper
- extends MapReduceBase
ExecMapper is the generic Map class for Hive. Together with ExecReducer it is
the bridge between the map-reduce framework and the Hive operator pipeline at
execution time. It's main responsabilities are:
- Load and setup the operator pipeline from XML
- Run the pipeline by transforming key value pairs to records and forwarding them to the operators
- Stop execution when the "limit" is reached
- Catch and handle errors during execution of the operators.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
l4j
public static final org.apache.commons.logging.Log l4j
memoryMXBean
public static MemoryMXBean memoryMXBean
ExecMapper
public ExecMapper()
configure
public void configure(JobConf job)
map
public void map(Object key,
Object value,
OutputCollector output,
Reporter reporter)
throws IOException
- Throws:
IOException
close
public void close()
getDone
public static boolean getDone()
isAbort
public boolean isAbort()
setAbort
public void setAbort(boolean abort)
setDone
public static void setDone(boolean done)
Copyright © 2012 The Apache Software Foundation