Hi,
i have i weird problem on elasticsearc 7.13 deployed on kubernetes.
Here my configuration:
3 master node
2 date node with heap 8gb and 100gb storage
2 shard and 1 replica
index size:
eventsched n° doc 317864006 size 24.6gb
dtech n° doc 190332087 size 28gb
cluster state
{
"cluster_name" : "elastic-bitnami",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 10,
"number_of_data_nodes" : 2,
"active_primary_shards" : 12,
"active_shards" : 19,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 5,
"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" : 79.16666666666666
}
shard allocation:
shards disk.indices disk.used disk.avail disk.total disk.percent host ip node
7 9.1mb 85gb 12.9gb 97.9gb 86 10.42.9.79 10.42.9.79 elastic-elasticsearch-data-1
12 52.7gb 52.8gb 45gb 97.9gb 53 10.42.10.177 10.42.10.177 elastic-elasticsearch-data-0
5 UNASSIGNED
Shard status
dtech 1 p STARTED
dtech 1 r UNASSIGNED NODE_LEFT
dtech 0 p STARTED
dtech 0 r UNASSIGNED PRIMARY_FAILED
eventsched 1 p STARTED
eventsched 1 r UNASSIGNED PRIMARY_FAILED
eventsched 0 p STARTED
eventsched 0 r UNASSIGNED PRIMARY_FAILED
allocation error:
{
"index" : "dtech",
"shard" : 1,
"primary" : false,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "NODE_LEFT",
"at" : "2021-08-21T06:29:36.005Z",
"details" : "node_left [6moXKkrRRcK8slQ-ZdIcDw]",
"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" : "6moXKkrRRcK8slQ-ZdIcDw",
"node_name" : "elastic-elasticsearch-data-1",
"transport_address" : "10.42.9.79:9300",
"node_attributes" : {
"xpack.installed" : "true",
"transform.node" : "true"
},
"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: [13.198729444367965%]"
}
]
Why the shard are not distribuited equally beyween the two data node?
Thanks
Cristian