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) {