hlgp opened a new issue #1837:
URL: https://github.com/apache/accumulo/issues/1837


   **Describe the bug**
   Individual table-specific properties are able to be overridden in different 
table contexts with no clear indication of precedence.  For example, 
table.custom.balancer.host.regex.accumulo.metadata can be set to different 
values on every table.  In 
https://github.com/apache/accumulo/blob/main/server/base/src/main/java/org/apache/accumulo/server/master/balancer/HostRegexTableLoadBalancer.java#L112
   it gathers all table properties and basically the last one it reads is the 
one used. 
   
   
   **To Reproduce**
   set the accumulo metadata table regex to different values under different 
table contexts and see which is chosen  in the balancer log message.
   
   
   **Expected behavior**
   One would expect, given the tablename in the property, that the namesake 
table setting would take precedence followed by the system level.  It seems odd 
from a design point of view to be able to override values within a table 
context and yet have properties with table names.  If each table has 
table.custom.balancer.host.regex (sans tablename) set within its context, that 
would make sense, but the ability to override something as critical as the 
accumulo.metadata regex under myCrummyTestTable settings seems off.
   
   


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