hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r891383 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
Date Wed, 16 Dec 2009 19:05:57 GMT
Author: jdcryans
Date: Wed Dec 16 19:05:56 2009
New Revision: 891383

URL: http://svn.apache.org/viewvc?rev=891383&view=rev
Log:
HBASE-2041 Change WAL default configuration values
           Timeout the interrupt

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java?rev=891383&r1=891382&r2=891383&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java Wed Dec
16 19:05:56 2009
@@ -582,7 +582,7 @@
     try {
       logSyncerThread.interrupt();
       // Make sure we synced everything
-      logSyncerThread.join();
+      logSyncerThread.join(this.optionalFlushInterval*2);
     } catch (InterruptedException e) {
       LOG.error("Exception while waiting for syncer thread to die", e);
     }



Mime
View raw message