Skip to content

Instantly share code, notes, and snippets.

@hackerzhut
Last active June 6, 2018 06:58
Show Gist options
  • Save hackerzhut/e8927502b194df35844461f97d7a8829 to your computer and use it in GitHub Desktop.
Save hackerzhut/e8927502b194df35844461f97d7a8829 to your computer and use it in GitHub Desktop.
Unallocated shard error
{
"index" : "82656-2018-04-11-br-11-vic.avro",
"shard" : 1,
"primary" : false,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "REPLICA_ADDED",
"at" : "2018-06-06T06:48:10.483Z",
"last_allocation_status" : "no_attempt"
},
"can_allocate" : "no",
"allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
"node_allocation_decisions" : [
{
"node_id" : "3N_aBzAZTGekSCw8sV6qkA",
"node_name" : "3N_aBzA",
"transport_address" : "172.20.0.3:9300",
"node_attributes" : {
"ml.machine_memory" : "8360587264",
"ml.max_open_jobs" : "20",
"ml.enabled" : "true"
},
"node_decision" : "no",
"deciders" : [
{
"decider" : "same_shard",
"decision" : "NO",
"explanation" : "the shard cannot be allocated to the same node on which a copy of the shard already exists [[82656-2018-04-11-br-11-vic.avro][1], node[3N_aBzAZTGekSCw8sV6qkA], [P], s[STARTED], a[id=ClM-krlyT7mq6FHQiFSBzw]]"
}
]
}
]
}
//curl -XGET localhost:9200/_cluster/allocation/explain?pretty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment