# Unable to find prebuilt jar for Spark 1.6

**URL:** <https://discuss.elastic.co/t/unable-to-find-prebuilt-jar-for-spark-1-6/161865>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [December 21, 2018, 3:06pm UTC](https://discuss.elastic.co/t/unable-to-find-prebuilt-jar-for-spark-1-6/161865 "2018-12-21T15:06:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![enricoP](https://avatars.discourse-cdn.com/v4/letter/e/b2d939/32.png) [@enricoP](https://discuss.elastic.co/u/enricoP)\
**Post date:** [December 21, 2018, 3:06pm UTC](https://discuss.elastic.co/t/unable-to-find-prebuilt-jar-for-spark-1-6/161865/1 "2018-12-21T15:06:21Z")

</div>

Hi,

I'm trying to use elasticsearch-hadoop in Spark 1.6 (right now It's the only avaible version in our CDH cluster) and I'm having issues with `java.lang.ClassNotFoundException` using the main jar `elasticsearch-hadoop-6.5.4.jar`.

From the [documentation](https://www.elastic.co/guide/en/elasticsearch/hadoop/current/requirements.html#requirements-spark-sql) I'm supposed to use a separate jar `elasticsearch-spark-1.x-<version>.jar`, but I can't find it.

In the zip from the official download page there are these jars:

```auto
elasticsearch-hadoop-6.5.4.jar
elasticsearch-hadoop-cascading-6.5.4.jar
elasticsearch-hadoop-hive-6.5.4.jar
elasticsearch-hadoop-mr-6.5.4.jar
elasticsearch-hadoop-pig-6.5.4.jar
elasticsearch-spark-20_2.11-6.5.4.jar
elasticsearch-storm-6.5.4.jar

```

The spark jar is the one for Spark 2.x...

Thanks,  
Enrico

---

<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:** [January 2, 2019, 4:31pm UTC](https://discuss.elastic.co/t/unable-to-find-prebuilt-jar-for-spark-1-6/161865/2 "2019-01-02T16:31:23Z")

</div>

You should be able to get that artifact from maven. We publish two 1.3-1.6 compatibility jars there depending on your scala major version:

For Scala 2.10 you can find the available versions and artifact names here:  
[http://repo1.maven.org/maven2/org/elasticsearch/elasticsearch-spark-13\_2.10/](http://repo1.maven.org/maven2/org/elasticsearch/elasticsearch-spark-13_2.10/)

For Scala 2.11 you can find the available versions and artifact names here:  
[http://repo1.maven.org/maven2/org/elasticsearch/elasticsearch-spark-13\_2.11/](http://repo1.maven.org/maven2/org/elasticsearch/elasticsearch-spark-13_2.11/)

---

<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:** [January 30, 2019, 4:31pm UTC](https://discuss.elastic.co/t/unable-to-find-prebuilt-jar-for-spark-1-6/161865/3 "2019-01-30T16:31:25Z")

</div>

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