public Object process(Node nd, Stack<Node> stack, NodeProcessorCtx procCtx,
      Object... nodeOutputs) throws SemanticException {
    GenMRProcContext ctx = (GenMRProcContext) procCtx;

    Map<Operator<? extends OperatorDesc>, GenMapRedCtx> mapCurrCtx = ctx
        .getMapCurrCtx();
    GenMapRedCtx mapredCtx = mapCurrCtx.get(stack.get(stack.size() - 2));
    mapCurrCtx.put((Operator<? extends OperatorDesc>) nd, new GenMapRedCtx(
        mapredCtx.getCurrTask(), mapredCtx.getCurrAliasId()));
    return true;
  }
Reduce Scan encountered.

@param nd
         the reduce sink operator encountered
@param procCtx
         context
ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMROperator.java