From d255efa5f8dc57c1411ec2fe040bd22516393edd Mon Sep 17 00:00:00 2001 From: Jonathan Hung Date: Tue, 27 Aug 2019 10:30:31 -0700 Subject: [PATCH] HDFS-14779. Fix logging error in TestEditLog#testMultiStreamsLoadEditWithConfMaxTxns (cherry picked from commit 8ab7020e641e65deb002a10732d23bb22802c09d) --- .../org/apache/hadoop/hdfs/server/namenode/TestEditLog.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/TestEditLog.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java index 3bb40891e06..59a4945f12c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java @@ -364,7 +364,7 @@ public class TestEditLog { readFsImage.loadEdits(editStreams, namesystem, 100, null, null); } catch (Exception e){ LOG.error("There appears to be an out-of-order edit in the edit log", - e.getMessage()); + e); fail("no exception should be thrown"); } finally { if (readFsImage != null) {