hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msi...@apache.org
Subject hadoop git commit: HDFS-13133. Ozone: OzoneFileSystem: Calling delete with non-existing path shouldn't be logged on ERROR level. Contributed by Elek, Marton.
Date Mon, 12 Feb 2018 08:32:01 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 8bbc28a97 -> f3d07efac


HDFS-13133. Ozone: OzoneFileSystem: Calling delete with non-existing path shouldn't be logged
on ERROR level. Contributed by Elek, Marton.


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

Branch: refs/heads/HDFS-7240
Commit: f3d07efac1a7007ed0493486a6aff26cbaa09b22
Parents: 8bbc28a
Author: Mukul Kumar Singh <msingh@apache.org>
Authored: Mon Feb 12 14:00:53 2018 +0530
Committer: Mukul Kumar Singh <msingh@apache.org>
Committed: Mon Feb 12 14:00:53 2018 +0530

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f3d07efa/hadoop-tools/hadoop-ozone/src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-ozone/src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java
b/hadoop-tools/hadoop-ozone/src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java
index 485f2c0..34d6d3a 100644
--- a/hadoop-tools/hadoop-ozone/src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java
+++ b/hadoop-tools/hadoop-ozone/src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java
@@ -410,7 +410,7 @@ public class OzoneFileSystem extends FileSystem {
       DeleteIterator iterator = new DeleteIterator(f, recursive);
       return iterator.iterate();
     } catch (FileNotFoundException e) {
-      LOG.error("Couldn't delete {} - does not exist", f);
+      LOG.debug("Couldn't delete {} - does not exist", f);
       return false;
     }
   }


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