hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r903547 - in /hadoop/hdfs/trunk: CHANGES.txt src/java/org/apache/hadoop/hdfs/server/common/Storage.java
Date Wed, 27 Jan 2010 05:58:55 GMT
Author: tomwhite
Date: Wed Jan 27 05:58:50 2010
New Revision: 903547

URL: http://svn.apache.org/viewvc?rev=903547&view=rev
Log:
HDFS-844. Log the filename when file locking fails.

Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/common/Storage.java

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=903547&r1=903546&r2=903547&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Wed Jan 27 05:58:50 2010
@@ -46,6 +46,8 @@
      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

Modified: hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/common/Storage.java
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/common/Storage.java?rev=903547&r1=903546&r2=903547&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/common/Storage.java (original)
+++ hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/server/common/Storage.java Wed Jan 27
05:58:50 2010
@@ -543,7 +543,7 @@
         file.close();
         return null;
       } catch(IOException e) {
-        LOG.info(StringUtils.stringifyException(e));
+        LOG.error("Cannot create lock on " + lockF, e);
         file.close();
         throw e;
       }



Mime
View raw message