{
"error": {
"root_cause": [
{
"type": "illegal_state_exception",
"reason": "the number of routing shards [5] must be a multiple of the target shards [10]"
}
],
"type": "illegal_state_exception",
"reason": "the number of routing shards [5] must be a multiple of the target shards [10]"
},
"status": 500
}
i wanna split my "transactions-reindexed-2018.12.03-01" index with 5 shards to 10 shards.
I don't have an index named t2 till I create using the 1 step of the split command.
What I am doing wrong here?
The index you want to split (t2 in the example) must have been created with index.number_of_routing_shards set. If you are looking to split transactions-reindexed-2018.12.03-01 into a new index named t2 you will need to swap the index names in the example I provided. If the index you want to split was not created with the index.number_of_routing_shards parameter, split will not work and you instead need to reindex.
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.