From 5f4641a120331d049a55c519a0d15da18c820fed Mon Sep 17 00:00:00 2001 From: Ayush Saxena Date: Sat, 12 Oct 2019 21:06:23 +0530 Subject: [PATCH] HDFS-14238. A log in NNThroughputBenchmark should change log level to INFO instead of ERROR. Contributed by Shen Yinjie. --- .../hadoop/hdfs/server/namenode/NNThroughputBenchmark.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java index 653b906e54..f501673ef8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NNThroughputBenchmark.java @@ -147,7 +147,7 @@ void close() { } static void setNameNodeLoggingLevel(Level logLevel) { - LOG.error("Log level = " + logLevel.toString()); + LOG.info("Log level = " + logLevel.toString()); // change log level to NameNode logs DFSTestUtil.setNameNodeLogLevel(logLevel); GenericTestUtils.setLogLevel(LogManager.getLogger(