Skip to content

Commit b24efa1

Browse files
author
Giovanni Matteo Fumarola
committed
HDFS-14549. EditLogTailer shouldn't output full stack trace when interrupted. Contributed by Inigo Goiri.
1 parent cdc5de6 commit b24efa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/EditLogTailer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ private void doWork() {
483483
try {
484484
Thread.sleep(sleepTimeMs);
485485
} catch (InterruptedException e) {
486-
LOG.warn("Edit log tailer interrupted", e);
486+
LOG.warn("Edit log tailer interrupted: {}", e.getMessage());
487487
}
488488
}
489489
}

0 commit comments

Comments
 (0)