@Override public void prepareRun(BatchAggregatorContext context) throws Exception { if (numPartitions != null) { context.setNumPartitions(numPartitions); } } }
@Override public void prepareRun(BatchAggregatorContext context) throws Exception { if (conf.numPartitions != null) { context.setNumPartitions(conf.numPartitions); } }