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 "Lei (Eddy) Xu (JIRA)" <ji...@apache.org> on 2014/11/21 02:51:33 UTC

[jira] [Updated] (HDFS-7419) Improve error messages for DataNode hot swap drive feature

     [ https://issues.apache.org/jira/browse/HDFS-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lei (Eddy) Xu updated HDFS-7419:
--------------------------------
    Attachment: HDFS-7419.000.patch

This patch changes the log messages:

* Only reports "Storage directory is loaded" when successfully add a volume.
* Log the detail failure messages if a volume is failed to add.

> Improve error messages for DataNode hot swap drive feature
> ----------------------------------------------------------
>
>                 Key: HDFS-7419
>                 URL: https://issues.apache.org/jira/browse/HDFS-7419
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.5.1
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-7419.000.patch
>
>
> When DataNode fails to add a volume, it adds one failure message to {{errorMessageBuilder}} in {{DataNode#refreshVolumes}}. However, the detailed error messages are not logged in DataNode's log and they are emitted from clients. 
> This JIRA makes {{DataNode}} reports detailed failure in its log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)