hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [2/3] hadoop git commit: HDFS-11891. DU#refresh should print the path of the directory when an exception is caught. Contributed by Chen Liang.
Date Fri, 26 May 2017 23:19:18 GMT
HDFS-11891. DU#refresh should print the path of the directory when an exception is caught.
Contributed by Chen Liang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f2003994
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f2003994
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f2003994

Branch: refs/heads/branch-2
Commit: f20039949628e561a3c705afe10c127c84c0eccb
Parents: e336d92
Author: Arpit Agarwal <arp@apache.org>
Authored: Fri May 26 16:02:40 2017 -0700
Committer: Arpit Agarwal <arp@apache.org>
Committed: Fri May 26 16:02:53 2017 -0700

----------------------------------------------------------------------
 .../hadoop-common/src/main/java/org/apache/hadoop/fs/DU.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f2003994/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DU.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DU.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DU.java
index b64a19d..6e374c9 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DU.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/DU.java
@@ -52,7 +52,8 @@ public class DU extends CachingGetSpaceUsed {
     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);
     }
   }
 


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


Mime
View raw message