soabase / exhibitor

ZooKeeper co-process for instance monitoring, backup/recovery, cleanup and visualization.

Home Page:https://groups.google.com/forum/#!topic/exhibitor-users/PVkcd88mk8c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Storage of Automatic Instance Restarts Value?

KnightOfNight opened this issue · comments

Where is the value for the setting "Automatic Instance Restarts" actually stored? I can't find it in the configuration file that gets put down in S3 and I can't find any local filesystem changes to account for storing it. It doesn't appear to be a browser cookie either.

I believe it's stored in ControlPanelValue's cache.
It's a ControlPanelTypes called RESTARTS.
I think the key is com.netflix.exhibitor.control-panel.restarts
Been trying to figure a way to have it turned off, for the entire ensemble, by default

I know this is ancient but I'd like to answer anyways.
The setting is stored using Java's Preference API in Preferences.userRoot() by default.
The key is com.netflix.exhibitor.control-panel.restarts.
You should be able to specify a file based Preference path using the command line arg --prefspath /path/to/yourfile.properties. This would be a typical Java Properties file.
Inside that file you can then have:

com.netflix.exhibitor.control-panel.restarts=false

I haven't tested this though.