I need some help figuring out data tiers, searcheable snapshots and the frozen tier.
Consider this:
GET _cat/nodes?v&h=name,node.role&s=name
name node.role
es01 hms
es02 mw
es03 cm
es04 fm
POST _snapshot/orders_snapshots_repository/orders-2020/_mount?wait_for_completion=true
{
"index": "orders-20201231",
"strorage": "shared_cache",
"index_settings": {
"index.number_of_replicas": 0,
"index.routing.allocation.include._tier_preference": "data_frozen"
},
"ignore_index_settings": [ "index.refresh_interval" ]
}
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "[data_frozen] tier can only be used for partial searchable snapshots"
}
],
"type" : "illegal_argument_exception",
"reason" : "[data_frozen] tier can only be used for partial searchable snapshots"
},
"status" : 400
}
Why am I getting this error? My goal here is to get this snapshot mounted in my data_frozen tier (es04). If I take out the index.routing.allocation.include._tier_preference index setting the index gets mounted, but in my data_cold tier (es03).
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.