This is an automated email from the ASF dual-hosted git repository.

gifuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b24efa1  HDFS-14549. EditLogTailer shouldn't output full stack trace 
when interrupted. Contributed by Inigo Goiri.
b24efa1 is described below

commit b24efa11ea2b3ecbae6578058aea89b6823d18d8
Author: Giovanni Matteo Fumarola <gif...@apache.org>
AuthorDate: Fri Jun 14 13:37:23 2019 -0700

    HDFS-14549. EditLogTailer shouldn't output full stack trace when 
interrupted. Contributed by Inigo Goiri.
---
 .../java/org/apache/hadoop/hdfs/server/namenode/ha/EditLogTailer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/EditLogTailer.java
 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/EditLogTailer.java
index 9d0602e..11e05a2 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/EditLogTailer.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/EditLogTailer.java
@@ -483,7 +483,7 @@ public class EditLogTailer {
         try {
           Thread.sleep(sleepTimeMs);
         } catch (InterruptedException e) {
-          LOG.warn("Edit log tailer interrupted", e);
+          LOG.warn("Edit log tailer interrupted: {}", e.getMessage());
         }
       }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to