# \[need help\] elasticsearch-5.2.2-1.noarch yellow with shards stuck initializing

**URL:** <https://discuss.elastic.co/t/need-help-elasticsearch-5-2-2-1-noarch-yellow-with-shards-stuck-initializing/89358>\
**Category:** Elasticsearch\
**Created:** [June 14, 2017, 10:14am UTC](https://discuss.elastic.co/t/need-help-elasticsearch-5-2-2-1-noarch-yellow-with-shards-stuck-initializing/89358 "2017-06-14T10:14:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShellMount](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@ShellMount](https://discuss.elastic.co/u/ShellMount)\
**Post date:** [June 14, 2017, 10:14am UTC](https://discuss.elastic.co/t/need-help-elasticsearch-5-2-2-1-noarch-yellow-with-shards-stuck-initializing/89358/1 "2017-06-14T10:14:50Z")

</div>

## elasticsearch-5.2.2-1.noarch yellow with shards stuck initializing ： "initializing\_shards" : 4, "unassigned\_shards" : 26,

[http://10.25.0.14:20042/\_cluster/health?pretty](http://10.25.0.14:20042/_cluster/health?pretty)  
{  
"cluster\_name" : "lc-es-cluster",  
"status" : "yellow",  
"timed\_out" : false,  
"number\_of\_nodes" : 4,  
"number\_of\_data\_nodes" : 3,  
"active\_primary\_shards" : 85,  
"active\_shards" : 140,  
"relocating\_shards" : 0,  
"initializing\_shards" : 4,  
"unassigned\_shards" : 26,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 0,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 82.35294117647058  
}

* * *

SETTING LIKE THIS:  
cat /etc/elasticsearch/elasticsearch.yml | grep -v ^#  
[cluster.name](http://cluster.name): lc-es-cluster  
[node.name](http://node.name): node-172.19.1.31  
node.master: true  
node.data: false  
node.attr.box\_type: warm  
bootstrap.memory\_lock: true  
bootstrap.system\_call\_filter: false  
network.host: 0.0.0.0  
network.publish\_host: 172.19.1.31  
http.port: 20042  
transport.tcp.port: 20041  
discovery.zen.ping.unicast.hosts: [172.19.1.31, 172.19.1.33, 172.19.1.34, 172.19.1.35]  
discovery.zen.minimum\_master\_nodes: 2  
indices.memory.index\_buffer\_size: 50%  
thread\_pool.bulk.queue\_size: 8192  
indices.fielddata.cache.size: 20%

* * *

JVM version (java -version):  
java -version  
openjdk version "1.8.0\_121"  
OpenJDK Runtime Environment (build 1.8.0\_121-b13)  
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

* * *

OS version (uname -a if on a Unix-like system):  
uname -a  
Linux qa2-controller 2.6.32-431.el6.x86\_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86\_64 x86\_64 x86\_64 GNU/Linux

* * *

Provide logs (if relevant):  
and, these are some WARN info in the logs:  
[2017-06-14T09:42:22,304][WARN][o.e.c.a.s.ShardStateAction] [node-172.19.1.31]  
[dfi\_flow\_pkt\_hdr\_batch\_\_0\_2687x1d\_17061408][4] received shard failed for shard id  
[[dfi\_flow\_pkt\_hdr\_batch\_\_0\_2687x1d\_17061408][4]], allocation id [D6BpiMMRSuGN-r9Wz5oCvA],  
primary term [1], message [failed to perform indices:data/write/bulk[s] on replica  
[dfi\_flow\_pkt\_hdr\_batch\_\_0\_2687x1d\_17061408][4], node[SEcmqqMpTw6bqNycpMSQ-A], [R],  
recovery\_source[peer recovery], s[INITIALIZING], a[id=D6BpiMMRSuGN-r9Wz5oCvA],  
unassigned\_info[[reason=INDEX\_CREATED], at[2017-06-14T00:00:02.667Z], delayed=false,  
allocation\_status[no\_attempt]]], failure [NodeDisconnectedException[[node-172.19.1.33][172.19.1.33:20041]  
[indices:data/write/bulk[s][r]] disconnected]]  
org.elasticsearch.transport.NodeDisconnectedException: [node-172.19.1.33][172.19.1.33:20041]  
[indices:data/write/bulk[s][r]] disconnected

* * *

So, What I will do to resolve this issue?

---

<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:** [June 18, 2017, 8:54am UTC](https://discuss.elastic.co/t/need-help-elasticsearch-5-2-2-1-noarch-yellow-with-shards-stuck-initializing/89358/2 "2017-06-18T08:54:48Z")

</div>

What do the logs show on the `172.19.1.33` node?

> [@ShellMount](#):
>
> thread\_pool.bulk.queue\_size: 8192

That's a little excessive.

---

<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 16, 2017, 8:54am UTC](https://discuss.elastic.co/t/need-help-elasticsearch-5-2-2-1-noarch-yellow-with-shards-stuck-initializing/89358/3 "2017-07-16T08:54:56Z")

</div>

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