HDFS-10831. Add log when URLConnectionFactory.openConnection failed. Contributed by yunjiong zhao.
(cherry picked from commit b07c266dca7f303c793b432a0738d593728cf2b3)
This commit is contained in:
parent
c0756dfef6
commit
72ea641468
@ -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…
x
Reference in New Issue
Block a user