keith-turner edited a comment on issue #1612:
URL: https://github.com/apache/accumulo/issues/1612#issuecomment-650478848


   > Would the ids persist and be consistent across restarts?
   
   Yeah.  The ids are based on user provided names in configuration.  For 
example the following configuration will create a compaction service named 
`cs1` with three executors named `small`,`medium`,`large`.  
   
   ```
   
tserver.compaction.major.service.cs1.planner=org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
   
tserver.compaction.major.service.cs1.planner.opts.executors=[{"name":"small","maxSize":"16M","numThreads":3},{"name":"medium","maxSize":"128M","numThreads":2},{"name":"large","numThreads":2}]
   ```
   
   This would result in the following metrics : 
   
    * prefix_cs1_small_running
    * prefix_cs1_small_queued
    * prefix_cs1_medium_running
    * prefix_cs1_medium_queued
    * prefix_cs1_large_running
    * prefix_cs1_large_queued
   
   Not sure what the actual prefix would be, would need to dig around in the 
code.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to