HDFS-9082. Change the log level in WebHdfsFileSystem.initialize() from INFO to DEBUG. Contributed by Santhosh Nayak.

(cherry picked from commit 559c09dc0e)
This commit is contained in:
cnauroth 2015-09-15 15:13:43 -07:00
parent f3c0a210b6
commit b297a9c95c
2 changed files with 5 additions and 2 deletions

View File

@ -154,11 +154,11 @@ public synchronized void initialize(URI uri, Configuration conf
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);
}

View File

@ -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