hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject hadoop git commit: HDFS-10831. Add log when URLConnectionFactory.openConnection failed. Contributed by yunjiong zhao.
Date Fri, 09 Sep 2016 01:30:41 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 011f3b24d -> b07c266dc


HDFS-10831. Add log when URLConnectionFactory.openConnection failed. Contributed by yunjiong
zhao.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b07c266d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b07c266d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b07c266d

Branch: refs/heads/trunk
Commit: b07c266dca7f303c793b432a0738d593728cf2b3
Parents: 011f3b2
Author: Andrew Wang <wang@apache.org>
Authored: Thu Sep 8 18:30:18 2016 -0700
Committer: Andrew Wang <wang@apache.org>
Committed: Thu Sep 8 18:30:18 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/b07c266d/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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message