# Install dependencies on GCP cloud dataproc

**URL:** https://discuss.elastic.co/t/install-dependencies-on-gcp-cloud-dataproc/229525
**Category:** Elasticsearch
**Tags:** es-hadoop
**Created:** [April 23, 2020, 6:13pm UTC](https://discuss.elastic.co/t/install-dependencies-on-gcp-cloud-dataproc/229525 "2020-04-23T18:13:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Callonski](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Callonski](https://discuss.elastic.co/u/Callonski)
#### Post date: [April 23, 2020, 6:13pm UTC](https://discuss.elastic.co/t/install-dependencies-on-gcp-cloud-dataproc/229525/1 "2020-04-23T18:13:32Z")

</div>

I want to connect Spark running on GCP dataproc to elasticsearch cluster running on GCE.  
I'm new to dataproc and pySpark, so I got stuck on installing the Hadoop-elasticsearch adapter.  
This is the package I'm trying to install.  
org.elasticsearch:elasticsearch-spark-20\_2.11:5.3.1

Do I do that in the initialisation actions, cluster properties or ssh into the machines and install?

Any help would is appreciated!

Thanks!

---

<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: [May 21, 2020, 6:13pm UTC](https://discuss.elastic.co/t/install-dependencies-on-gcp-cloud-dataproc/229525/2 "2020-05-21T18:13:37Z")

</div>

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