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 2018/12/20 23:08:51 UTC

[GitHub] keith-turner commented on a change in pull request #850: Add configSanityCheck to initialize. Fixes #834

keith-turner commented on a change in pull request #850: Add configSanityCheck to initialize. Fixes #834
URL: https://github.com/apache/accumulo/pull/850#discussion_r243446124
 
 

 ##########
 File path: server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
 ##########
 @@ -929,6 +930,7 @@ public void execute(final String[] args) {
     Opts opts = new Opts();
     opts.parseArgs("accumulo init", args);
     SiteConfiguration siteConfig = new SiteConfiguration();
+    ConfigSanityCheck.validate(siteConfig);
 
 Review comment:
   I have been in the 1.9 branch recently and I remember seeing the following.  Not sure if this was carried forward in 2.0 refactoring to remove singleton.
   
   https://github.com/apache/accumulo/blob/rel/1.9.2/core/src/main/java/org/apache/accumulo/core/conf/SiteConfiguration.java#L85

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services