appuser@elasticsearch:~/app/elasticsearch-7.14.1$ ./bin/elasticsearch-plugin install file:///data/elasticsearch-data/analysis-hanlp
-> Installing file:///data/elasticsearch-data/analysis-hanlp
-> Downloading file:///data/elasticsearch-data/analysis-hanlp
[=================================================] 100%??
-> Failed installing file:///data/elasticsearch-data/analysis-hanlp
-> Rolling back file:///data/elasticsearch-data/analysis-hanlp
-> Rolled back file:///data/elasticsearch-data/analysis-hanlp
Exception in thread "main" java.nio.file.NoSuchFileException: /home/appuser/app/elasticsearch-7.14.1/plugins/.installing-15383773280592652531/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:219)
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:787)
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:846)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:246)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:216)
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)
Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.
Instead, paste the text and format it with </>
icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.
It would be great if you could update your post to solve this.
Also, where is this plugin coming from?
ok, i have modified it
I think you are using GitHub - KennFalcon/elasticsearch-analysis-hanlp: HanLP Analyzer for Elasticsearch
This community plugin does not seem to have been updated after 7.10.2.
You might need to ask the author of the plugin.
ok,thank you
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.