finalizedOutputStream.writeInt(chosenWorkerInfoList.size());
for (WorkerInfo chosenWorkerInfo : chosenWorkerInfoList) {
String chosenWorkerInfoPrefix =
getCheckpointBasePath(superstep) + "." +
chosenWorkerInfo.getHostnameId();
finalizedOutputStream.writeUTF(chosenWorkerInfoPrefix);
}
String mergedAggregatorPath =
getMergedAggregatorPath(getApplicationAttempt(), superstep - 1);
if (getZkExt().exists(mergedAggregatorPath, false) != null) {
byte [] aggregatorZkData =