HDFS-10831. Add log when URLConnectionFactory.openConnection failed. Contributed by yunjiong zhao.
This commit is contained in:
parent
011f3b24d4
commit
b07c266dca
@ -183,6 +183,7 @@ public URLConnection openConnection(URL url) throws IOException {
|
||||
return openConnection(url, false);
|
||||
} catch (AuthenticationException e) {
|
||||
// Unreachable
|
||||
LOG.error("Open connection {} failed", url, e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user