Map<StepExecution, ContainerRequestHint> requests = new HashMap<StepExecution, ContainerRequestHint>();
for (StepExecution execution : stepExecutions) {
String locations = execution.getExecutionContext().getString(getKeySplitLocations());
String[] hosts = StringUtils.delimitedListToStringArray(locations, ",");
String[] racks = new String[0];
requests.put(execution, new ContainerRequestHint(execution, null, hosts, racks, null));
}
return requests;
}