Здравствуйте! Помогите пожалуйста, после сбоя не происходит распределения/восстановления шард. Статус кластера застрял на желтом, вижу что шарды не восстанавливаются.
yellow open tenders_index_2017 XUu1wCCYRfeFOqCenTfx3w 6 1 45490898 20858517 911.7gb 911.7gb
yellow open tenders_index_2018 VTeZfZsKRL-wUlm-eVZdkQ 6 1 13819362 8781152 269.4gb 269.4gb
yellow open contracts_index_all 7tJyMl_sQsGMMweXdEZxWQ 6 1 112056107 1524990 35.6gb 35.6gb
green open tenders_index_2016 A52oUWlVROOaO0GXTmSMCg 6 0 28746938 375544 137.7gb 137.7gb
Спасибо за быстрый ответ!
{
"index": "tenders_index_2018",
"shard": 4,
"primary": false,
"current_state": "unassigned",
"unassigned_info": {
"reason": "CLUSTER_RECOVERED",
"at": "2018-04-19T15:28:47.389Z",
"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": "-7AEfximRNieGIMlvIH19A",
"node_name": "WIN-1",
"transport_address": "192.168.0.1:9300",
"node_decision": "no",
"deciders": [
{
"decider": "disk_threshold",
"decision": "NO",
"explanation": "the node is above the low watermark cluster setting [cluster.routing.allocation.disk.watermark.low=85%], using more disk space than the maximum allowed [85.0%], actual free: [14.961986682375898%]"
}
]
},
{
"node_id": "TpMv7UjiRjSgME0lzeBZqQ",
"node_name": "WIN-2",
"transport_address": "192.168.0.2:9300",
"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 [[tenders_index_2018][4], node[TpMv7UjiRjSgME0lzeBZqQ], [P], s[STARTED], a[id=D8JkULEyTbSD-K1LQonCyw]]"
},
{
"decider": "disk_threshold",
"decision": "NO",
"explanation": "the node is above the low watermark cluster setting [cluster.routing.allocation.disk.watermark.low=85%], using more disk space than the maximum allowed [85.0%], actual free: [13.234659821408892%]"
}
]
}
]
}
Получается что шарды не реплицируются по причине недостаточного места?
Могу ли я отключить реплику и заново установить значение в 1, тогда произойдет перемещение?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.