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 1479E10189 for ; Sat, 4 Jan 2014 03:25:04 +0000 (UTC) Received: (qmail 51920 invoked by uid 500); 4 Jan 2014 03:24:55 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51892 invoked by uid 500); 4 Jan 2014 03:24:53 -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 51870 invoked by uid 99); 4 Jan 2014 03:24:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jan 2014 03:24:50 +0000 Date: Sat, 4 Jan 2014 03:24:50 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9941) The context ClassLoader isn't set while calling into a coprocessor 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-9941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862183#comment-13862183 ] Andrew Purtell commented on HBASE-9941: --------------------------------------- I can see caliper at test scope in the classpath when I run 'mvn dependency:build-classpath' on the command line but it is not showing up in the generated file, which appears to be generated by running the exact same plugin and goal. Beats me. Maven "documentation" offers no clue. If I leave it at test scope the microbenchmark will compile but cannot be run from in tree or an untarred assembly. > The context ClassLoader isn't set while calling into a coprocessor > ------------------------------------------------------------------ > > Key: HBASE-9941 > URL: https://issues.apache.org/jira/browse/HBASE-9941 > Project: HBase > Issue Type: Sub-task > Components: Coprocessors > Affects Versions: 0.96.0 > Reporter: Benoit Sigoure > Assignee: Andrew Purtell > Fix For: 0.98.0 > > Attachments: 9941.patch, 9941.patch, 9941.patch, 9941.patch > > > Whenever one of the methods of a coprocessor is invoked, the context {{ClassLoader}} isn't set to be the {{CoprocessorClassLoader}}. It's only set properly when calling the coprocessor's {{start}} method. This means that if the coprocessor code attempts to load classes using the context {{ClassLoader}}, it will fail to find the classes it's looking for. -- This message was sent by Atlassian JIRA (v6.1.5#6160)