hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13596) HS2 should be able to get UDFs on demand from metastore
Date Tue, 26 Apr 2016 20:45:13 GMT

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

Jason Dere commented on HIVE-13596:
-----------------------------------

Ok, looking at the code again, I see why checkFunctionClass() is no longer called - there
is a separate registerToSessionRegistry() method to add a UDF from the system registry to
the session registry. It's not bad to have it in the session registry, since the UDF does
eventually need to get added there, though it is a bit different from the UDFs added via reloadFunctions()
since those are added to the system registry.

> HS2 should be able to get UDFs on demand from metastore
> -------------------------------------------------------
>
>                 Key: HIVE-13596
>                 URL: https://issues.apache.org/jira/browse/HIVE-13596
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-13596.01.patch, HIVE-13596.patch
>
>
> When multiple HS2s are run, creating a permanent fn is only executed on one of them,
and the other HS2s don't get the new function. Unlike say with tables, where we always get
stuff from db on demand, fns are registered at certain points in the code and if the new one
is not registered, it will not be available. 
> We should restore the pre-HIVE-2573 behavior of being able to refresh the UDFs on demand.



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

Mime
View raw message