Repository: hadoop Updated Branches: refs/heads/branch-2.8 c45f1ec85 -> 912631a22
HDFS-10831. Add log when URLConnectionFactory.openConnection failed. Contributed by yunjiong zhao. (cherry picked from commit b07c266dca7f303c793b432a0738d593728cf2b3) (cherry picked from commit 72ea64146810bb5010280145ee7cad9fb9375aad) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/912631a2 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/912631a2 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/912631a2 Branch: refs/heads/branch-2.8 Commit: 912631a226f85c2680e51a11d414ee92af5a57c9 Parents: c45f1ec 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:36 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/912631a2/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]
