public static void validate(Configuration conf) {
    conf.iterator().forEachRemaining(entry -> {
      Validator validator = validators.get(entry.getKey());
      if (validator != null) {
        validator.validate(conf);
      }
    });
  }
Validates the configuration.
@param conf a configuration to validate
hbase-common/src/main/java/org/apache/hadoop/hbase/conf/ConfigKey.java