[ https://issues.apache.org/jira/browse/PHOENIX-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149870#comment-16149870 ]
Samarth Jain commented on PHOENIX-4147: --------------------------------------- Thanks James! Will wait for a qa run before I commit this one. > Reduce the number of threads for index writer in tests > ------------------------------------------------------ > > Key: PHOENIX-4147 > URL: https://issues.apache.org/jira/browse/PHOENIX-4147 > Project: Phoenix > Issue Type: Bug > Reporter: Samarth Jain > Assignee: Samarth Jain > Attachments: PHOENIX-4147.patch > > > In tests, we create lots of tables and hence lots of regions. For every such > region, the indexer co-processor is installed. For every such co-processor > instance, we have a writer pool whose default size is 10. Although we have a > keep alive policy on the thread pool, still we can have more than a 100 index > writer threads active at a time doing nothing. We should just dial that > number down to 1 for our tests. -- This message was sent by Atlassian JIRA (v6.4.14#64029)