HDFS-14549. EditLogTailer shouldn't output full stack trace when interrupted. Contributed by Inigo Goiri.

This commit is contained in:
Giovanni Matteo Fumarola 2019-06-14 13:37:23 -07:00
parent cdc5de6448
commit b24efa11ea

View File

@ -483,7 +483,7 @@ private void doWork() {
try {
Thread.sleep(sleepTimeMs);
} catch (InterruptedException e) {
LOG.warn("Edit log tailer interrupted", e);
LOG.warn("Edit log tailer interrupted: {}", e.getMessage());
}
}
}