HBASE-6356 printStackTrace in FSUtils (Gustavo Anatoly)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1408851 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
nkeywal 2012-11-13 17:35:31 +00:00
parent 4416b25b1e
commit 2f42b768a3
1 changed files with 2 additions and 1 deletions

View File

@ -942,7 +942,8 @@ public abstract class FSUtils {
isValid = this.fs.getFileStatus(p).isDir();
}
} catch (IOException e) {
e.printStackTrace();
LOG.warn("An error occurred while verifying if [" + p.toString() +
"] is a valid directory. Returning 'not valid' and continuing.", e);
}
return isValid;
}