HBASE-8712 HFileLinkCleaner (FSUtils.listStatus) logs too much if
links do not exists (Matteo via JD) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1490871 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6607d02230
commit
f8a2ae4199
|
@ -1530,7 +1530,9 @@ public abstract class FSUtils {
|
|||
status = filter == null ? fs.listStatus(dir) : fs.listStatus(dir, filter);
|
||||
} catch (FileNotFoundException fnfe) {
|
||||
// if directory doesn't exist, return null
|
||||
LOG.debug(dir + " doesn't exist");
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.trace(dir + " doesn't exist");
|
||||
}
|
||||
}
|
||||
if (status == null || status.length < 1) return null;
|
||||
return status;
|
||||
|
|
Loading…
Reference in New Issue