HBASE-4745 LRU statistics thread should be a daemon
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1197864 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
56e19a72dc
commit
c775d60de6
|
@ -450,6 +450,7 @@ Release 0.92.0 - Unreleased
|
||||||
(Roman Shposhnik)
|
(Roman Shposhnik)
|
||||||
HBASE-4553 The update of .tableinfo is not atomic; we remove then rename
|
HBASE-4553 The update of .tableinfo is not atomic; we remove then rename
|
||||||
HBASE-4725 NPE in AM#updateTimers
|
HBASE-4725 NPE in AM#updateTimers
|
||||||
|
HBASE-4745 LRU statistics thread should be a daemon
|
||||||
|
|
||||||
TESTS
|
TESTS
|
||||||
HBASE-4450 test for number of blocks read: to serve as baseline for expected
|
HBASE-4450 test for number of blocks read: to serve as baseline for expected
|
||||||
|
|
|
@ -127,6 +127,7 @@ public class LruBlockCache implements BlockCache, HeapSize {
|
||||||
Executors.newScheduledThreadPool(1,
|
Executors.newScheduledThreadPool(1,
|
||||||
new ThreadFactoryBuilder()
|
new ThreadFactoryBuilder()
|
||||||
.setNameFormat("LRU Statistics #%d")
|
.setNameFormat("LRU Statistics #%d")
|
||||||
|
.setDaemon(true)
|
||||||
.build());
|
.build());
|
||||||
|
|
||||||
/** Current size of cache */
|
/** Current size of cache */
|
||||||
|
|
Loading…
Reference in New Issue