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 2013/07/18 22:26:48 UTC

[jira] [Resolved] (HBASE-8988) Reuse the thread pool in the shell to not run out of threads

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

Jean-Daniel Cryans resolved HBASE-8988.
---------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

Committed to trunk and branch, thanks for the reviews guys.
                
> Reuse the thread pool in the shell to not run out of threads
> ------------------------------------------------------------
>
>                 Key: HBASE-8988
>                 URL: https://issues.apache.org/jira/browse/HBASE-8988
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: HBASE-8988.patch
>
>
> I was trying some stuff in the shell and tried just to get a few puts in a loop to a table. I quickly ran out of threads (java.lang.OutOfMemoryError: unable to create new native thread).
> It seems we create a new HTable per get/put/etc call. We could just reuse one thread pool instead.

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