Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 42368 invoked from network); 23 Mar 2011 19:23:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2011 19:23:45 -0000 Received: (qmail 71019 invoked by uid 500); 23 Mar 2011 18:23:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71001 invoked by uid 500); 23 Mar 2011 18:23:45 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 70993 invoked by uid 99); 23 Mar 2011 18:23:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 18:23:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 18:23:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B6E074A0B7 for ; Wed, 23 Mar 2011 18:23:05 +0000 (UTC) Date: Wed, 23 Mar 2011 18:23:05 +0000 (UTC) From: "Erik Onnen (JIRA)" To: issues@hbase.apache.org Message-ID: <1420123325.6752.1300904585745.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2083116216.6564.1300900685967.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-3692) Handle RejectedExecutionException in HTable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010277#comment-13010277 ] Erik Onnen commented on HBASE-3692: ----------------------------------- Not sure that would be always correct. The pool has a finite number of tasks it can accept and if the back end servers are overloaded it's possible that you falsely blame incorrect code when in reality you're overwhelming the region servers. > 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 > Fix For: 0.92.0 > > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira