dlmarion commented on PR #5749:
URL: https://github.com/apache/accumulo/pull/5749#issuecomment-3104936532

   As of 3fe8748 things appear to be functioning. There is an oddity in the 
config command output, but I think that it's somewhat consistent with how the 
system configuration is reported. The client connects to a random server 
(unless you specify the system property 
`org.apache.accumulo.client.rpc.debug.host`) and ConfigCommand reports the 
`system` configuration from that server's merged view.
   
   You can see in the snippet below that the system configuration is not 
reported in the first case because it's not different from the default 
configuration. However, the system and and default resource group values are 
reported as being the same in the second case.
   
   ```
   root@accumulo214> config -f compaction.warn
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   SCOPE      | NAME                                        | VALUE
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   default    | compaction.warn.time ...................... | 10m
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   root@accumulo214> config -rg default -s compaction.warn.time=3m
   root@accumulo214> config -f compaction.warn
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   SCOPE      | NAME                                        | VALUE
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   default    | compaction.warn.time ...................... | 10m
   system     |    @override .............................. | 3m
   rg default |    @override .............................. | 3m
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   ```
   
   Here is an example with a second resource group:
   
   ```
   root@accumulo214> resourcegroup -c test123
   root@accumulo214> config -rg test123 -s compaction.warn.time=5m
   root@accumulo214> config -f compaction.warn
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   SCOPE      | NAME                                        | VALUE
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   default    | compaction.warn.time ...................... | 10m
   system     |    @override .............................. | 3m
   rg default |    @override .............................. | 3m
   rg test123 |    @override .............................. | 5m
   
-----------+---------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
   ```
   
   If we started another server in the `test123` resource group, then the 
`system` value would be reported as `5m` here.


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