3 Master with with master and remote_cluster_client role
3 Data with data role
3 Warm nodes with data_warm role
3 Cold nodes with data_cold role
1 ML nodes with ml role
1 Ingest nodes with ingest role
I have configured ILM to move data in x number of days to Hot/ Warm/ Cold nodes.
when I look at the index it has applied the ILM policy however it still in the data node and haven't moved the primary or replica shards to the relevant nodes.
Any reason that it doesn't move the shards ?
Other issue is I am trying to relocate the shards manually using /_cluster/reroute, initially it shows that it's trying to relocate, however after sometime shards are in the same node.
What am I doing wrong ? do I need to do anything else ?
For an explanation of the reasons why shards are allocated as they are in the cluster, use the cluster allocation explain API. If you need help interpreting its output, feel free to share the output (in full) here and we'll do our best to help.
I am getting a 400 for GET _cluster/allocation/explain
Output:
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "No shard was specified in the request which means the response should explain a randomly-chosen unassigned shard, but there are no unassigned shards in this cluster. To explain the allocation of an assigned shard you must specify the target shard in the request."
}
],
"type": "illegal_argument_exception",
"reason": "No shard was specified in the request which means the response should explain a randomly-chosen unassigned shard, but there are no unassigned shards in this cluster. To explain the allocation of an assigned shard you must specify the target shard in the request."
},
"status": 400
}
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.