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 20:48:50 UTC

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

Jean-Daniel Cryans created HBASE-8988:
-----------------------------------------

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


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