Плагин репозитория HDFSasticsearch установить - PullRequest
0 голосов
/ 29 августа 2018

Я хочу установить HDS-плагинasticsearch. Версия эластичного поиска - 6.3.2. Ходоп не сделал.

При попытке запустить плагин ./bin/elasticsearch-plugin install ./repository-hdfs-6.3.2.zip -> Появляется следующая ошибка.

Commands

list - Lists installed elasticsearch plugins
install - Install a plugin
remove - removes a plugin from Elasticsearch

Non-option arguments:
command              

Option         Description        
------         -----------        
-h, --help     show help          
-s, --silent   show minimal output
-v, --verbose  show verbose output
ERROR: Unknown plugin ./repository-hdfs-6.3.2.zip

и я тоже бегу

./bin/elasticsearch-plugin install repository-hdfs

-> Появляется следующая ошибка.

Exception in thread "main" java.net.UnknownHostException: artifacts.elastic.co
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
    at org.elasticsearch.plugins.InstallPluginCommand.urlExists(InstallPluginCommand.java:325)
    at org.elasticsearch.plugins.InstallPluginCommand.getElasticUrl(InstallPluginCommand.java:292)
    at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:248)
    at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:223)
    at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:210)
    at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
    at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
    at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:79)
    at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
    at org.elasticsearch.cli.Command.main(Command.java:90)
    at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48)

Вы знаете, как ее решить?

1 Ответ

0 голосов
/ 03 января 2019

Я решил это, используя правильную версию репозитория-hdfs:

wget --no-check-certificate  https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-6.5.1.zip

bin/elasticsearch-plugin install file:///XXX/repository-hdfs-6.5.1.zip

выберите версию вашего репозитория-hdfs:

wget --no-check-certificate  https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-X.X.X.zip
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...