HDFS-14238. A log in NNThroughputBenchmark should change log level to INFO instead of ERROR. Contributed by Shen Yinjie.

This commit is contained in:
Ayush Saxena 2019-10-12 21:06:23 +05:30
parent 6e5cd5273f
commit 5f4641a120

View File

@ -147,7 +147,7 @@ void close() {
} }
static void setNameNodeLoggingLevel(Level logLevel) { static void setNameNodeLoggingLevel(Level logLevel) {
LOG.error("Log level = " + logLevel.toString()); LOG.info("Log level = " + logLevel.toString());
// change log level to NameNode logs // change log level to NameNode logs
DFSTestUtil.setNameNodeLogLevel(logLevel); DFSTestUtil.setNameNodeLogLevel(logLevel);
GenericTestUtils.setLogLevel(LogManager.getLogger( GenericTestUtils.setLogLevel(LogManager.getLogger(