log.info("Calling failed for " + jobId + ", status=" + jobState.getStatus());
jobState.getController().failed(jobState.getStatus());
}
PipelineService pipeline = PipelineServiceFactory.newPipelineService();
pipeline.startNewPipeline(
new FinalizeShardedJob(jobId, jobState.getTotalTaskCount(), jobState.getStatus()));
}
}