# ESHadoop Port

**URL:** <https://discuss.elastic.co/t/eshadoop-port/40711>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [February 2, 2016, 8:58am UTC](https://discuss.elastic.co/t/eshadoop-port/40711 "2016-02-02T08:58:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhijitdeka11](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@abhijitdeka11](https://discuss.elastic.co/u/abhijitdeka11)\
**Post date:** [February 2, 2016, 8:58am UTC](https://discuss.elastic.co/t/eshadoop-port/40711/1 "2016-02-02T08:58:29Z")

</div>

Hi,

I am working on a monitored environment where I need to explicitly open ports that are needed to be opened.  
I was trying the ESHadoop plugin to store data in ElasticSearch via Pig script.I am storing this as

**STORE test INTO 'ESHadoop/test' USING org.elasticsearch.hadoop.pig.EsStorage('es.nodes=10.42.200.155','es.http.timeout = 5m','es.index.auto.create = true','es.mapping.id=ID');**

But it doesn't seem to [work.It](http://work.It) doesn't throw any error but the pig script keeps [running.Do](http://running.Do) I need to open ports in the Hadoop [cluster.ES](http://cluster.ES) and Hadoop servers are on different machine.

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [February 21, 2016, 5:29pm UTC](https://discuss.elastic.co/t/eshadoop-port/40711/2 "2016-02-21T17:29:39Z")

</div>

There might be multiple reasons why the script does not work and only the Pig logs will provide useful information.  
If you want to specify the ES port then you can do so through the `es.port` property. This is documented under the [configuration](https://www.elastic.co/guide/en/elasticsearch/hadoop/current/configuration.html) section in the reference documentation.

---

<div class="post-metadata">

**Author:** ![abhijitdeka11](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@abhijitdeka11](https://discuss.elastic.co/u/abhijitdeka11)\
**Post date:** [February 22, 2016, 5:45am UTC](https://discuss.elastic.co/t/eshadoop-port/40711/3 "2016-02-22T05:45:19Z")

</div>

Hey I got this working.  
The script was not able to identify the nodes because of virtual IP settings.  
Now it's fine.  
Thanks for replying.

---

<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:26pm UTC](https://discuss.elastic.co/t/eshadoop-port/40711/4 "2017-07-06T13:26:06Z")

</div>


