You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2012/12/07 23:45:22 UTC

[jira] [Updated] (HBASE-7300) HbckTestingUtil needs to keep a static executor to lower the number of threads used

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

Jean-Daniel Cryans updated HBASE-7300:
--------------------------------------

    Attachment: HBASE-7300.patch

Yeah sorry I was gone doing something else. Here's the patch that, for me, makes the difference between a green TestHBaseFsck and a red one.
                
> HbckTestingUtil needs to keep a static executor to lower the number of threads used
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-7300
>                 URL: https://issues.apache.org/jira/browse/HBASE-7300
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>             Fix For: 0.96.0
>
>         Attachments: HBASE-7300.patch
>
>
> I can't run TestHBaseFsck on my machine without running out of threads, that's because each new HBaseFsck creates 50 threads. It has a constructor that takes an executor and HbckTestingUtil could keep a static one to pass in. I was able to cut thousands of threads with this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira