Repository: hadoop Updated Branches: refs/heads/branch-2 c0756dfef -> 72ea64146
HDFS-10831. Add log when URLConnectionFactory.openConnection failed. Contributed by yunjiong zhao. (cherry picked from commit b07c266dca7f303c793b432a0738d593728cf2b3) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/72ea6414 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/72ea6414 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/72ea6414 Branch: refs/heads/branch-2 Commit: 72ea64146810bb5010280145ee7cad9fb9375aad Parents: c0756df Author: Andrew Wang <[email protected]> Authored: Thu Sep 8 18:30:18 2016 -0700 Committer: Andrew Wang <[email protected]> Committed: Thu Sep 8 18:30:26 2016 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/hdfs/web/URLConnectionFactory.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/72ea6414/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/URLConnectionFactory.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/URLConnectionFactory.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/URLConnectionFactory.java index 975f72e..96095db 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/URLConnectionFactory.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/URLConnectionFactory.java @@ -183,6 +183,7 @@ public class URLConnectionFactory { return openConnection(url, false); } catch (AuthenticationException e) { // Unreachable + LOG.error("Open connection {} failed", url, e); return null; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
