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:
parent
f3c0a210b6
commit
b297a9c95c
|
@ -154,11 +154,11 @@ public class WebHdfsFileSystem extends FileSystem
|
||||||
HdfsClientConfigKeys.DFS_WEBHDFS_OAUTH_ENABLED_DEFAULT);
|
HdfsClientConfigKeys.DFS_WEBHDFS_OAUTH_ENABLED_DEFAULT);
|
||||||
|
|
||||||
if(isOAuth) {
|
if(isOAuth) {
|
||||||
LOG.info("Enabling OAuth2 in WebHDFS");
|
LOG.debug("Enabling OAuth2 in WebHDFS");
|
||||||
connectionFactory = URLConnectionFactory
|
connectionFactory = URLConnectionFactory
|
||||||
.newOAuth2URLConnectionFactory(conf);
|
.newOAuth2URLConnectionFactory(conf);
|
||||||
} else {
|
} else {
|
||||||
LOG.info("Not enabling OAuth2 in WebHDFS");
|
LOG.debug("Not enabling OAuth2 in WebHDFS");
|
||||||
connectionFactory = URLConnectionFactory
|
connectionFactory = URLConnectionFactory
|
||||||
.newDefaultURLConnectionFactory(conf);
|
.newDefaultURLConnectionFactory(conf);
|
||||||
}
|
}
|
||||||
|
|
|
@ -572,6 +572,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-8953. DataNode Metrics logging (Kanaka Kumar Avvaru via vinayakumarb)
|
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
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||||
|
|
Loading…
Reference in New Issue