You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Keith Turner (Created) (JIRA)" <ji...@apache.org> on 2011/11/02 15:51:32 UTC
[jira] [Created] (ACCUMULO-110) Scanner creates threads too
frequently
Scanner creates threads too frequently
--------------------------------------
Key: ACCUMULO-110
URL: https://issues.apache.org/jira/browse/ACCUMULO-110
Project: Accumulo
Issue Type: Bug
Components: client
Reporter: Keith Turner
Assignee: Keith Turner
Fix For: 1.4.0
After the scanner has read a few batches of data from the tablet server it starts creating read ahead threads to read batches. A thread is created per batch. After a thread reads a batch it exits. A thread pool was not used because the scanner does not have a close method. A user suggested using a static thread pool, see the following email chain.
http://mail-archives.apache.org/mod_mbox/incubator-accumulo-dev/201111.mbox/%3C4EB04FE3.5020005@digitalreasoning.com%3E
This static pool should be unbounded, time out threads, use a Synchronous Queue, and create daemon threads.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (ACCUMULO-110) Scanner creates threads too
frequently
Posted by "Keith Turner (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Turner resolved ACCUMULO-110.
-----------------------------------
Resolution: Fixed
> Scanner creates threads too frequently
> --------------------------------------
>
> Key: ACCUMULO-110
> URL: https://issues.apache.org/jira/browse/ACCUMULO-110
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Reporter: Keith Turner
> Assignee: Keith Turner
> Fix For: 1.4.0
>
>
> After the scanner has read a few batches of data from the tablet server it starts creating read ahead threads to read batches. A thread is created per batch. After a thread reads a batch it exits. A thread pool was not used because the scanner does not have a close method. A user suggested using a static thread pool, see the following email chain.
> http://mail-archives.apache.org/mod_mbox/incubator-accumulo-dev/201111.mbox/%3C4EB04FE3.5020005@digitalreasoning.com%3E
> This static pool should be unbounded, time out threads, use a Synchronous Queue, and create daemon threads.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira