From b297a9c95ccfe124fb82c76cb6727f2bed2de5f3 Mon Sep 17 00:00:00 2001 From: cnauroth Date: Tue, 15 Sep 2015 15:13:43 -0700 Subject: [PATCH] HDFS-9082. Change the log level in WebHdfsFileSystem.initialize() from INFO to DEBUG. Contributed by Santhosh Nayak. (cherry picked from commit 559c09dc0eba28666c4b16435512cc2d35e31683) --- .../java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java | 4 ++-- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java index 4768d6efa23..d4912be26bc 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java @@ -154,11 +154,11 @@ public class WebHdfsFileSystem extends FileSystem HdfsClientConfigKeys.DFS_WEBHDFS_OAUTH_ENABLED_DEFAULT); if(isOAuth) { - LOG.info("Enabling OAuth2 in WebHDFS"); + LOG.debug("Enabling OAuth2 in WebHDFS"); connectionFactory = URLConnectionFactory .newOAuth2URLConnectionFactory(conf); } else { - LOG.info("Not enabling OAuth2 in WebHDFS"); + LOG.debug("Not enabling OAuth2 in WebHDFS"); connectionFactory = URLConnectionFactory .newDefaultURLConnectionFactory(conf); } diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 16045a455a4..bb57b07b2dd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -572,6 +572,9 @@ Release 2.8.0 - UNRELEASED HDFS-8953. DataNode Metrics logging (Kanaka Kumar Avvaru via vinayakumarb) + HDFS-9082. Change the log level in WebHdfsFileSystem.initialize() from INFO + to DEBUG. (Santhosh Nayak via cnauroth) + OPTIMIZATIONS HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than