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/HDFS-10467 Commit: 1058b4084392fbc18522ba126313d4a77c09d797 Parents: a3a615e Author: Xiaoyu Yao <x...@apache.org> Authored: Mon May 1 16:12:51 2017 -0700 Committer: Xiaoyu Yao <x...@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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org