HDFS-14238. A log in NNThroughputBenchmark should change log level to INFO instead of ERROR. Contributed by Shen Yinjie.
This commit is contained in:
parent
6e5cd5273f
commit
5f4641a120
|
@ -147,7 +147,7 @@ public class NNThroughputBenchmark implements Tool {
|
||||||
}
|
}
|
||||||
|
|
||||||
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(
|
||||||
|
|
Loading…
Reference in New Issue