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

support for elasticsearch 5.2 #78

Open
abhinaythurlapati opened this issue Jan 17, 2018 · 1 comment
Open

support for elasticsearch 5.2 #78

abhinaythurlapati opened this issue Jan 17, 2018 · 1 comment

Comments

@abhinaythurlapati
Copy link

I would like to use elasticfence for elasticsearch 5.2.0. Since elasticsearch can't install the plugin, I modified the elasticsearch related config in plugin-descriptor.properties to 5.2. Thus i am able to install the plugin. However starting elasticsearch fails with the following error:

Caused by: java.lang.ClassNotFoundException: org.elasticsearch.rest.RestFilter
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_131]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[ 

I couldn't find the rest directory/class in the org.elasticsearch package. Can you please suggest how to fix this issue or make elasticfence work for elasticsearch-5.2

@jemacom
Copy link

jemacom commented Jan 18, 2018

o/ @abhinaythurlapati
As you suggest you can elasticsearch to install elasticfence plugin by twisting the config. But a lot of the authentication logic is implemented on top of RestFilter as you can check here.
And starting from version 5.2.0 elasticsearch people deprecate RestFilter. So the plugin won't work unless you have the adequate elasticsearch version preferably 5.1.2.

Hope this clarify things for you 😉

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