You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chen Liang (JIRA)" <ji...@apache.org> on 2017/05/26 18:45:04 UTC

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

Chen Liang created HDFS-11891:
---------------------------------

             Summary: 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


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
(v6.3.15#6346)

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