You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2013/02/27 18:53:47 UTC
svn commit: r1450883 -
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java
Author: tedyu
Date: Wed Feb 27 17:53:46 2013
New Revision: 1450883
URL: http://svn.apache.org/r1450883
Log:
HBASE-7878 add debug log for recoverLease timeout
Modified:
hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java
Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java?rev=1450883&r1=1450882&r2=1450883&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java (original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java Wed Feb 27 17:53:46 2013
@@ -103,6 +103,7 @@ public class FSHDFSUtils extends FSUtils
}
if (ex != null || System.currentTimeMillis() - startWaiting > recoveryTimeout) {
ex = null; // assume the following append() call would succeed
+ LOG.debug("recoverLease times out after " + recoveryTimeout + " ms. Calling append");
FSDataOutputStream out = fs.append(p);
out.close();
recovered = true;