EdColeman commented on PR #4567:
URL: https://github.com/apache/accumulo/pull/4567#issuecomment-2123601483

   The output changes in f5f92218bd organize services by resource group.  This 
slightly modifies the command and the json output.
   
   <details>
     <summary>text output</summary>
   
   ```
   > accumulo admin serviceStatus
   
   Report time: 2024-05-21T23:06:21.084Z
   ZooKeeper read errors: 0
   Managers: count: 1
     localhost:9999
   Monitors: count: 1
     localhost:9995
   Garbage Collectors: count: 1
     localhost:9998
   Tablet Servers: count: 2
     localhost:10000
     localhost:9997
   Scan Servers: count: 4
     resource groups:
       default
       sg1
     hosts (by group):
       default (2):
         localhost:10003
         localhost:9996
       sg1 (2):
         localhost:10004
         localhost:10005
   Coordinators: count: 1
     localhost:9132
   Compactors: count: 4
     resource groups:
       q1
       q2
     hosts (by group):
       q1 (2):
         localhost:9133
         localhost:9134
       q2 (2):
         localhost:9135
         localhost:9136
   ```
   
   </details>
   
   <details>
      <summary>json output (formatted with jq)</summary>
   
   ```
   > accumulo admin serviceStatus --json | jq
   
   {
     "reportTime": "2024-05-21T23:06:31.596Z",
     "zkReadErrors": 0,
     "noHosts": false,
     "summaries": {
       "COMPACTOR": {
         "serviceType": "COMPACTOR",
         "resourceGroups": [
           "q1",
           "q2"
         ],
         "serviceByGroups": {
           "q1": [
             "localhost:9133",
             "localhost:9134"
           ],
           "q2": [
             "localhost:9135",
             "localhost:9136"
           ]
         },
         "serviceCount": 4,
         "errorCount": 0
       },
       "COORDINATOR": {
         "serviceType": "COORDINATOR",
         "resourceGroups": [],
         "serviceByGroups": {
           "NO_GROUP": [
             "localhost:9132"
           ]
         },
         "serviceCount": 1,
         "errorCount": 0
       },
       "GC": {
         "serviceType": "GC",
         "resourceGroups": [],
         "serviceByGroups": {
           "NO_GROUP": [
             "localhost:9998"
           ]
         },
         "serviceCount": 1,
         "errorCount": 0
       },
       "MANAGER": {
         "serviceType": "MANAGER",
         "resourceGroups": [],
         "serviceByGroups": {
           "NO_GROUP": [
             "localhost:9999"
           ]
         },
         "serviceCount": 1,
         "errorCount": 0
       },
       "MONITOR": {
         "serviceType": "MONITOR",
         "resourceGroups": [],
         "serviceByGroups": {
           "NO_GROUP": [
             "localhost:9995"
           ]
         },
         "serviceCount": 1,
         "errorCount": 0
       },
       "S_SERVER": {
         "serviceType": "S_SERVER",
         "resourceGroups": [
           "default",
           "sg1"
         ],
         "serviceByGroups": {
           "default": [
             "localhost:10003",
             "localhost:9996"
           ],
           "sg1": [
             "localhost:10004",
             "localhost:10005"
           ]
         },
         "serviceCount": 4,
         "errorCount": 0
       },
       "T_SERVER": {
         "serviceType": "T_SERVER",
         "resourceGroups": [],
         "serviceByGroups": {
           "NO_GROUP": [
             "localhost:10000",
             "localhost:9997"
           ]
         },
         "serviceCount": 2,
         "errorCount": 0
       }
     }
   }
   
   ```
   </details>
   


-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to