You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/05/13 15:47:09 UTC

[GitHub] [accumulo] milleruntime commented on issue #2105: Improve ability to set JSON properties in Shell

milleruntime commented on issue #2105:
URL: https://github.com/apache/accumulo/issues/2105#issuecomment-840650560


   One of the issues right now is that the default values get displayed with two kinds of quotes:
   <pre>
   root@uno> config -f compaction.major.service
   -----------+--------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------
   SCOPE      | NAME                                                               | VALUE
   -----------+--------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------
   default    | tserver.compaction.major.service.default.planner ................. | org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
   default    | tserver.compaction.major.service.default.planner.opts.executors .. | [{'name':'small','maxSize':'32M','numThreads':2},{'name':'medium','maxSize':'128M','numThreads':2},{"name":"large","numThreads":2}]
   default    | tserver.compaction.major.service.default.planner.opts.maxOpen .... | 10
   default    | tserver.compaction.major.service.default.rate.limit .............. | 0B
   default    | tserver.compaction.major.service.meta.planner .................... | org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
   default    | tserver.compaction.major.service.meta.planner.opts.executors ..... | [{'name':'small','maxSize':'32M','numThreads':2},{"name":"huge","numThreads":2}]
   default    | tserver.compaction.major.service.meta.planner.opts.maxOpen ....... | 30
   default    | tserver.compaction.major.service.meta.rate.limit ................. | 0B
   default    | tserver.compaction.major.service.root.planner .................... | org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner
   default    | tserver.compaction.major.service.root.planner.opts.executors ..... | [{'name':'small','maxSize':'32M','numThreads':1},{"name":"huge","numThreads":1}]
   </pre>
   It wouldn't be so bad to copy and paste the JSON blob but right now I have to modify at least half of the quotes.


-- 
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:
users@infra.apache.org