Failing when using the Function Namespace Managers
See original GitHub issueFailing when using the Function Namespace Managers.
2020-10-31T11:18:50.900+0800 ERROR main com.facebook.presto.server.PrestoServer No factory for function namespace manager mysql
java.lang.IllegalStateException: No factory for function namespace manager mysql
at com.google.common.base.Preconditions.checkState(Preconditions.java:588)
at com.facebook.presto.metadata.FunctionManager.loadFunctionNamespaceManager(FunctionManager.java:166)
at com.facebook.presto.metadata.StaticFunctionNamespaceStore.loadFunctionNamespaceManager(StaticFunctionNamespaceStore.java:72)
at com.facebook.presto.metadata.StaticFunctionNamespaceStore.loadFunctionNamespaceManagers(StaticFunctionNamespaceStore.java:57)
at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:149)
at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:77)
The configuration file is:
root@mdw:/opt/prestodb# cat etc/function-namespace/example.properties
function-namespace-manager.name=mysql
database-url=jdbc:mysql://localhost:3306/
function-namespaces-table-name=example_function_namespaces
functions-table-name=example_sql_functions
Does anyone know why?
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top GitHub Comments
SO I get the newest code from the master branch and run the presto in the IDE and config an function namespace example file according to the office docs: The the plugin.bundles have been added to the config.properties by default. And I got another error: What can caused this problem?
Or is there any wrong action I made when I wrote the configuration file or start the presto? And do anyone have a more detailed configuration guide to set up the Function Namespace Managers ?