now stuck at 75.2% curl -XGET -u elastic:changeme 'localhost:9200/_cat/health?pretty' 1484915420 12:30:20 elasticsearch red 5 5 5656 2828 0 0 1870 0 - 75.2%
I can't fix it - tried to restore many times - gets up to 67.2% what do we do? restore from many days back? this shows many unallocated shards curl -XGET 'localhost:9200/_cat/shards?pretty' -u elastic:
Please provide some more details. Which Elasticsearch version are you on? What its the size and specification of the cluster? How many indices/shards do you have and what is the total data volume?
GET /_cluster/allocation/explain
{
"index": "my_index",
"shard": 0,
"primary": false
}
Replace my_index with your index name, 0 with the shard number that is
unassigned and false with true if the unassigned shard you wish to explain
is a primary shard.
This should give you a nice output for why the shard is unassigned.
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.