ddanielr opened a new pull request, #5779:
URL: https://github.com/apache/accumulo/pull/5779
Adds resource group summary information to the printed and json reports
produced by the `admin serviceStatus` command.
closes #5051
new printed summary output
```
ZooKeeper read errors: 0
Managers: count: 1
Monitors: count: 1
Garbage Collectors: count: 1
Tablet Servers: count: 3
Scan Servers: count: 3
resource groups:
default: 3
Coordinators: count: 1
Compactors: count: 5
resource groups:
q1: 2
q2: 3
```
new json summary output
```
./accumulo admin serviceStatus --json | jq
{
"reportTime": "2025-08-05T22:00:03.481Z",
"zkReadErrors": 0,
"showHosts": false,
"summaries": {
"COMPACTOR": {
"serviceType": "COMPACTOR",
"resourceGroups": {
"q1": 2,
"q2": 3
},
"serviceByGroups": {},
"serviceCount": 5,
"errorCount": 0
},
"COORDINATOR": {
"serviceType": "COORDINATOR",
"resourceGroups": {},
"serviceByGroups": {},
"serviceCount": 1,
"errorCount": 0
},
"GC": {
"serviceType": "GC",
"resourceGroups": {},
"serviceByGroups": {},
"serviceCount": 1,
"errorCount": 0
},
"MANAGER": {
"serviceType": "MANAGER",
"resourceGroups": {},
"serviceByGroups": {},
"serviceCount": 1,
"errorCount": 0
},
"MONITOR": {
"serviceType": "MONITOR",
"resourceGroups": {},
"serviceByGroups": {},
"serviceCount": 1,
"errorCount": 0
},
"S_SERVER": {
"serviceType": "S_SERVER",
"resourceGroups": {
"default": 3
},
"serviceByGroups": {},
"serviceCount": 3,
"errorCount": 0
},
"T_SERVER": {
"serviceType": "T_SERVER",
"resourceGroups": {},
"serviceByGroups": {},
"serviceCount": 3,
"errorCount": 0
}
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]