Pragash
Pragash

Reputation: 733

Elasticsearch fails to start with index and alias names need to be unique error

I have elasticsearch integrated into my app for a long time now. Since, a couple of days ago I get this weird behaviour. My elasticsearch instance is not starting. Following is the error I get. I tried to uninstall and reinstall elasticsearch but, that didn't work.

java.lang.IllegalStateException: index and alias names need to be unique, but alias [orders_development] and index [orders_development] have the same name

Upvotes: 4

Views: 2640

Answers (1)

Joseph Combs
Joseph Combs

Reputation: 919

I just encountered this same issue locally (macOS El Capitan). I resolved it by opening Activity Monitor and killing all java processes.

Upvotes: 1

Related Questions