HADOOP-13125 FS Contract tests don't report FS initialization errors well. (stevel)

This commit is contained in:
Steve Loughran 2016-05-11 14:19:12 +01:00
parent d971bf252f
commit 3553261400

View File

@ -73,7 +73,8 @@ public void init() throws IOException {
} catch (URISyntaxException e) {
throw new IOException("Invalid URI " + fsName);
} catch (IllegalArgumentException e) {
throw new IOException("Invalid URI " + fsName, e);
throw new IOException("Unable to initialize filesystem " + fsName
+ ": " + e, e);
}
} else {
LOG.info("skipping tests as FS name is not defined in "