Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
-
Description
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.
Attachments
Attachments
Issue Links
- breaks
-
HBASE-21840 TestHRegionWithInMemoryFlush fails with NPE
- Resolved
- links to