hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8988) Reuse the thread pool in the shell to not run out of threads
Date Thu, 18 Jul 2013 21:20:49 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712871#comment-13712871
] 

Jean-Daniel Cryans commented on HBASE-8988:
-------------------------------------------

Thanks Lars, I wasn't sure if this was "broken" in 0.94 so that's why I didn't bother... but
I just tested it and I was wrong! So thanks again.
                
> 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, 0.94.10
>
>         Attachments: 8988-0.94.txt, 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

Mime
View raw message