}
batchContext.setBatchStatus(consolidatedBatchStatus);
}
private void initPartitionConfig() {
final Partition partition = step.getPartition();
if (partition != null) {
isPartitioned = true;
final RefArtifact reducerConfig = partition.getReducer();
if (reducerConfig != null) {
reducer = jobContext.createArtifact(reducerConfig.getRef(), null, reducerConfig.getProperties(), batchContext);
}
final RefArtifact mapperConfig = partition.getMapper();
if (mapperConfig != null) {
mapper = jobContext.createArtifact(mapperConfig.getRef(), null, mapperConfig.getProperties(), batchContext);
}
final RefArtifact analyzerConfig = partition.getAnalyzer();
if (analyzerConfig != null) {
analyzer = jobContext.createArtifact(analyzerConfig.getRef(), null, analyzerConfig.getProperties(), batchContext);
}
collectorConfig = partition.getCollector();
plan = partition.getPlan();
}
}