Browse Source

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

Mukul Kumar Singh 7 years ago
parent
commit
f3d07efac1

+ 1 - 1
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;
     }
   }