HDFS-11891. DU#refresh should print the path of the directory when an exception is caught. Contributed by Chen Liang.
This commit is contained in:
parent
2cd612ba8e
commit
bd6a2172e0
@ -52,7 +52,8 @@ protected synchronized void refresh() {
|
||||
try {
|
||||
duShell.startRefresh();
|
||||
} catch (IOException ioe) {
|
||||
LOG.warn("Could not get disk usage information", ioe);
|
||||
LOG.warn("Could not get disk usage information for path {}",
|
||||
getDirPath(), ioe);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user