Apache BookKeeper · Schema
ClusterInfo
BookKeeper cluster-wide status and bookie count information.
ApacheDistributed SystemsLog StorageOpen SourceStorageStreaming
Properties
| Name | Type | Description |
|---|---|---|
| auditorElected | boolean | Whether an auditor has been elected. |
| auditorId | string | Socket address of the elected auditor. |
| clusterUnderReplicated | boolean | Whether any ledgers in the cluster are under-replicated. |
| ledgerReplicationEnabled | boolean | Whether ledger replication is enabled. |
| totalBookiesCount | integer | Total number of bookies in the cluster. |
| writableBookiesCount | integer | Number of bookies available for writes. |
| readonlyBookiesCount | integer | Number of read-only bookies. |
| unavailableBookiesCount | integer | Number of unavailable bookies. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/apache-bookkeeper/refs/heads/main/json-schema/bookkeeper-admin-cluster-info-schema.json",
"title": "ClusterInfo",
"description": "BookKeeper cluster-wide status and bookie count information.",
"type": "object",
"properties": {
"auditorElected": { "type": "boolean", "description": "Whether an auditor has been elected.", "example": true },
"auditorId": { "type": "string", "description": "Socket address of the elected auditor.", "example": "bookie1.example.com:3181" },
"clusterUnderReplicated": { "type": "boolean", "description": "Whether any ledgers in the cluster are under-replicated.", "example": false },
"ledgerReplicationEnabled": { "type": "boolean", "description": "Whether ledger replication is enabled.", "example": true },
"totalBookiesCount": { "type": "integer", "description": "Total number of bookies in the cluster.", "example": 3 },
"writableBookiesCount": { "type": "integer", "description": "Number of bookies available for writes.", "example": 3 },
"readonlyBookiesCount": { "type": "integer", "description": "Number of read-only bookies.", "example": 0 },
"unavailableBookiesCount": { "type": "integer", "description": "Number of unavailable bookies.", "example": 0 }
}
}