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:
Mukul Kumar Singh 2018-02-12 14:00:53 +05:30 committed by Owen O'Malley
parent 9272e1021d
commit cd807c9890
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ public class OzoneFileSystem extends FileSystem {
DeleteIterator iterator = new DeleteIterator(f, recursive); DeleteIterator iterator = new DeleteIterator(f, recursive);
return iterator.iterate(); return iterator.iterate();
} catch (FileNotFoundException e) { } catch (FileNotFoundException e) {
LOG.error("Couldn't delete {} - does not exist", f); LOG.debug("Couldn't delete {} - does not exist", f);
return false; return false;
} }
} }