public static void setTaskPlan(String alias_id,
      TableScanOperator topOp, Task<?> task, boolean local,
      GenMRProcContext opProcCtx) throws SemanticException {
    setTaskPlan(alias_id, topOp, task, local, opProcCtx, null);
  }
set the current task in the mapredWork.

@param alias_id
         current alias
@param topOp
         the top operator of the stack
@param task
         current task
@param local
         whether you need to add to map-reduce or local work
@param opProcCtx
         processing context
ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMapRedUtils.java