# Elasticsearch on Client node not working properly

**URL:** <https://discuss.elastic.co/t/elasticsearch-on-client-node-not-working-properly/49937>\
**Category:** Elasticsearch\
**Created:** [May 12, 2016, 8:52pm UTC](https://discuss.elastic.co/t/elasticsearch-on-client-node-not-working-properly/49937 "2016-05-12T20:52:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharon.c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharon.c/32/16076_2.png) [@sharon.c](https://discuss.elastic.co/u/sharon.c)\
**Post date:** [May 12, 2016, 8:52pm UTC](https://discuss.elastic.co/t/elasticsearch-on-client-node-not-working-properly/49937/1 "2016-05-12T20:52:59Z")

</div>

We set up a 3 nodes elasticsearch cluster, 1 Master (data) node, 1 data node, and 1 client node.

Client node elasticsearch.yml file

> 

cluster.name: elkstats  
node.name: clientnode  
node.master: false  
node.data: false  
path.data: /data  
network.bind\_host: 10.100.16.9  
network.publish\_host: 10.100.16.9  
http.port: 9200  
http.cors.enabled: true  
http.cors.allow-origin: "\*"

Master node elasticsearch.yml file

> 

cluster.name: elkstats  
node.name: Melasticsearch  
node.master: true  
node.data: true  
discovery.zen.ping.multicast.enabled: false  
discovery.zen.ping.unicast.hosts: ["Melasticsearch","datanode1","clientnode"]  
path.data: /data  
network.bind\_host: 10.100.16.13  
network.publish\_host: 10.100.16.13  
http.cors.enabled: true  
http.cors.allow-origin: "\*"  
http.port: 9200

Data node elasticsearch.yml file

> 

cluster.name: elkstats  
node.name: datanode1  
node.master: false  
node.data: true  
path.data: /data  
network.bind\_host: 10.100.16.11  
network.publish\_host: 10.100.16.11  
http.port: 9200  
http.cors.enabled: true  
http.cors.allow-origin: "\*"

My cluster was working fine yesterday, but today after I installed Marvel, kibana shows:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/4/4f68cc50bc895ba157c45f4cde3cc359d07ff2ab.png)

there are 40000 lines in the /var/log/elasticsearch/elkstats.log, here I copied some:

> 

[2016-05-12 16:48:28,076][WARN][rest.suppressed] /.marvel-es-1-_/\_field\_stats Params: {level=indices, ignore\_unavailable=true, index=.marvel-es-1-_}  
ClusterBlockException[blocked by: [SERVICE\_UNAVAILABLE/1/state not recovered / initialized];]  
at org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedException(ClusterBlocks.java:154)  
at org.elasticsearch.action.fieldstats.TransportFieldStatsTransportAction.checkGlobalBlock(TransportFieldStatsTransportAction.java:182)  
at org.elasticsearch.action.fieldstats.TransportFieldStatsTransportAction.checkGlobalBlock(TransportFieldStatsTransportAction.java:54)  
at org.elasticsearch.action.support.broadcast.TransportBroadcastAction$AsyncBroadcastAction.(TransportBroadcastAction.java:118)  
at org.elasticsearch.action.support.broadcast.TransportBroadcastAction.doExecute(TransportBroadcastAction.java:69)  
...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 13, 2016, 12:00am UTC](https://discuss.elastic.co/t/elasticsearch-on-client-node-not-working-properly/49937/2 "2016-05-13T00:00:46Z")

</div>

Please don't double post 🙂

> [@Client Node cannot be discovered by Master](https://discuss.elastic.co/t/client-node-cannot-be-discovered-by-master/49947):
>
> We set up a 3 nodes elasticsearch cluster, 1 Master (data) node, 1 data node, and 1 client node. Client node elasticsearch.yml file cluster.name: elkstats node.name: clientnode node.master: false node.data: false path.data: /data network.bind\_host: 10.100.16.9 network.publish\_host: 10.100.16.9 http.port: 9200 http.cors.enabled: true http.cors.allow-origin: "\*" Master node elasticsearch.yml file cluster.name: elkstats node.name: Melasticsearch node.master: true node.data: true …

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 13, 2016, 12:00am UTC](https://discuss.elastic.co/t/elasticsearch-on-client-node-not-working-properly/49937/3 "2016-05-13T00:00:50Z")

</div>


