Could not load plugin descriptor for existing plugin [repository-hdfs]. Was the plugin built before 2.0?

(Jesus) #1

I installed the repository-hdfs plugin but I have an error when I run Elasticsearch. This is the error:

[2016-09-29 09:37:33,169][WARN ][bootstrap ] unable to install syscall filter: seccomp unavailable: requires kernel 3.5+ with CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER compiled in
[2016-09-29 09:37:33,295][INFO ][node ] [Hammer Harrison] version[2.4.0], pid[8381], build[ce9f0c7/2016-08-29T09:14:17Z]
[2016-09-29 09:37:33,299][INFO ][node ] [Hammer Harrison] initializing ...
Exception in thread "main" java.lang.IllegalStateException: Could not load plugin descriptor for existing plugin [repository-hdfs]. Was the plugin built before 2.0?
Likely root cause: java.nio.file.AccessDeniedException: /home/weblogic/elasticsearch-2.4.0/plugins/repository-hdfs/
at sun.nio.fs.UnixException.translateToIOException(
at sun.nio.fs.UnixException.rethrowAsIOException(
at sun.nio.fs.UnixException.rethrowAsIOException(
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(
at java.nio.file.Files.newByteChannel(
at java.nio.file.Files.newByteChannel(
at java.nio.file.spi.FileSystemProvider.newInputStream(
at java.nio.file.Files.newInputStream(
at org.elasticsearch.plugins.PluginInfo.readFromProperties(
at org.elasticsearch.plugins.PluginsService.getPluginBundles(
at org.elasticsearch.plugins.PluginsService.(
at org.elasticsearch.node.Node.(
at org.elasticsearch.node.Node.(
at org.elasticsearch.bootstrap.Bootstrap.setup(
at org.elasticsearch.bootstrap.Bootstrap.init(
at org.elasticsearch.bootstrap.Elasticsearch.main(
Refer to the log for complete error details.

I do not understand why it is happening.
Can anybody help me, please?

(David Pilato) #2

I think you installed a wrong version.

How did you install your plugin?

(Jesus) #3

I use this command to install my plugin:

bin/plugin install file:///home/weblogic/elasticsearch-2.4.0/

I downloaded my plugin then I installed with "bin/plugin install"
I installed elasticsearch 2.4.0. How can I see more plugin version of repository-hdfs?

(David Pilato) #4

Where did you download this file from?

(Jesus) #5

I downloaded it from here:

(David Pilato) #6

Strange. This file ( ) has the file in it.

I think you are doing something bad on your side but can't really tell with the details you provided so far.

Can you reproduce the error you have seen with:

  • a fresh clean install of elasticsearch 2.4.0
  • the zip file I linked here downloaded to /tmp
  • bin/plugin install file:///tmp/ executed with no failure
  • bin/elasticsearch

And report again?

BTW why are you downloading manually the ZIP file?

(Jesus) #7

I install Elasticsearch 2.3.1 with this hdfs:

And it worked perfectly.

(system) #8