版本:es 6.3
想要禁用分片分配:
想要禁用分片分配:
PUT _cluster/settings
{
"persistent": {
"cluster": {
"routing": {
"allocation.enable": "none"
}
}
}
}
报错信息如下:{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason":"unknown setting [archive.xpack.monitoring.collection.enabled] did you mean [xpack.monitoring.collection.enabled]?"
}
],
"type": "illegal_argument_exception"
"reason": "unknown setting [archive.xpack.monitoring.collection.enabled] did you mean [xpack.monitoring.collection.enabled]?"
},
"status": 400
}
不知道哪里出了问题,哪位大佬指点我一下,感激不尽..
5 个回复
rochy - rochy_he
赞同来自: juin
rochy - rochy_he
赞同来自:
juin - 大数据开发
赞同来自:
GET _cluster/settings
得到这些信息
,然而在另一个集群上同样的操作获取到的是
怎么才能更改成第二种状态
rochy - rochy_he
赞同来自:
ddys
赞同来自:
"unknown setting [archive.xpack.monitoring.collection.enabled] did you mean [xpack.monitoring.collection.enabled]
使用xpack.monitoring.collection.enabled这个试试呗