Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 608B010B68 for ; Tue, 10 Dec 2013 05:51:29 +0000 (UTC) Received: (qmail 51777 invoked by uid 500); 10 Dec 2013 05:48:03 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 51525 invoked by uid 500); 10 Dec 2013 05:47:52 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 51258 invoked by uid 99); 10 Dec 2013 05:47:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 05:47:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tsunanet@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 05:47:01 +0000 Received: by mail-ob0-f173.google.com with SMTP id gq1so4817160obb.4 for ; Mon, 09 Dec 2013 21:46:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=jiudZZ2nyImOZ9hfPkpiqzGGp9ylPQ4MwO4yyK3P6jg=; b=LzCq/G6DRBMsvl7qpYa6ti8oznAlnAIIhsM17Q31BD04j0i2rEKO8W9DawoTShsJYd Wfcr3qlh+4nU/jFwh5q1hhkFRNgks9deGtXxIb+hnnty8ZqzDcR9k8j1qpuntehv2W8n /z/xHJQpcUJsuVVPnmTIMhN97hBna3fBv0WTB4MKwkTN2DQdZibEQ6HFdGPdZYTQkaEt jrRKp2ZdmcAchk2dNUBOMNfW4L87EiMDe8lDQa/yMPhVxjcltt9m7sElLuLK3ACaGh/v HNCKjZOASz+DEhNcp34EQxNu0uOcCq7r20lhm9mGV0f3FwlPRMFzXUskQsCsI+AnLUJl MX6A== X-Received: by 10.182.243.138 with SMTP id wy10mr65345obc.83.1386654400537; Mon, 09 Dec 2013 21:46:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.16.133 with HTTP; Mon, 9 Dec 2013 21:46:16 -0800 (PST) From: tsuna Date: Mon, 9 Dec 2013 21:46:16 -0800 Message-ID: Subject: Giving a chance to buggy coprocessors to clean up To: HBase users Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi there, If a coprocessor is buggy and throws an uncaught exception, it gets removed without having its stop() method called, and it therefore can't free up resources. Any resources that are held by global variables (e.g. statics on a class loaded by the coprocessor) can't be freed because of bug HBASE-9046 (Coprocessors can't be upgraded in service reliably). And the coprocessor can't be removed because of HBASE-9046. Therefore there is no way that I can see to release those resources, short of restarting the RegionServer (yikes!). Is there any rationale behind not calling stop() when forcefully removing the buggy coprocessor? Or should we maybe add some sort of a cleanUp() method to give a chance to the coprocessor to save face and die gracefully? -- Benoit "tsuna" Sigoure