@Override
public void setLocation(String location, Job job) throws IOException {
final List<String> paths = new ArrayList<String>();
final String finalLocation = location;
DateUtil.iterateByDay(start.getTimeInMillis(), end.getTimeInMillis(), new DateIterator(){
@Override
public void see(long aTime) {
String aDate = inputPathFormat.format(new Date(aTime));
String path = finalLocation.replace("%DATE%", aDate);
LOG.info("Adding an input location: '" + path + "'");