Cluster Status is Yellow


(Sukesh) #1

I am running ES cluster with 4 Data nodes, each has 100GB free disk space. But my cluster status is Yellow. There are unassigned shards in the newly created index.

is "active_shards_percent_as_number": 99.61656441717791 the reason ?
Please find the cluster status and index status below,

Cluster status
{
"cluster_name": "cluster_name",
"status": "yellow",
"timed_out": false,
"number_of_nodes": 7,
"number_of_data_nodes": 4,
"active_primary_shards": 652,
"active_shards": 1299,
"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": 99.61656441717791
}

Index Status
"index_name-09-05-18": {
"status": "yellow",
"number_of_shards": 5,
"number_of_replicas": 1,
"active_primary_shards": 5,
"active_shards": 5,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 5,
"shards": {
"0": {
"status": "yellow",
"primary_active": true,
"active_shards": 1,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1
},
"1": {
"status": "yellow",
"primary_active": true,
"active_shards": 1,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1
},
"2": {
"status": "yellow",
"primary_active": true,
"active_shards": 1,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1
},
"3": {
"status": "yellow",
"primary_active": true,
"active_shards": 1,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1
},
"4": {
"status": "yellow",
"primary_active": true,
"active_shards": 1,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1
}
}
},


(Julien) #2

You should find why the shard is not allocating using allocation explain API and then if you think the issue was solved, you can retry the allocation


(system) #3

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