I'm trying to query elasticsearch hive table from SQL Workbench.
I'm using Elastic: 6.2.X version.
I've uploaded both elasticsearch-hadoop & elasticsearch-hadoop-hive jars but, it didn't work.
Here is the error:
Error while compiling statement: FAILED: RuntimeException org.apache.hadoop.hive.ql.metadata.HiveException: Error in loading storage handler.org.elasticsearch.hadoop.hive.EsStorageHandler [SQL State=42000, DB Errorcode=40000]
We don't have any tests configured for SQL workbench, and I have no real experience with it. My guess is that there's additional settings required in Hive for this to work. Do you have any more detailed error messages for the problem, perhaps from the HiveServer log itself?
That is the complete error, even if i do select * from table_name(ES table), it is throwing above error.
I did added elasticsearch-hadoop jar to driver on sql workbench.
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.