# Shard cannot be allocated to the same node on which a copy of the shard already exists

**URL:** <https://discuss.elastic.co/t/shard-cannot-be-allocated-to-the-same-node-on-which-a-copy-of-the-shard-already-exists/205231>\
**Category:** Elasticsearch\
**Created:** [October 25, 2019, 10:13am UTC](https://discuss.elastic.co/t/shard-cannot-be-allocated-to-the-same-node-on-which-a-copy-of-the-shard-already-exists/205231 "2019-10-25T10:13:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![111168](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111168/32/46709_2.png) [@111168](https://discuss.elastic.co/u/111168)\
**Post date:** [October 25, 2019, 10:13am UTC](https://discuss.elastic.co/t/shard-cannot-be-allocated-to-the-same-node-on-which-a-copy-of-the-shard-already-exists/205231/1 "2019-10-25T10:13:01Z")

</div>

помогите плиз с kibana выдал 503  
curl -XGET 10.128.0.5:9200/\_cluster/allocation/explain?pretty  
выдал  
cannot allocate because allocation is not permitted to any of the nodes  
и  
the shard cannot be allocated to the same node on which a copy of the shard already exists  
ну я всем индесам тогда сделал  
curl -X PUT "10.128.0.5:9200/apm-7.1.1-transaction-2019.10.25/\_settings?pretty" -H 'Content-Type: application/json' -d'  
{  
"index" : {  
"number\_of\_replicas" : 0  
}  
}  
'  
сейчас curl -XGET 10.128.0.5:9200/\_cat/shards все в STARTED ток

сейчас curl -XGET 10.128.0.5:9200/\_cluster/allocation/explain?pretty дает  
{  
"error" : {  
"root\_cause" : [  
{  
"type" : "illegal\_argument\_exception",  
"reason" : "unable to find any unassigned shards to explain [ClusterAllocationExplainRequest[useAnyUnassignedShard=true,includeYesDecisions?=false]"  
}  
],  
"type" : "illegal\_argument\_exception",  
"reason" : "unable to find any unassigned shards to explain [ClusterAllocationExplainRequest[useAnyUnassignedShard=true,includeYesDecisions?=false]"  
},  
"status" : 400  
}

---

<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:** [November 22, 2019, 10:13am UTC](https://discuss.elastic.co/t/shard-cannot-be-allocated-to-the-same-node-on-which-a-copy-of-the-shard-already-exists/205231/2 "2019-11-22T10:13:07Z")

</div>

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