You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2017/09/01 00:21:03 UTC

[jira] [Updated] (PHOENIX-4147) Reduce the number of threads for index writer in tests

     [ https://issues.apache.org/jira/browse/PHOENIX-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samarth Jain updated PHOENIX-4147:
----------------------------------
    Attachment: PHOENIX-4147.patch

[~jamestaylor], please review.

> 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)