[ https://issues.apache.org/jira/browse/HDFS-10876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507436#comment-15507436 ]
Mingliang Liu commented on HDFS-10876: -------------------------------------- I'm also thinking of logging the exception stack trace in INFO or DEBUG level. > Dispatcher#dispatch should log IOException stacktrace > ----------------------------------------------------- > > Key: HDFS-10876 > URL: https://issues.apache.org/jira/browse/HDFS-10876 > Project: Hadoop HDFS > Issue Type: Improvement > Components: balancer & mover > Affects Versions: 2.6.0 > Reporter: Wei-Chiu Chuang > Assignee: Manoj Govindassamy > Priority: Trivial > Labels: newbie > Attachments: HDFS-10876.001.patch > > > This error logging should be improved. A warning log should record the > stacktrace as well. > {code:title=Dispatcher#dispatch} > try { > ... > } catch (IOException e) { > LOG.warn("Failed to move " + this + ": " + e.getMessage()); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org