hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x...@apache.org
Subject hadoop git commit: HDFS-11593. Change SimpleHttpProxyHandler#exceptionCaught log level from info to debug. Contributed by Xiaobing Zhou.
Date Mon, 01 May 2017 23:24:05 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk a3a615eea -> 1058b4084


HDFS-11593. Change SimpleHttpProxyHandler#exceptionCaught log level from info to debug. Contributed
by Xiaobing Zhou.


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

Branch: refs/heads/trunk
Commit: 1058b4084392fbc18522ba126313d4a77c09d797
Parents: a3a615e
Author: Xiaoyu Yao <xyao@apache.org>
Authored: Mon May 1 16:12:51 2017 -0700
Committer: Xiaoyu Yao <xyao@apache.org>
Committed: Mon May 1 16:12:51 2017 -0700

----------------------------------------------------------------------
 .../hadoop/hdfs/server/datanode/web/SimpleHttpProxyHandler.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/1058b408/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/SimpleHttpProxyHandler.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/SimpleHttpProxyHandler.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/SimpleHttpProxyHandler.java
index ffa7681..9d659f1 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/SimpleHttpProxyHandler.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/SimpleHttpProxyHandler.java
@@ -144,7 +144,9 @@ class SimpleHttpProxyHandler extends SimpleChannelInboundHandler<HttpRequest>
{
 
   @Override
   public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
-    LOG.info("Proxy for " + uri + " failed. cause: ", cause);
+    if (LOG.isDebugEnabled()) {
+      LOG.debug("Proxy for " + uri + " failed. cause: ", cause);
+    }
     if (proxiedChannel != null) {
       proxiedChannel.close();
       proxiedChannel = 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