HBASE-7699 Replace LOG.info() with LOG.debug() in FSUtils.listStatus()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1439736 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c2272d7f22
commit
1d330c9478
|
@ -231,7 +231,7 @@ public abstract class FSUtils {
|
||||||
try {
|
try {
|
||||||
fs.close();
|
fs.close();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.error("file system close failed: ", e);
|
LOG.error("file system close failed: ", e);
|
||||||
}
|
}
|
||||||
IOException io = new IOException("File system is not available");
|
IOException io = new IOException("File system is not available");
|
||||||
io.initCause(exception);
|
io.initCause(exception);
|
||||||
|
@ -1241,7 +1241,7 @@ public abstract class FSUtils {
|
||||||
status = filter == null ? fs.listStatus(dir) : fs.listStatus(dir, filter);
|
status = filter == null ? fs.listStatus(dir) : fs.listStatus(dir, filter);
|
||||||
} catch (FileNotFoundException fnfe) {
|
} catch (FileNotFoundException fnfe) {
|
||||||
// if directory doesn't exist, return null
|
// if directory doesn't exist, return null
|
||||||
LOG.info(dir + " doesn't exist");
|
LOG.debug(dir + " doesn't exist");
|
||||||
}
|
}
|
||||||
if (status == null || status.length < 1) return null;
|
if (status == null || status.length < 1) return null;
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in New Issue