Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elasticsearch connect error #33

Open
imperio-wxm opened this issue Dec 12, 2017 · 4 comments
Open

elasticsearch connect error #33

imperio-wxm opened this issue Dec 12, 2017 · 4 comments

Comments

@imperio-wxm
Copy link

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)
@albertocsm
Copy link
Owner

albertocsm commented Dec 12, 2017 via email

@imperio-wxm
Copy link
Author

@albertocsm

Yes. My config named es.properties and like this:

connector.name=elasticsearch
elasticsearch-server=localhost
elasticsearch-port=9300
elasticsearch-clustername=elasticsearch_demo

@albertocsm
Copy link
Owner

you are missing the ES plugin specific configuration file
check #30

@imperio-wxm
Copy link
Author

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants