EdColeman opened a new pull request, #3141:
URL: https://github.com/apache/accumulo/pull/3141

   The `ConfigCheckUtil.validate` function logs  issues with properties, but 
does not include an id to help  find where the issue is occurring.  This PR 
adds the namespace or table id - or if an id is not provided, it assumes the 
property is from the site configuration.
   
   This was noticed after upgrading a 2.1 instance with replication configured. 
PR #3137 is independent of these changes, but this PR does provide additional 
information once upgrades are possible with PR #3137
   
   Before the changes, the logs looks like:
   ```
   2022-12-27T17:55:57,477 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.name)
   2022-12-27T17:55:57,477 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.password.peer1)
   2022-12-27T17:55:57,477 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.peer1)
   2022-12-27T17:55:57,477 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.user.peer1)
   2022-12-27T17:55:57,485 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.name)
   2022-12-27T17:55:57,485 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.password.peer1)
   2022-12-27T17:55:57,485 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.peer1)
   2022-12-27T17:55:57,485 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.user.peer1)
   
   ```
   
   With these changes:
   ```
   2022-12-27T22:15:30,945 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.name) for site
   
   2022-12-27T18:49:40,286 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.name) for +accumulo
   2022-12-27T18:49:40,286 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.password.peer1) for +accumulo
   2022-12-27T18:49:40,286 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.peer1) for +accumulo
   2022-12-27T18:49:40,286 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.user.peer1) for +accumulo
   2022-12-27T18:49:40,293 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.name) for +r
   2022-12-27T18:49:40,293 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.password.peer1) for +r
   2022-12-27T18:49:40,293 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.peer1) for +r
   2022-12-27T18:49:40,293 [conf.ConfigCheckUtil] WARN : BAD CONFIG 
unrecognized property key (replication.peer.user.peer1) for +r
   2022-12-27T18:49:40,299 [balancer.TableLoadBalancer] INFO : Loaded class 
org.apache.accumulo.core.spi.balancer.SimpleLoadBalancer for table +r
   
   ```
   


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

Reply via email to