phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Jain (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4147) Reduce the number of threads for index writer in tests
Date Fri, 01 Sep 2017 00:21:03 GMT

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

Mime
View raw message