Not able to install elastiKNN plugin in elastic search

I am getting this error during installation of my elsaticKNN plugin. Please let me know the compatible version for my elasticsearch(7.12.0)

-> Installing Release 7.12.0.5 · alexklibisz/elastiknn · GitHub
-> Downloading Release 7.12.0.5 · alexklibisz/elastiknn · GitHub
-> Failed installing Release 7.12.0.5 · alexklibisz/elastiknn · GitHub
-> Rolling back Release 7.12.0.5 · alexklibisz/elastiknn · GitHub
-> Rolled back Release 7.12.0.5 · alexklibisz/elastiknn · GitHub
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/.installing-12574570853519711673/plugin-descriptor.properties
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
at java.base/java.nio.file.Files.newByteChannel(Files.java:375)
at java.base/java.nio.file.Files.newByteChannel(Files.java:426)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
at java.base/java.nio.file.Files.newInputStream(Files.java:160)
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:173)
at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:786)
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:845)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:245)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:215)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:75)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:80)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:116)
at org.elasticsearch.cli.Command.main(Command.java:79)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:36)

Welcome!

You most likely need to contact the author of this plugin.

BUT:

  • You should upgrade Elasticsearch to the latest 7.17 version
  • Better, upgrade to 8.8.2 and you won't need to install any plugin as elasticsearch now comes with tons of features regarding knn...
1 Like

Thanks @dadoonet It worked

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.