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:
parent
4416b25b1e
commit
2f42b768a3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue