if (locations != null) {
return new FileSystemStorage(ClusterHelper.getReadOnlyStorageUrl(clusterEntity), locations);
}
try {
final CatalogTable table = getTable(feedCluster, feed);
if (table != null) {
return new CatalogStorage(clusterEntity, table);
}
} catch (URISyntaxException e) {
throw new FalconException(e);