HDFS-10876. Dispatcher#dispatch should log IOException stacktrace. Contributed by Manoj Govindassamy.

(cherry picked from commit 74b3dd514c)
This commit is contained in:
Wei-Chiu Chuang 2016-09-23 13:26:57 -07:00
parent 9dec68c269
commit 6c98455728
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ public class Dispatcher {
target.getDDatanode().setHasSuccess();
LOG.info("Successfully moved " + this);
} catch (IOException e) {
LOG.warn("Failed to move " + this + ": " + e.getMessage());
LOG.warn("Failed to move " + this, e);
target.getDDatanode().setHasFailure();
// Proxy or target may have some issues, delay before using these nodes
// further in order to avoid a potential storm of "threads quota