Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 415E17789 for ; Wed, 23 Nov 2011 06:46:26 +0000 (UTC) Received: (qmail 49829 invoked by uid 500); 23 Nov 2011 06:46:25 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 49429 invoked by uid 500); 23 Nov 2011 06:46:24 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 49153 invoked by uid 500); 23 Nov 2011 06:46:18 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 48718 invoked by uid 99); 23 Nov 2011 06:46:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 06:46:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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 Nov 2011 06:46:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1881F99656 for ; Wed, 23 Nov 2011 06:45:40 +0000 (UTC) Date: Wed, 23 Nov 2011 06:45:40 +0000 (UTC) From: "Dmitriy V. Ryaboy (Updated) (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <1518133950.5321.1322030740101.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1898073339.5314.1322030560130.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (PIG-2384) Generic Invokers should use PigContext to resolve classes 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/PIG-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitriy V. Ryaboy updated PIG-2384: ----------------------------------- Attachment: PIG-2384.patch Attaching patch that reportedly fixes the issue. It's fairly trivial, and I don't think the cost of setting up the multiple-classloaders test case is worth the time.. will commit in a few days if no objections are raised. > Generic Invokers should use PigContext to resolve classes > --------------------------------------------------------- > > Key: PIG-2384 > URL: https://issues.apache.org/jira/browse/PIG-2384 > Project: Pig > Issue Type: Bug > Reporter: Dmitriy V. Ryaboy > Assignee: Dmitriy V. Ryaboy > Attachments: PIG-2384.patch > > > Some users report having to put their jars on Pig's classpath in addition to "register"ing them in order to get Generic Invokers to pick up their classes. This is due to us using Class.forName instead of relying on PigContext's resolveClassName (which handles all the dynamically registered classes). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira