[ https://issues.apache.org/jira/browse/HIVE-23858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159216#comment-17159216 ]
Adesh Kumar Rao commented on HIVE-23858: ---------------------------------------- Yeah, that's what I was looking for. Marking this as duplicate. Thanks [~dengzh]. > In multi-HS2 setup, if a new function is registered on one of them, it is not > available on remaining HS2's unless reload-function is run > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: HIVE-23858 > URL: https://issues.apache.org/jira/browse/HIVE-23858 > Project: Hive > Issue Type: Improvement > Components: HiveServer2 > Reporter: Adesh Kumar Rao > Assignee: Adesh Kumar Rao > Priority: Minor > > When multiple HS2's are running and a function is registered on one of them, > we need to connect to each of remaining HS2's explicitly and run > reload-functions command. > > Without doing reload-function, if we try using the function in any of the > remaining HS2's, the command will fail saying invalid function. > > The idea here is to check for function existence, not only in > functionRegistry but also from metastore if the function does not exists in > registry. -- This message was sent by Atlassian Jira (v8.3.4#803005)