I have a problem I can't solve and I tried everything I found on the internet and I can imagine.
I'm triying to integrate elastic search (2.0.2) with cloudera (5.4.0) installed with cloudera manager.
From Hive if I "ADD JAR" first and creating an external table with "STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler'" it works. The jar files aren't in HDFS, are in the system filesystem.
But I want to add this directly to hive config. I added the code to hive-site.xml from command line, directly in the server, I added too in the manager option "Advanced Configuration Snippet (Safety Valve) for hive-site.xml" in the server-wide, only server, metastore...
I tested to add with "file://" or without it, but always I get this message:
"Error while compiling statement: FAILED: SemanticException Cannot find class 'org.elasticsearch.hadoop.hive.EsStorageHandler'"
If anybody can help me,