presto
presto copied to clipboard
elasticsearch connect error
I build project and install es plugin,however I got this error in server.log:
2017-12-12T14:53:10.002+0800 ERROR main com.facebook.presto.server.PrestoServer Method com/facebook/presto/elasticsearch/ElasticsearchPlugin.getServices(Ljava/lang/Class;)Ljava/util/List; is abstract
java.lang.AbstractMethodError: Method com/facebook/presto/elasticsearch/ElasticsearchPlugin.getServices(Ljava/lang/Class;)Ljava/util/List; is abstract
at com.facebook.presto.elasticsearch.ElasticsearchPlugin.getServices(ElasticsearchPlugin.java)
at com.facebook.presto.server.PluginManager.installPlugin(PluginManager.java:194)
at com.facebook.presto.server.PluginManager.loadPlugin(PluginManager.java:184)
at com.facebook.presto.server.PluginManager.loadPlugin(PluginManager.java:167)
at com.facebook.presto.server.PluginManager.loadPlugins(PluginManager.java:148)
at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:113)
at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:63)
Have you created the config file for the plug-in?
On Dec 12, 2017 6:57 AM, "wxmimperio" [email protected] wrote:
I build project and install es plugin,however I got this error in server.log:
2017-12-12T14:53:10.002+0800 ERROR main com.facebook.presto.server.PrestoServer Method com/facebook/presto/elasticsearch/ElasticsearchPlugin.getServices(Ljava/lang/Class;)Ljava/util/List; is abstractjava.lang.AbstractMethodError: Method com/facebook/presto/elasticsearch/ElasticsearchPlugin.getServices(Ljava/lang/Class;)Ljava/util/List; is abstract at com.facebook.presto.elasticsearch.ElasticsearchPlugin.getServices(ElasticsearchPlugin.java) at com.facebook.presto.server.PluginManager.installPlugin(PluginManager.java:194) at com.facebook.presto.server.PluginManager.loadPlugin(PluginManager.java:184) at com.facebook.presto.server.PluginManager.loadPlugin(PluginManager.java:167) at com.facebook.presto.server.PluginManager.loadPlugins(PluginManager.java:148) at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:113) at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:63)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/albertocsm/presto/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/ADTL7tHm7WqcRFppssf_UiEK0wYsjTuVks5s_iPIgaJpZM4Q-gZ- .
@albertocsm
Yes. My config named es.properties and like this:
connector.name=elasticsearch
elasticsearch-server=localhost
elasticsearch-port=9300
elasticsearch-clustername=elasticsearch_demo
you are missing the ES plugin specific configuration file check https://github.com/albertocsm/presto/issues/30
@albertocsm so, what is the meaning of file: ///myPath/myschemafile.json? All table schemas should be listed in schems.json?
If I just have on es cluster and I want to select all tables,what should I set this config?