CopyableDatasetRequestor will catch any Dataset exception and skip (previously would only catch IOExceptions causing copy failure).
@@ -85,8 +85,8 @@ public class CopyableDatasetRequestor implements PushDownRequestor<FileSet<CopyE
public Iterator<FileSet<CopyEntity>> iterator() {
try {
return injectRequestor(this.dataset.getFileSetIterator(this.targetFs, this.copyConfiguration));
- } catch (IOException ioe) {
- log.error(String.format("Could not get FileSets for dataset %s. Skipping.", this.dataset.datasetURN()), ioe);
+ } catch (Throwable exc) {
+ log.error(String.format("Could not get FileSets for dataset %s. Skipping.", this.dataset.datasetURN()), exc);
return Iterators.emptyIterator();
}
}
