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

   Been working through this slowly. 
   
   Found an issue where a `general.custom` property will not show up unless set 
explicitly. 
   
   I believe this is the expected behavior where the connected process is not 
in the "default" group so it doesn't see the property.
   ```
   # No properties exist
    root@uno> config -f custom
   
-----------+---------------------------------------------------------+---------------------
   SCOPE      | NAME                                                    | VALUE
   
-----------+---------------------------------------------------------+---------------------
   
-----------+---------------------------------------------------------+---------------------
   
   # Add custom property to resource group
   root@uno> config -s general.custom.test=failing -rg default
   
   # Check and see that no properties are visible to the process
   root@uno> config -f custom
   
-----------+---------------------------------------------------------+---------------------
   SCOPE      | NAME                                                    | VALUE
   
-----------+---------------------------------------------------------+---------------------
   
-----------+---------------------------------------------------------+---------------------
   ```
   This is the unexpected behavior as if I request a resource group I expect to 
see all properties within that group
   ```
   # A directed query of the resource group should return the set value
   root@uno> config -f custom -rg default
   
-----------+---------------------------------------------------------+---------------------
   SCOPE      | NAME                                                    | VALUE
   
-----------+---------------------------------------------------------+---------------------
   
-----------+---------------------------------------------------------+---------------------
   ```
   
   ```
   # The new property only shows up if the same property is set at the system 
level
   root@uno> config -s general.custom.test=passing
   root@uno> config -f custom
   
-----------+---------------------------------------------------------+---------------------
   SCOPE      | NAME                                                    | VALUE
   
-----------+---------------------------------------------------------+---------------------
   site       | general.custom.test ................................... | 
   system     |    @override .......................................... | 
passing
   rg default |    @override .......................................... | 
failing
   
-----------+---------------------------------------------------------+---------------------
   ```


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