DomGarguilo commented on pull request #2345:
URL: https://github.com/apache/accumulo/pull/2345#issuecomment-999719164
I think these changes are finished for now and ready for review. Here is an
example of the output:
<details open>
<summary>Input file</summary>
```
tserver.compaction.major.service.cs1.planner=org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
tserver.compaction.major.service.cs1.planner.opts.executors=\
[{"name":"small","type":"internal","maxSize":"16M","numThreads":8},\
{"name":"medium","type":"internal","maxSize":"128M","numThreads":4},\
{"name":"large","type":"internal","numThreads":2}]
tserver.compaction.major.service.cs2.planner=org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
tserver.compaction.major.service.cs2.planner.opts.executors=\
[{"name":"small","type":"internal","maxSize":"16M","numThreads":7},\
{"name":"medium","type":"internal","maxSize":"128M","numThreads":5},\
{"name":"large","type":"external","queue":"dcq1"}]
```
</details>
<details open>
<summary>Output from tool</summary>
```
dgarguilo@thor:~/github/accumulo$ accumulo check-compaction-config
~/Desktop/example.properties
2021-12-22T11:21:23,366 [conf.CheckCompactionConfig] INFO : Service id: cs1,
planner class:org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
2021-12-22T11:21:23,409 [conf.CheckCompactionConfig] INFO : Compaction
service 'cs1' requested creation of thread pool 'i.cs1.small' with 8 threads.
2021-12-22T11:21:23,409 [conf.CheckCompactionConfig] INFO : Compaction
service 'cs1' requested creation of thread pool 'i.cs1.large' with 2 threads.
2021-12-22T11:21:23,409 [conf.CheckCompactionConfig] INFO : Compaction
service 'cs1' requested creation of thread pool 'i.cs1.medium' with 4 threads.
2021-12-22T11:21:23,409 [conf.CheckCompactionConfig] INFO : Service id:
default, planner
class:org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
2021-12-22T11:21:23,411 [conf.CheckCompactionConfig] INFO : Compaction
service 'default' requested creation of thread pool 'i.default.small' with 2
threads.
2021-12-22T11:21:23,411 [conf.CheckCompactionConfig] INFO : Compaction
service 'default' requested creation of thread pool 'i.default.medium' with 2
threads.
2021-12-22T11:21:23,411 [conf.CheckCompactionConfig] INFO : Compaction
service 'default' requested creation of thread pool 'i.default.large' with 2
threads.
2021-12-22T11:21:23,411 [conf.CheckCompactionConfig] INFO : Service id: cs2,
planner class:org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
2021-12-22T11:21:23,413 [conf.CheckCompactionConfig] INFO : Compaction
service 'cs2' requested creation of thread pool 'i.cs2.medium' with 5 threads.
2021-12-22T11:21:23,413 [conf.CheckCompactionConfig] INFO : Compaction
service 'cs2' requested creation of thread pool 'i.cs2.small' with 7 threads.
2021-12-22T11:21:23,413 [conf.CheckCompactionConfig] INFO : Compaction
service 'cs2' requested with external execution queue 'e.dcq1'
2021-12-22T11:21:23,413 [conf.CheckCompactionConfig] INFO : Service id:
meta, planner
class:org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
2021-12-22T11:21:23,414 [conf.CheckCompactionConfig] INFO : Compaction
service 'meta' requested creation of thread pool 'i.meta.huge' with 2 threads.
2021-12-22T11:21:23,414 [conf.CheckCompactionConfig] INFO : Compaction
service 'meta' requested creation of thread pool 'i.meta.small' with 2 threads.
2021-12-22T11:21:23,414 [conf.CheckCompactionConfig] INFO : Service id:
root, planner
class:org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
2021-12-22T11:21:23,415 [conf.CheckCompactionConfig] INFO : Compaction
service 'root' requested creation of thread pool 'i.root.small' with 1 threads.
2021-12-22T11:21:23,415 [conf.CheckCompactionConfig] INFO : Compaction
service 'root' requested creation of thread pool 'i.root.huge' with 1 threads.
2021-12-22T11:21:23,415 [conf.CheckCompactionConfig] INFO : Properties file
has passed all checks.
```
</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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]