Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A81D10507 for ; Wed, 11 Dec 2013 02:18:10 +0000 (UTC) Received: (qmail 34756 invoked by uid 500); 11 Dec 2013 02:18:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 34722 invoked by uid 500); 11 Dec 2013 02:18:09 -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 34708 invoked by uid 99); 11 Dec 2013 02:18:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 02:18:09 +0000 Date: Wed, 11 Dec 2013 02:18:09 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10119) Allow HBase coprocessors to clean up when they fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13844990#comment-13844990 ] Hudson commented on HBASE-10119: -------------------------------- SUCCESS: Integrated in hbase-0.96 #221 (See [https://builds.apache.org/job/hbase-0.96/221/]) HBASE-10119. Allow HBase coprocessors to clean up when they fail (Benoit Sigoure) (apurtell: rev 1549976) * /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java > Allow HBase coprocessors to clean up when they fail > --------------------------------------------------- > > Key: HBASE-10119 > URL: https://issues.apache.org/jira/browse/HBASE-10119 > Project: HBase > Issue Type: New Feature > Affects Versions: 0.96.0 > Reporter: Benoit Sigoure > Assignee: Benoit Sigoure > Fix For: 0.98.0, 0.96.1, 0.99.0 > > Attachments: HBASE-10119-0.94.patch, HBASE-10119.patch > > > In the thread [Giving a chance to buggy coprocessors to clean up|http://osdir.com/ml/general/2013-12/msg17334.html] I brought up the issue that coprocessors currently don't have a chance to release their own resources (be they internal resources within the JVM, or external resources elsewhere) when they get forcefully removed due to an uncaught exception escaping. > It would be nice to fix that, either by adding an API called by the {{CoprocessorHost}} when killing a faulty coprocessor, or by guaranteeing that the coprocessor's {{stop()}} method will be invoked then. > This feature request is actually pretty important due to bug HBASE-9046, which means that it's not possible to properly clean up a coprocessor without restarting the RegionServer (!!). -- This message was sent by Atlassian JIRA (v6.1.4#6159)