[
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-v4.patch
Resubmitting since I see the previous patch was applied to master and retracted
by [~stack]. I guess the next version needs to be checked by HadoopQA :)
> 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-v1.patch, HBASE-12740-v2.patch,
> HBASE-12740-v3.patch, HBASE-12740-v4.patch, HBASE-12740-v4.patch,
> HBASE-12740.patch, PROFILE_after_patch.png,
> PROFILE_before_patch_test_fails.png
>
>
> 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)