List<String> indexesToSnapshot = new ArrayList<>();
indexesToSnapshot.addAll(indicies);
esEmbededContainer.snapshot(indexesToSnapshot, BaseESReducer.SNAPSHOT_NAME, conf.get(ConfigParams.SNAPSHOT_REPO_NAME_CONFIG_KEY.toString()), null);
for(String index : indicies) {
try{
<BUG>placeMissingIndexes(BaseESReducer.SNAPSHOT_NAME, esEmbededContainer, conf, index);

} catch (FileNotFoundException e) {</BUG>
logger.error("Unable to include index " + index + " in the manifest because missing shards could not be generated", e);
continue;

List<String> indexesToSnapshot = new ArrayList<>();
indexesToSnapshot.addAll(indicies);
esEmbededContainer.snapshot(indexesToSnapshot, BaseESReducer.SNAPSHOT_NAME, conf.get(ConfigParams.SNAPSHOT_REPO_NAME_CONFIG_KEY.toString()), null);
for(String index : indicies) {
try{
placeMissingIndexes(BaseESReducer.SNAPSHOT_NAME, esEmbededContainer, conf, index, !rootManifestUploaded);
rootManifestUploaded = true;
} catch (FileNotFoundException e) {
logger.error("Unable to include index " + index + " in the manifest because missing shards could not be generated", e);
continue;
