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:
mbertozzi 2013-01-29 03:09:35 +00:00
parent c2272d7f22
commit 1d330c9478
1 changed files with 2 additions and 2 deletions

View File

@ -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;