Skip to content

No obvious way to delete persistent cluster admin settings #3670

@andrewclegg

Description

@andrewclegg

There's no delete API for these, if you want to set them back to defaults on next startup.

karmi on irc suggested setting them to the empty string, e.g.:

curl -XPUT 'localhost:9200/_cluster/settings' -d '{"persistent":{"threadpool.search.type":""}}'

But then on next restart I got warnings like this:

[2013-09-11 20:08:41,548][WARN ][node.settings            ] [lo3uppaldbs009.palomino.pearson.com] failed to refresh settings for [org.elasticsearch.threadpool.ThreadPool$ApplySettings@49e3f731]
org.elasticsearch.ElasticSearchIllegalArgumentException: No type found [], for [search]
        at org.elasticsearch.threadpool.ThreadPool.rebuild(ThreadPool.java:452)
        at org.elasticsearch.threadpool.ThreadPool.updateSettings(ThreadPool.java:468)
        at org.elasticsearch.threadpool.ThreadPool$ApplySettings.onRefreshSettings(ThreadPool.java:809)
        at org.elasticsearch.node.settings.NodeSettingsService.clusterChanged(NodeSettingsService.java:84)
        at org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:321)
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)

So now I have no way to tell what kind of thread pool I have.

Version: 0.90.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions