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 "Hudson (JIRA)" <ji...@apache.org> on 2018/04/24 20:52:05 UTC

[jira] [Commented] (HDFS-11891) DU#refresh should print the path of the directory when an exception is caught

    [ https://issues.apache.org/jira/browse/HDFS-11891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450797#comment-16450797 ] 

Hudson commented on HDFS-11891:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-11891. DU#refresh should print the path of the directory when an (xyao: rev 06c6c07be12349d06dc48baa486745c36b4de09e)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DU.java


> DU#refresh should print the path of the directory when an exception is caught
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-11891
>                 URL: https://issues.apache.org/jira/browse/HDFS-11891
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>            Priority: Minor
>             Fix For: 2.9.0, 3.0.0-alpha4, 2.8.2
>
>         Attachments: HDFS-11891.001.patch
>
>
> the refresh() method DU is as follows, 
> {code}
>   @Override
>   protected synchronized void refresh() {
>     try {
>       duShell.startRefresh();
>     } catch (IOException ioe) {
>       LOG.warn("Could not get disk usage information", ioe);
>     }
>   }
> {code}
> the log warning message should also be printing out the directory that failed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org