Hi All,
I would like to push data into elastic search using hive. I am creating an external table using "org.elasticsearch.hadoop.hive.EsStorageHandler". When I am trying to insert data in this table, I am getting error as below-
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Unsupported/Unknown Elasticsearch version 6.1.1
at org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator.java:564)
at org.apache.hadoop.hive.ql.exec.FileSinkOperator.process(FileSinkOperator.java:663)
Could you please help me , what I am missing for the connectivity?
Hadoop and elastic search versions are-
Hadoop Version - Hadoop 2.7.0-mapr-1707
Elastic Search Version - 6.1.1
Jar used to connect -elasticsearch-hadoop-6.1.1.jar