}
// Run AccumulatorOptimizer on Tez plan
boolean isAccum = conf.getBoolean(PigConfiguration.OPT_ACCUMULATOR, true);
if (isAccum) {
AccumulatorOptimizer accum = new AccumulatorOptimizer(tezPlan);
accum.visit();
}
// Use VertexGroup in Tez
boolean isUnionOpt = conf.getBoolean(PigConfiguration.TEZ_OPT_UNION, true);
if (isUnionOpt) {