在編寫應用程序在運行Apache星火1.6使用Elasticsearch星火連接器,文件在(https://www.elastic.co/guide/en/elasticsearch/hadoop/5.0/install.html#_minimalistic_binaries)說,使用maven的假象 <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch-spark_2.10</artifactId> <version>5.0.0</version> </dependency>
Elasticsearch 5.0和Elasticsearch星火連接器 - 什麼是正確的行家假象
但是行家失敗帶有指定製品的錯誤信息無法找到。基於Maven中心搜索後,我發現然而替代版本:
火花1.3+
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-spark-13_2.10</artifactId>
<version>5.0.0</version>
</dependency>
火花2. *
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-spark-20_2.10</artifactId>
<version>5.0.0</version>
</dependency>