Remove cluster setting


(Pjanzen) #1

Hi All,

I have a setting archived.indices.store.throttle.type which is not recognized anymore in 6.2.4 but I cannot seem to remove it..

I have tried:

curl -H "Content-Type: application/json" -XPUT 'http://xxxxx:9200/_cluster/settings' -d '{
  "transient" : { "archived.indices.store.throttle.type": "" }
}'

The error I get is:

{
	"error": {
		"root_cause": [{
			"type": "illegal_argument_exception",
			"reason": "transient setting [archived.indices.store.throttle.type], not recognized"
		}],
		"type": "illegal_argument_exception",
		"reason": "transient setting [archived.indices.store.throttle.type], not recognized"
	},
	"status": 400
}

The _cluster/settings shows me the following:

{
  "persistent" : {
    "archived" : {
      "indices" : {
        "store" : {
          "throttle" : {
            "max_bytes_per_sec" : "200mb"
          }
        }
      }
    },
    "indices" : {
      "recovery" : {
        "max_bytes_per_sec" : "500mb"
      }
    }
  },
  "transient" : {
    "archived" : {
      "indices" : {
        "store" : {
          "throttle" : {
            "type" : "merge"
          }
        }
      }
    },
    "cluster" : {
      "routing" : {
        "allocation" : {
          "enable" : "all"
        }
      }
    }
  }
}

I am a bit stuck here as it would seem...


(Alexander Reelsen) #2

try setting the setting to null


(Pjanzen) #3

I tried the following commands:

  1. curl -H "Content-Type: application/json" -XPUT 'http://xxxx:9200/_cluster/settings' -d '{ "persistent" : { "archived.indices.store.throttle.max_bytes_per_sec":"" }}'
  2. curl -H "Content-Type: application/json" -XPUT 'http:/xxxx:9200/_cluster/settings' -d '{ "persistent" : { "archived.indices.store.throttle.max_bytes_per_sec":null }}'

In both cases I get:

{
	"error": {
		"root_cause": [{
			"type": "illegal_argument_exception",
			"reason": "unknown setting [archived.indices.store.throttle.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
		}],
		"type": "illegal_argument_exception",
		"reason": "unknown setting [archived.indices.store.throttle.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
	},
	"status": 400
}

I must be able to unset a setting I would guess...

As it is a persistent setting you would guess it is set in my elasticsearch.yml file but that is not the case either.

cluster.name: reporting
node.name: xxxxxx
path.data: /opt/elasticdb/data
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: ['1.2.3.4', '127.0.0.1']
discovery.zen.ping.unicast.hosts: ["some hosts, just assume its correct."]
discovery.zen.minimum_master_nodes: 2
gateway.recover_after_time: 2m
http.cors.enabled: true
http.cors.allow-origin: "/.*/"
# x-pack
xpack.security.enabled: false
xpack.monitoring.collection.indices: obiee_nlmail,obiee_ukmail
xpack.monitoring.collection.enabled: true

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.