I facing critical issue when Load the data into hive External table for pushing the index to Kibana via Elastic search in Docker cloudera container. The same i did Ubuntu 18.04, direct installation of cloudera and successfully done. But Inside the Docker Container i unable to do. Below mentioned screen shots for your reference. Tried many solutions from internet based on error but it wont workout.
I did follow the steps:
1) Add Jars to that hive lib locations
add jar /usr/lib/hive/lib/elasticsearch-hadoop-hive-7.5.1.jar add jar /usr/lib/hive/lib/commons-httpclient-3.1.jar
2) Setted Hive engine as,
3) created sample External Table as es_test
CREATE EXTERNAL TABLE es_test (sno int, name string)
STORED BY 'org.elasticsearch.hadoop.hive.EsStorageHandler'