[jira] [Updated] (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:all-tabpanel ] Arpit Agarwal updated HDFS-11891: - Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 2.8.2 3.0.0-alpha4 2.9.0 Status: Resolved (was: Patch Available) Committed for 2.8.0. Thank you for reporting and fixing this [~vagarychen]. Thanks for the code review [~jojochuang]. > 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 (v6.3.15#6346) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (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:all-tabpanel ] Chen Liang updated HDFS-11891: -- Attachment: HDFS-11891.001.patch > 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 > 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 (v6.3.15#6346) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (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:all-tabpanel ] Chen Liang updated HDFS-11891: -- Status: Patch Available (was: Open) > 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 > 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 (v6.3.15#6346) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org