Querying ElasticSearch Hive table from Sql workbench

Hi,

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]

Please advise?

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.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.