You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by jh...@apache.org on 2019/08/27 17:31:39 UTC
[hadoop] branch branch-3.1 updated: HDFS-14779. Fix logging error
in TestEditLog#testMultiStreamsLoadEditWithConfMaxTxns
This is an automated email from the ASF dual-hosted git repository.
jhung pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 79364a9 HDFS-14779. Fix logging error in TestEditLog#testMultiStreamsLoadEditWithConfMaxTxns
79364a9 is described below
commit 79364a9c53680a097184c30ae9800d26eea69200
Author: Jonathan Hung <jh...@linkedin.com>
AuthorDate: Tue Aug 27 10:30:31 2019 -0700
HDFS-14779. Fix logging error in TestEditLog#testMultiStreamsLoadEditWithConfMaxTxns
(cherry picked from commit 8ab7020e641e65deb002a10732d23bb22802c09d)
(cherry picked from commit d255efa5f8dc57c1411ec2fe040bd22516393edd)
---
.../test/java/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 ee02157..1611fe2 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
@@ -361,7 +361,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) {
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org