-
Notifications
You must be signed in to change notification settings - Fork 443
REST Cluster
APIs concerning the ZooKeeper ensemble instances. See REST Entities for descriptions of any arguments/results.
Returns the status of the entire cluster. NOTE: this will cause Exhibitor to make a REST call to each of the servers.
Method | GET |
URL | exhibitor/v1/cluster/status |
Argument | n/a |
Response | ServerStatus[] |
Returns the system state of the given instance in the ensemble.
Method | GET |
URL | exhibitor/v1/cluster/state/{hostname} |
Argument | n/a |
Response | ClusterState |
Turn on/off a control panel switch of the given instance in the ensemble.
Method | GET |
URL | exhibitor/v1/cluster/set/{type}/{value}/{hostname} |
Argument | n/a |
Response | Result |
type | |
---|---|
“restarts” | Instance restarts |
“unlistedRestarts” | Unlisted instance restarts |
“cleanup” | The log file cleanup task |
“backups” | The log file backup task |
value is a JSON boolean
Restart the given instance in the ensemble.
Method | GET |
URL | exhibitor/v1/cluster/restart/{hostname} |
Argument | n/a |
Response | Result |
Stop the given instance in the ensemble.
Method | GET |
URL | exhibitor/v1/cluster/stop/{hostname} |
Argument | n/a |
Response | Result |
Start the given instance in the ensemble.
Method | GET |
URL | exhibitor/v1/cluster/start/{hostname} |
Argument | n/a |
Response | Result |
Return the result of the ZooKeeper four letter word on the given instance in the ensemble.
Method | GET |
URL | exhibitor/v1/cluster/4ltr/{word}/{hostname} |
Argument | n/a |
Response | JSON string |
Return the Exhibitor log from the given instance in the ensemble.
Method | GET |
URL | exhibitor/v1/cluster/log/{hostname} |
Argument | n/a |
Response | JSON string |
Returns the system state of the local instance.
Method | GET |
URL | exhibitor/v1/cluster/state |
Argument | n/a |
Response | ClusterState |
Turn on/off a control panel switch of the local instance.
Method | GET |
URL | exhibitor/v1/cluster/set/{type}/{value} |
Argument | n/a |
Response | Result |
See remoteSetControlPanelSetting for type/value description.
Restart the local instance.
Method | GET |
URL | exhibitor/v1/cluster/restart |
Argument | n/a |
Response | Result |
Stop the local instance.
Method | GET |
URL | exhibitor/v1/cluster/stop |
Argument | n/a |
Response | Result |
Start the local instance.
Method | GET |
URL | exhibitor/v1/cluster/start |
Argument | n/a |
Response | Result |
Return the result of the ZooKeeper four letter word on the local instance.
Method | GET |
URL | exhibitor/v1/cluster/4ltr/{word} |
Argument | n/a |
Response | JSON string |
Return the Exhibitor log from the local instance.
Method | GET |
URL | exhibitor/v1/cluster/log |
Argument | n/a |
Response | JSON string |
Return the server list from the Shared Configuration
Method | GET |
URL | exhibitor/v1/cluster/list |
Argument | n/a |
Response | Servers |
Shutdown the Exhibitor instance
Method | GET |
URL | exhibitor/v1/ui/shutdown |
Argument | n/a |
Response | n/a |
Contents
- Top
- Standalone Version
- WAR File
- Core/Library
- Features
- Shared Configuration
- Using Exhibitor
- REST API
- Contributions