-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0.0-alpha-1, 2.2.0, 2.1.3, 2.0.5, 2.3.0
-
Component/s: Compaction, in-memory-compaction
-
Labels:
-
Hadoop Flags:Reviewed
-
Release Note:
In RegionServicesForStores, we can see :
private static final int POOL_SIZE = 10; private static final ThreadPoolExecutor INMEMORY_COMPACTION_POOL = new ThreadPoolExecutor(POOL_SIZE, POOL_SIZE, 60, TimeUnit.SECONDS, new LinkedBlockingQueue<>(), new ThreadFactory() { @Override public Thread newThread(Runnable r) { String name = Thread.currentThread().getName() + "-inmemoryCompactions-" + System.currentTimeMillis(); return new Thread(r, name); } });
The pool size should be configurable, because if many regions on a rs, the default 10 threads will be not enough.
- breaks
-
HBASE-21840 TestHRegionWithInMemoryFlush fails with NPE
-
- Resolved
-
- links to