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:
parent
1858f17716
commit
1f9fd80ae6
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue