HDFS-13133. Ozone: OzoneFileSystem: Calling delete with non-existing path shouldn't be logged on ERROR level. Contributed by Elek, Marton.
This commit is contained in:
parent
9272e1021d
commit
cd807c9890
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue