[ 
https://issues.apache.org/jira/browse/HIVE-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154741#comment-13154741
 ] 

Andrew T. Fiore commented on HIVE-2561:
---------------------------------------

As an end user, noob-ish UDF author, and originator of one of the user 
complaints Jon mentioned, I would agree that this is not a niche case.  

For end users who aren't writing the UDFs they want to use or administering 
clusters, it's not just that you might get an error in the compile phase rather 
than the MR phase (which does save some time), it's that you are much more 
likely to avoid the error completely.  End users of UDFs shouldn't have to know 
anything about the FILE or JAR dependencies.  Administrators should have to 
worry about them exactly once, when they put them in a common place and perhaps 
set a config parameter to let UDFs know where to look for their stuff.  And 
even better would be if we had full-fledged packaging as John describes.
                
> 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

        

Reply via email to