Adesh Kumar Rao created HIVE-23858:
--------------------------------------
Summary: In multi-HS2 setup, if a new function is registered on
one of them, then it is not available on remaining HS2'2 unless reload-function
is run
Key: HIVE-23858
URL: https://issues.apache.org/jira/browse/HIVE-23858
Project: Hive
Issue Type: Improvement
Components: HiveServer2, Standalone Metastore
Reporter: Adesh Kumar Rao
Assignee: Adesh Kumar Rao
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)