# Hive integration - Which jar do we need?

**URL:** <https://discuss.elastic.co/t/hive-integration-which-jar-do-we-need/145650>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [August 23, 2018, 5:34am UTC](https://discuss.elastic.co/t/hive-integration-which-jar-do-we-need/145650 "2018-08-23T05:34:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divit\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divit_sharma/32/32348_2.png) [@Divit\_Sharma](https://discuss.elastic.co/u/Divit_Sharma)\
**Post date:** [August 23, 2018, 5:34am UTC](https://discuss.elastic.co/t/hive-integration-which-jar-do-we-need/145650/1 "2018-08-23T05:34:55Z")

</div>

I have downloaded ES hadoop jar.  
I need to fetch data from Hive tables to ES. There are two jar ES-hadoop and ES-hadoop-hive. Which one to utilise to connect and fetch data from Hive?

---

<div class="post-metadata">

**Author:** ![james.baiera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james.baiera/32/10209_2.png) [@james.baiera](https://discuss.elastic.co/u/james.baiera)\
**Post date:** [September 4, 2018, 4:35pm UTC](https://discuss.elastic.co/t/hive-integration-which-jar-do-we-need/145650/2 "2018-09-04T16:35:09Z")

</div>

Either will be fine, but not both. ES-Hadoop jar contains the code for all the integrations, ES-Hadoop-Hive contains the code for just the Hive integration. Otherwise they're the same.

---

<div class="post-metadata">

**Author:** ![Divit\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divit_sharma/32/32348_2.png) [@Divit\_Sharma](https://discuss.elastic.co/u/Divit_Sharma)\
**Post date:** [September 4, 2018, 5:49pm UTC](https://discuss.elastic.co/t/hive-integration-which-jar-do-we-need/145650/3 "2018-09-04T17:49:05Z")

</div>

Thanks its better to go with hadoop jar then

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 2, 2018, 5:49pm UTC](https://discuss.elastic.co/t/hive-integration-which-jar-do-we-need/145650/4 "2018-10-02T17:49:06Z")

</div>

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