Elasticsearch之Hadoop插件的安装(图文详解)

  这个Hadoop插件的安装是非常重要。 

Hadoop插件安装

   在es的安装目录下

  bin/plugin   install   elasticsearch/elasticsearch-repository-hdfs/2.2.0

  官网安装说明

https://github.com/elastic/elasticsearch-hadoop/tree/master/repository-hdfs
https://github.com/elastic/elasticsearch-hdfs
https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch-repository-hdfs/

  以下是elasticsearch针对不同的版本

   Hadoop插件配置

  vi  elasticsearch.yml

  

  gateway : 

      type  :  hdfs

  gateway :

      hdfs :

      uri :  hdfs://localhost:9000

参考

Hadoop MapReduce 读写Elasticsearch

 elasticsearch的hadoop插件使用

原文地址:https://www.cnblogs.com/zlslch/p/7103512.html