HBASE-2041 Change WAL default configuration values

Timeout the interrupt


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@891383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2009-12-16 19:05:56 +00:00
parent 1858f17716
commit 1f9fd80ae6
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ public class HLog implements HConstants, Syncable {
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);
}