# Jest Client issue

**URL:** <https://discuss.elastic.co/t/jest-client-issue/63319>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [October 18, 2016, 6:34pm UTC](https://discuss.elastic.co/t/jest-client-issue/63319 "2016-10-18T18:34:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukumar](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@sukumar](https://discuss.elastic.co/u/sukumar)\
**Post date:** [October 18, 2016, 6:34pm UTC](https://discuss.elastic.co/t/jest-client-issue/63319/1 "2016-10-18T18:34:51Z")

</div>

I am trying to use Jest client in spark , its working good only if I use in single machine, if I use in cluster mode, its not working due to Client is not serialized. Any one using java client which is serialized ?

---

<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:** [October 27, 2016, 8:13pm UTC](https://discuss.elastic.co/t/jest-client-issue/63319/2 "2016-10-27T20:13:57Z")

</div>

@sukumar Have you considered using the [native Spark integration](https://www.elastic.co/guide/en/elasticsearch/hadoop/current/spark.html) that we have in ES-Hadoop? We support regular Spark RDD's, Spark Streaming DStreams and SparkSQL DataFrames/Datasets, and we're compatible against all Elasticsearch versions 1.x and up.

---

<div class="post-metadata">

**Author:** ![sukumar](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@sukumar](https://discuss.elastic.co/u/sukumar)\
**Post date:** [October 27, 2016, 8:32pm UTC](https://discuss.elastic.co/t/jest-client-issue/63319/3 "2016-10-27T20:32:57Z")

</div>

@james.baiera I tried with the native spark integration and I am not seeing the fast response , spark and ES are in two different clusters, its taking too long to get response. Now I am using jersey client to make rest call in the spark transformation and works fine and i can make multiple request in parallel.

---

<div class="post-metadata">

**Author:** ![zhifengMaBeijing](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhifengmabeijing/32/23882_2.png) [@zhifengMaBeijing](https://discuss.elastic.co/u/zhifengMaBeijing)\
**Post date:** [November 10, 2016, 5:21am UTC](https://discuss.elastic.co/t/jest-client-issue/63319/4 "2016-11-10T05:21:31Z")

</div>

Hi Sukumar,

I am starting using JEST for my application. Could you please share your experience to me?

thanks,  
Zhifeng

---

<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:** [July 6, 2017, 1:22pm UTC](https://discuss.elastic.co/t/jest-client-issue/63319/5 "2017-07-06T13:22:40Z")

</div>


