[
https://issues.apache.org/jira/browse/HBASE-3692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232995#comment-13232995
]
Jean-Daniel Cryans commented on HBASE-3692:
-------------------------------------------
Chinmay,
Could it be that you are re-inserting closed HTables in that pool? At this
point no one has been able to provide code here that we could test that shows a
bug. As far as I can tell there's no bug just API misusage (and poor error
reporting on HBase's end).
> Handle RejectedExecutionException in HTable
> -------------------------------------------
>
> Key: HBASE-3692
> URL: https://issues.apache.org/jira/browse/HBASE-3692
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 0.90.1
> Reporter: Jean-Daniel Cryans
> Attachments: test_datanucleus.zip
>
>
> A user on IRC yesterday had an issue with RejectedExecutionException coming
> out of HTable sometimes. Apart from being very confusing to the user as it
> comes with no message at all, it exposes the HTable internals.
> I think we should handle it and instead throw something like
> DontUseHTableInMultipleThreadsException or something more clever. In his
> case, the user had a HTable leak with the pool that he was able to figure out
> once I told him what to look for.
> It could be an unchecked exception and we could consider adding in 0.90 but
> marking for 0.92 at the moment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira