# Apache Flink 1.2 - Client is not connected to any Elasticsearch nodes

**URL:** <https://discuss.elastic.co/t/apache-flink-1-2-client-is-not-connected-to-any-elasticsearch-nodes/78674>\
**Category:** Elasticsearch\
**Created:** [March 15, 2017, 9:48am UTC](https://discuss.elastic.co/t/apache-flink-1-2-client-is-not-connected-to-any-elasticsearch-nodes/78674 "2017-03-15T09:48:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ferixx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ferixx/32/16359_2.png) [@Ferixx](https://discuss.elastic.co/u/Ferixx)\
**Post date:** [March 15, 2017, 9:48am UTC](https://discuss.elastic.co/t/apache-flink-1-2-client-is-not-connected-to-any-elasticsearch-nodes/78674/1 "2017-03-15T09:48:32Z")

</div>

Hello everyone!  
I'm new to ElasticSearch and I choosed it in order to perform data stream processing with Apache Flink using it as a Sink. Because Flink 1.2 has a connector only for the 2.x version of ES, i'm using a proper docker image (elasticsearch:2.4.4-alpine).  
I followed the [example](https://ci.apache.org/projects/flink/flink-docs-release-1.2/dev/connectors/elasticsearch2.html#installing-elasticsearch-2x) on the docs using "elasticsearch" as `cluster.name` (being the default one) and `127.0.0.1:9200` as node address.  
I launch my docker image with `docker run -p 9200:9200 -e host.name=127.0.0.1 elasticsearch:2.4.4-alpine`.  
Sometimes the node receives something but it results in an IllegalArgumentException: empty text.

What is my mistake?  
Thank you very much for your time!

---

<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:** [April 12, 2017, 9:48am UTC](https://discuss.elastic.co/t/apache-flink-1-2-client-is-not-connected-to-any-elasticsearch-nodes/78674/2 "2017-04-12T09:48:39Z")

</div>

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