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 AF16879C6 for ; Mon, 21 Nov 2011 23:32:07 +0000 (UTC) Received: (qmail 17919 invoked by uid 500); 21 Nov 2011 23:32:07 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 17880 invoked by uid 500); 21 Nov 2011 23:32:06 -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 17872 invoked by uid 500); 21 Nov 2011 23:32:06 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 17869 invoked by uid 99); 21 Nov 2011 23:32:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 23:32:06 +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; Mon, 21 Nov 2011 23:32: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 8D7CE365C1 for ; Mon, 21 Nov 2011 23:31:40 +0000 (UTC) Date: Mon, 21 Nov 2011 23:31:40 +0000 (UTC) From: "Jonathan Chang (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <369730132.203.1321918300581.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <100814194.12334.1320792592820.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2561) Allow UDFs 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=13154727#comment-13154727 ] Jonathan Chang commented on HIVE-2561: -------------------------------------- A dependency declaration allows the resources to be automatically loaded so the end user doesn't have to. I don't think this is a niche case; this has come up a lot and this diff is the result of a brainstorm in response to user complaints. > Allow UDFs 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 > Attachments: HIVE-2561.D507.1.patch > > > 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