My ES is in yellow state after another one node adding and restarting cluster. I have 4 unassigned shards (from 33), and here is response for one of unassigned shards:
{
"index" : "MY INDEX NAME",
"shard" : 0,
"primary" : false,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "ALLOCATION_FAILED",
"at" : "2021-04-29TTIME",
"failed_allocation_attempts" : 5,
"details" : "failed shard on node [9yWBUCXXXTIIbiA]: failed to create index, failure IllegalArgumentException[IOException while reading synonyms_path_path: /etc/elasticsearch/synonyms.txt]; nested: NoSuchFileException[/etc/elasticsearch/synonyms.txt]; ",
"last_allocation_status" : "no_attempt"
},
How I can fix it?