# 3 node cluster all master eligible questions

**URL:** <https://discuss.elastic.co/t/3-node-cluster-all-master-eligible-questions/87375>\
**Category:** Elasticsearch\
**Created:** [May 28, 2017, 7:46pm UTC](https://discuss.elastic.co/t/3-node-cluster-all-master-eligible-questions/87375 "2017-05-28T19:46:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [May 28, 2017, 7:46pm UTC](https://discuss.elastic.co/t/3-node-cluster-all-master-eligible-questions/87375/1 "2017-05-28T19:46:01Z")

</div>

I have following setup for 3 node cluster , all being master eligible as recommended by few folks in this discussion.

```
node.name : node1 [node2, node3]
node.master: true
node.data: true
```

My questions, don't i need any client node ? like node.master : false and node.data : false  
if not how will the routing work? which node will receive all my read requests through java API?

thanks  
Sam

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 28, 2017, 8:05pm UTC](https://discuss.elastic.co/t/3-node-cluster-all-master-eligible-questions/87375/2 "2017-05-28T20:05:33Z")

</div>

No it's not needed.

The node which the transport client will connect to is the one you defined in the transport client. That could be the 3 nodes.

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [May 28, 2017, 8:07pm UTC](https://discuss.elastic.co/t/3-node-cluster-all-master-eligible-questions/87375/4 "2017-05-28T20:07:54Z")

</div>

Thanks a lot, so in my java TransportClient , i need to add all the 3 nodes. and it does the routing itself.  
by the way i am using 5.4.0 version , don't i need any ingest node?  
Sam

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 28, 2017, 11:51pm UTC](https://discuss.elastic.co/t/3-node-cluster-all-master-eligible-questions/87375/5 "2017-05-28T23:51:36Z")

</div>

No unless you use the ingest API.

---

<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:** [June 25, 2017, 11:52pm UTC](https://discuss.elastic.co/t/3-node-cluster-all-master-eligible-questions/87375/6 "2017-06-25T23:52:27Z")

</div>

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