You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Manoj Govindassamy (JIRA)" <ji...@apache.org> on 2016/09/20 18:30:20 UTC
[jira] [Updated] (HDFS-10876) Dispatcher#dispatch should log
IOException stacktrace
[ https://issues.apache.org/jira/browse/HDFS-10876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manoj Govindassamy updated HDFS-10876:
--------------------------------------
Attachment: HDFS-10876.001.patch
Attached v01 patch to log the exception stacktrace in Dispatcher#dispatch.
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org