Santhosh G Nayak created HDFS-9082:
--------------------------------------
Summary: Change the log level in WebHdfsFileSystem.initialize()
from INFO to DEBUG
Key: HDFS-9082
URL: https://issues.apache.org/jira/browse/HDFS-9082
Project: Hadoop HDFS
Issue Type: Improvement
Components: webhdfs
Reporter: Santhosh G Nayak
Assignee: Santhosh G Nayak
Priority: Minor
Fix For: 2.8.0
Log info statements described below show up in the stdouts of {{FileSystem}}
operations on {{WebHdfsFileSystem}}. So, the proposal is to change the log
level from INFO to DEBUG.
{code}
if(isOAuth) {
LOG.info("Enabling OAuth2 in WebHDFS");
connectionFactory = URLConnectionFactory
.newOAuth2URLConnectionFactory(conf);
} else {
LOG.info("Not enabling OAuth2 in WebHDFS");
connectionFactory = URLConnectionFactory
.newDefaultURLConnectionFactory(conf);
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)