I am trying to integrate ElsticSearch with Hive for the first time (a plain Apache Hadoop).
I am able to create an external table in Hive stored by org.elasticsearch.hadoop.hive.EsStorageHandler so I guess the AUX_JAR_PATH is properly configured.
However, when I try to load data into the table I get exceptions.
The full error stack is not that interesting, but the error says:
org.elasticsearch.hadoop.EsHadoopIllegalArgumentException(Unsupported/Unknown Elasticsearch version 2.1.1)
My Elasticsearch version is 2.1.1 and the ES-Hadoop integration jar is 2.1.2 (both are latest stable version).
Elasticsearch (1.x or higher (2.x highly recommended)) cluster accessible through REST.
That's it!
Significant effort has been invested to create a small, dependency-free,
self-contained jar that can be downloaded and put to use without any
dependencies. Simply make it available to your job classpath and you're
set.
For a certain library, see the dedicated chapter.
ES-Hadoop 2.0.x and 2.1.x are compatible with Elasticsearch 1.X only
ES-Hadoop 2.2.x and higher are compatible with Elasticsearch 1.X and 2.X
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.