Elasticsearch:如何删除(群集)设置 [英] Elasticsearch: HOW-TO delete a (cluster) setting

查看:100
本文介绍了Elasticsearch:如何删除(群集)设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前的光泽配置设置如下:

my current luster configuration settings look like this :

{
  "persistent": {
    "indices": {
      "store": {
        "throttle": {
          "type": "none",
          "max_bytes_per_sec": "150mb"
        }
      }
    }
  },
  "transient": {}
}

,我想知道如何删除设置的"max_bytes_per_sec" 部分.

and am wondering how can i delete the "max_bytes_per_sec" part of the settings.

请问您对此有何建议?

推荐答案

好的.我发现了如何删除持久设置: 您转到主节点的已定义数据路径, 更具体地说,nodes/0/_state(在我的情况下) 然后删除全局状态文件.然后重新启动elasticsearch.

alright. i found how to delete a persistent setting: you go to the defined data path of the master node, more specifically, nodes/0/_state (in my case) and you delete the global state file. then restart elasticsearch.

这篇关于Elasticsearch:如何删除(群集)设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆