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

Jurriaan Mous updated HBASE-12740:
----------------------------------
    Attachment: HBASE-12740.patch

- Introduce some threads limits.
- Let Tables and HbaseFsck reuse same thread pools and shut them down after use.
- recycle connection
- Create Tables through the connection
- close tables
- close admins

It now can run on my machine.

> Improve performance of TestHBaseFsck
> ------------------------------------
>
>                 Key: HBASE-12740
>                 URL: https://issues.apache.org/jira/browse/HBASE-12740
>             Project: HBase
>          Issue Type: Bug
>          Components: util
>            Reporter: Jurriaan Mous
>            Assignee: Jurriaan Mous
>         Attachments: HBASE-12740.patch
>
>
> TestHBaseFsck performs poor on my machine. It crashes because the threads 
> reach the 2000 thread limit on my machine. Looking at the code a lot of 
> optimization is possible and some API calls are used wrong. A lot of Admin 
> instances are created and never closed, lots of Tables are not closed, 
> ThreadPoolExecutors are not shut down and an unlimited thread pool which does 
> not recycle threads.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to