org.apache.hadoop.hive.ql.exec
Class MapRedTask

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Task<mapredWork>
      extended by org.apache.hadoop.hive.ql.exec.MapRedTask
All Implemented Interfaces:
Serializable

public class MapRedTask
extends Task<mapredWork>
implements Serializable

Alternate implementation (to ExecDriver) of spawning a mapreduce task that runs it from a separate jvm. The primary issue with this is the inability to control logging from a separate jvm in a consistent manner

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.Task
childTasks, conf, console, db, id, LOG, parentTasks, work
 
Constructor Summary
MapRedTask()
           
 
Method Summary
 int execute()
           
 boolean hasReduce()
           
 boolean isMapRedTask()
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Task
addDependentTask, done, fetch, getChildTasks, getId, getParentTasks, getWork, initialize, isRunnable, removeDependentTask, setChildTasks, setDone, setId, setParentTasks, setWork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapRedTask

public MapRedTask()
Method Detail

execute

public int execute()
Specified by:
execute in class Task<mapredWork>

isMapRedTask

public boolean isMapRedTask()
Overrides:
isMapRedTask in class Task<mapredWork>

hasReduce

public boolean hasReduce()
Overrides:
hasReduce in class Task<mapredWork>


Copyright © 2009 The Apache Software Foundation