git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@903547 13f79535-47bb-0310-9956-ffa450edef68
@@ -46,6 +46,8 @@ Trunk (unreleased changes)
and corresponding changes in Namenode and DFS Api to issue,
renew and cancel delegation tokens. (jnp via boryas)
+ HDFS-844. Log the filename when file locking fails. (tomwhite)
+
OPTIMIZATIONS
BUG FIXES
@@ -543,7 +543,7 @@ public abstract class Storage extends StorageInfo {
file.close();
return null;
} catch(IOException e) {
- LOG.info(StringUtils.stringifyException(e));
+ LOG.error("Cannot create lock on " + lockF, e);
throw e;
}