Connect ElasticSearch to Cloudera Hadoop

Environment: Cloudera CDH 5.12.x elasticsearch-hadoop-6.2.1   Methods to connect ElasticSearch to Hadoop: There are 3 ways to connect from Hadoop Hive to ElasticSearch. We can set ES-hadoop jar in the command: hive -hiveconf hive.aux.jars.path=/opt/elastic/elasticsearch-hadoop-6.2.1/dist/elasticsearch-hadoop-hive-6.2.1.jar; Other option for doing same thing is to open hive session and then calling following command as first thing: ADD JAR … Continue reading Connect ElasticSearch to Cloudera Hadoop

Advertisements