1
0

Test Failure in Travis-ci

This commit is contained in:
Prasanna Rajaperumal
2017-02-21 20:25:01 -08:00
parent 1132f3533d
commit fe5c5e8021
2 changed files with 12 additions and 8 deletions

View File

@@ -46,7 +46,11 @@ public class DatasetNotFoundException extends HoodieException {
if (!fs.exists(metaPathDir) || !fs.isDirectory(metaPathDir)) {
throw new DatasetNotFoundException(metaPathDir.toString());
}
} catch (IOException e) {
} catch (IllegalArgumentException e) {
// if the base path is file:///, then we have a IllegalArgumentException
throw new DatasetNotFoundException(metaPathDir.toString());
}
catch (IOException e) {
throw new HoodieIOException(
"Could not check if dataset " + basePathDir + " is valid dataset", e);
}