# Status is green but should be yellow

**URL:** <https://discuss.elastic.co/t/status-is-green-but-should-be-yellow/13280>\
**Category:** Elasticsearch\
**Created:** [August 21, 2013, 7:36am UTC](https://discuss.elastic.co/t/status-is-green-but-should-be-yellow/13280 "2013-08-21T07:36:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![haim\_ari](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@haim\_ari](https://discuss.elastic.co/u/haim_ari)\
**Post date:** [August 21, 2013, 7:36am UTC](https://discuss.elastic.co/t/status-is-green-but-should-be-yellow/13280/1 "2013-08-21T07:36:25Z")

</div>

configuration (One Node only)

Logstash\_1.1.13  
Elasticsearch\_0.20.6  
Apache\_2.2 + passenger\_module  
Kibana\_2

for some reason the cluster state show i have 4 nodes and the status is  
green:

{  
"cluster\_name" : "startapp",  
_"status" : "green",_  
"timed\_out" : false,  
"number\_of\_nodes" : 4,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 30,  
"active\_shards" : 30,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 0  
}

as far as i can see from:  
[http://chrissimpson.co.uk/elasticsearch-yellow-cluster-status-explained.html](http://chrissimpson.co.uk/elasticsearch-yellow-cluster-status-explained.html)

Since i only have _one Node_, the status should be _Yellow_ with one node  
I tried to check Network, hostname, PTR + A record And checked  
Elasticsearch configuration , still i found no reason for this to happen

What should i check next ?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [August 21, 2013, 7:39am UTC](https://discuss.elastic.co/t/status-is-green-but-should-be-yellow/13280/2 "2013-08-21T07:39:18Z")

</div>

It depends if you asked for replicas or not.  
Could you show your index settings?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 21 août 2013 à 09:36, haim ari [haimari1@gmail.com](mailto:haimari1@gmail.com) a écrit :

> configuration (One Node only)
> 
> Logstash\_1.1.13  
> Elasticsearch\_0.20.6  
> Apache\_2.2 + passenger\_module  
> Kibana\_2
> 
> for some reason the cluster state show i have 4 nodes and the status is green:
> 
> {  
> "cluster\_name" : "startapp",  
> "status" : "green",  
> "timed\_out" : false,  
> "number\_of\_nodes" : 4,  
> "number\_of\_data\_nodes" : 1,  
> "active\_primary\_shards" : 30,  
> "active\_shards" : 30,  
> "relocating\_shards" : 0,  
> "initializing\_shards" : 0,  
> "unassigned\_shards" : 0  
> }
> 
> as far as i can see from:  
> [Elasticsearch "Yellow" cluster status explained | Chris Simpson - Software Developer](http://chrissimpson.co.uk/elasticsearch-yellow-cluster-status-explained.html)
> 
> Since i only have one Node, the status should be Yellow with one node  
> I tried to check Network, hostname, PTR + A record And checked Elasticsearch configuration , still i found no reason for this to happen
> 
> What should i check next ?
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![haim\_ari](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@haim\_ari](https://discuss.elastic.co/u/haim_ari)\
**Post date:** [August 21, 2013, 8:03am UTC](https://discuss.elastic.co/t/status-is-green-but-should-be-yellow/13280/3 "2013-08-21T08:03:11Z")

</div>

node.name: "elastic-master"

index.number\_of\_shards: 1  
index.number\_of\_replicas: 0

bootstrap.mlockall: true

network.host: x.x.x.x

gateway.expected\_nodes: 1

indices.memory.index\_buffer\_size: 25%  
index.refresh\_interval: 30  
index.translog.flush\_threshold\_ops: 5000  
index.store.compress.stored: true

threadpool.search.type: fixed  
threadpool.search.size: 20  
threadpool.search.queue\_size: 100

threadpool.index.type: fixed  
threadpool.index.size: 60  
indices.store.throttle.type: none  
indices.store.throttle.max\_bytes\_per\_sec: 5m

index.cache.field.max\_size: 5000  
index.cache.field.expire: 10m

On Wednesday, August 21, 2013 10:39:18 AM UTC+3, David Pilato wrote:

> It depends if you asked for replicas or not.  
> Could you show your index settings?
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 21 août 2013 à 09:36, haim ari \<[haim...@gmail.com](mailto:haim...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> configuration (One Node only)
> 
> Logstash\_1.1.13  
> Elasticsearch\_0.20.6  
> Apache\_2.2 + passenger\_module  
> Kibana\_2
> 
> for some reason the cluster state show i have 4 nodes and the status is  
> green:
> 
> {  
> "cluster\_name" : "startapp",  
> _"status" : "green",_  
> "timed\_out" : false,  
> "number\_of\_nodes" : 4,  
> "number\_of\_data\_nodes" : 1,  
> "active\_primary\_shards" : 30,  
> "active\_shards" : 30,  
> "relocating\_shards" : 0,  
> "initializing\_shards" : 0,  
> "unassigned\_shards" : 0  
> }
> 
> as far as i can see from:
> 
> [Elasticsearch "Yellow" cluster status explained | Chris Simpson - Software Developer](http://chrissimpson.co.uk/elasticsearch-yellow-cluster-status-explained.html)
> 
> Since i only have _one Node_, the status should be _Yellow_ with one node  
> I tried to check Network, hostname, PTR + A record And checked  
> Elasticsearch configuration , still i found no reason for this to happen
> 
> What should i check next ?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [August 21, 2013, 8:09am UTC](https://discuss.elastic.co/t/status-is-green-but-should-be-yellow/13280/4 "2013-08-21T08:09:12Z")

</div>

So you don't ask for replicas.

Every shard is fully allocated. Cluster is green.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 21 août 2013 à 10:03, haim ari [haimari1@gmail.com](mailto:haimari1@gmail.com) a écrit :

> node.name: "elastic-master"
> 
> index.number\_of\_shards: 1  
> index.number\_of\_replicas: 0
> 
> bootstrap.mlockall: true
> 
> network.host: x.x.x.x
> 
> gateway.expected\_nodes: 1
> 
> indices.memory.index\_buffer\_size: 25%  
> index.refresh\_interval: 30  
> index.translog.flush\_threshold\_ops: 5000  
> index.store.compress.stored: true
> 
> threadpool.search.type: fixed  
> threadpool.search.size: 20  
> threadpool.search.queue\_size: 100
> 
> threadpool.index.type: fixed  
> threadpool.index.size: 60  
> indices.store.throttle.type: none  
> indices.store.throttle.max\_bytes\_per\_sec: 5m
> 
> index.cache.field.max\_size: 5000  
> index.cache.field.expire: 10m
> 
> On Wednesday, August 21, 2013 10:39:18 AM UTC+3, David Pilato wrote:  
> It depends if you asked for replicas or not.  
> Could you show your index settings?
> 
> --  
> David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> @dadoonet | @elasticsearchfr | @scrutmydocs
> 
> Le 21 août 2013 à 09:36, haim ari [haim...@gmail.com](mailto:haim...@gmail.com) a écrit :
> 
> > configuration (One Node only)
> > 
> > Logstash\_1.1.13  
> > Elasticsearch\_0.20.6  
> > Apache\_2.2 + passenger\_module  
> > Kibana\_2
> > 
> > for some reason the cluster state show i have 4 nodes and the status is green:
> > 
> > {  
> > "cluster\_name" : "startapp",  
> > "status" : "green",  
> > "timed\_out" : false,  
> > "number\_of\_nodes" : 4,  
> > "number\_of\_data\_nodes" : 1,  
> > "active\_primary\_shards" : 30,  
> > "active\_shards" : 30,  
> > "relocating\_shards" : 0,  
> > "initializing\_shards" : 0,  
> > "unassigned\_shards" : 0  
> > }
> > 
> > as far as i can see from:  
> > [Elasticsearch "Yellow" cluster status explained | Chris Simpson - Software Developer](http://chrissimpson.co.uk/elasticsearch-yellow-cluster-status-explained.html)
> > 
> > Since i only have one Node, the status should be Yellow with one node  
> > I tried to check Network, hostname, PTR + A record And checked Elasticsearch configuration , still i found no reason for this to happen
> > 
> > What should i check next ?
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![haim\_ari](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@haim\_ari](https://discuss.elastic.co/u/haim_ari)\
**Post date:** [August 21, 2013, 8:18am UTC](https://discuss.elastic.co/t/status-is-green-but-should-be-yellow/13280/5 "2013-08-21T08:18:03Z")

</div>

Got it,

Thanks

On Wednesday, August 21, 2013 11:09:12 AM UTC+3, David Pilato wrote:

> So you don't ask for replicas.
> 
> Every shard is fully allocated. Cluster is green.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 21 août 2013 à 10:03, haim ari \<[haim...@gmail.com](mailto:haim...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> node.name: "elastic-master"
> 
> index.number\_of\_shards: 1  
> index.number\_of\_replicas: 0
> 
> bootstrap.mlockall: true
> 
> network.host: x.x.x.x
> 
> gateway.expected\_nodes: 1
> 
> indices.memory.index\_buffer\_size: 25%  
> index.refresh\_interval: 30  
> index.translog.flush\_threshold\_ops: 5000  
> index.store.compress.stored: true
> 
> threadpool.search.type: fixed  
> threadpool.search.size: 20  
> threadpool.search.queue\_size: 100
> 
> threadpool.index.type: fixed  
> threadpool.index.size: 60  
> indices.store.throttle.type: none  
> indices.store.throttle.max\_bytes\_per\_sec: 5m
> 
> index.cache.field.max\_size: 5000  
> index.cache.field.expire: 10m
> 
> On Wednesday, August 21, 2013 10:39:18 AM UTC+3, David Pilato wrote:
> 
> > It depends if you asked for replicas or not.  
> > Could you show your index settings?
> > 
> > --  
> > _David Pilato_ | _Technical Advocate_ | \*[Elasticsearch.com](http://Elasticsearch.com)[http://elasticsearch.com/](http://elasticsearch.com/)  
> > \*  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > 
> > Le 21 août 2013 à 09:36, haim ari [haim...@gmail.com](mailto:haim...@gmail.com) a écrit :
> > 
> > configuration (One Node only)
> > 
> > Logstash\_1.1.13  
> > Elasticsearch\_0.20.6  
> > Apache\_2.2 + passenger\_module  
> > Kibana\_2
> > 
> > for some reason the cluster state show i have 4 nodes and the status is  
> > green:
> > 
> > {  
> > "cluster\_name" : "startapp",  
> > _"status" : "green",_  
> > "timed\_out" : false,  
> > "number\_of\_nodes" : 4,  
> > "number\_of\_data\_nodes" : 1,  
> > "active\_primary\_shards" : 30,  
> > "active\_shards" : 30,  
> > "relocating\_shards" : 0,  
> > "initializing\_shards" : 0,  
> > "unassigned\_shards" : 0  
> > }
> > 
> > as far as i can see from:
> > 
> > [Elasticsearch "Yellow" cluster status explained | Chris Simpson - Software Developer](http://chrissimpson.co.uk/elasticsearch-yellow-cluster-status-explained.html)
> > 
> > Since i only have _one Node_, the status should be _Yellow_ with one node  
> > I tried to check Network, hostname, PTR + A record And checked  
> > Elasticsearch configuration , still i found no reason for this to happen
> > 
> > What should i check next ?
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:20am UTC](https://discuss.elastic.co/t/status-is-green-but-should-be-yellow/13280/6 "2017-07-06T02:20:23Z")

</div>


