Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 36002 invoked from network); 21 Feb 2011 20:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Feb 2011 20:23:00 -0000 Received: (qmail 23637 invoked by uid 500); 21 Feb 2011 20:23:00 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 23385 invoked by uid 500); 21 Feb 2011 20:22:59 -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 23376 invoked by uid 99); 21 Feb 2011 20:22:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 20:22:59 +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; Mon, 21 Feb 2011 20:22:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BB9B11B0E3A for ; Mon, 21 Feb 2011 20:22:38 +0000 (UTC) Date: Mon, 21 Feb 2011 20:22:38 +0000 (UTC) From: "Ed Kohlwey (JIRA)" To: issues@hbase.apache.org Message-ID: <252251118.6573.1298319758764.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (HBASE-3552) Coprocessors Are Unable To Load If RegionServer is Launched Using a Different Classloader than System Default MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Coprocessors Are Unable To Load If RegionServer is Launched Using a Different Classloader than System Default ------------------------------------------------------------------------------------------------------------- Key: HBASE-3552 URL: https://issues.apache.org/jira/browse/HBASE-3552 Project: HBase Issue Type: Bug Components: coprocessors, regionserver Affects Versions: 0.92.0 Environment: Ubuntu 10.10 x86_32 Reporter: Ed Kohlwey If a region server is launched in a context such that its classloader is different from the system class loader, then the Class object used to represent the Coprocessor interface of the coprocessor will be different than the Coprocessor Class object that is used by RegionCoprocessorHost.loadSystemCoprocessors() . There's a few options that come to mind to fix this problem: 1. Remove the logic where loadSystemCoprocessors changes the context's ClassLoader back to the system default classloader. 2. Remove the cast to Coprocessor in CoprocessorHost.load() and invoke methods via reflection. 3. Set the class loader back to the system default before launching any daemon threads. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira