+ FeedHelper.getLocation(feed, LocationType.DATA,
cluster.getName()).getPath());
}
}
for (String groupName : groupNames) {
FeedGroup group = FeedGroupMap.get().getGroupsMapping().get(groupName);
if (group == null || group.canContainFeed(feed)) {
continue;
} else {
throw new ValidationException("Feed " + feed.getName() + "'s frequency: " + feed.getFrequency().toString()
+ ", path pattern: " + FeedHelper.getLocation(feed, LocationType.DATA).getPath()
+ " does not match with group: " + group.getName() + "'s frequency: " + group.getFrequency()
+ ", date pattern: " + group.getDatePattern());
}
}
}