Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 152709D52 for ; Thu, 10 Nov 2011 22:28:15 +0000 (UTC) Received: (qmail 4249 invoked by uid 500); 10 Nov 2011 22:28:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 4226 invoked by uid 500); 10 Nov 2011 22:28:14 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 4218 invoked by uid 500); 10 Nov 2011 22:28:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 4214 invoked by uid 99); 10 Nov 2011 22:28:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 22:28:14 +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; Thu, 10 Nov 2011 22:28:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 86D594CC44 for ; Thu, 10 Nov 2011 22:27:51 +0000 (UTC) Date: Thu, 10 Nov 2011 22:27:51 +0000 (UTC) From: "Jonathan Chang (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1083125461.19047.1320964071553.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <100814194.12334.1320792592820.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2561) Add an annotation to UDFs to allow them to specify additional FILE/JAR resources necessary for execution 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/HIVE-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148057#comment-13148057 ] Jonathan Chang commented on HIVE-2561: -------------------------------------- Ok, I think I have a reasonable implementation. Does anyone have a good suggestion for a UDF which I could also add and which would be a good testbed for this functionality? > Add an annotation to UDFs to allow them to specify additional FILE/JAR resources necessary for execution > -------------------------------------------------------------------------------------------------------- > > Key: HIVE-2561 > URL: https://issues.apache.org/jira/browse/HIVE-2561 > Project: Hive > Issue Type: New Feature > Reporter: Jonathan Chang > Assignee: Jonathan Chang > > Often times UDFs will have dependencies to external JARs/FILEs. It makes sense for these to be encoded by the UDF (rather than having the caller remember the set of files that need to be ADDed). Let's add an annotation to UDFs which will cause these resources to be auto-added. -- 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