You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2016/09/22 21:01:20 UTC

[jira] [Commented] (HIVE-13903) getFunctionInfo is downloading jar on every call

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

Jason Dere commented on HIVE-13903:
-----------------------------------

Hi [~prongs], just trying to get a little background on this one - was the JAR being downloaded once per session, or was it getting downloaded every time the UDF was being used, even in the same session?

> getFunctionInfo is downloading jar on every call
> ------------------------------------------------
>
>                 Key: HIVE-13903
>                 URL: https://issues.apache.org/jira/browse/HIVE-13903
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Rajat Khandelwal
>            Assignee: Rajat Khandelwal
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13903.01.patch, HIVE-13903.01.patch, HIVE-13903.02.patch
>
>
> on queries using permanent udfs, the jar file of the udf is downloaded multiple times. Each call originating from Registry.getFunctionInfo. This increases time for the query, especially if that query is just an explain query. The jar should be downloaded once, and not downloaded again if the udf class is accessible in the current thread. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)