private static String register(String key, Validator validator) {
    LOG.debug("Registering config validator for {}", key);
    validators.put(key, validator);
    return key;
  }
Validates the configuration.
@param conf a configuration to validate
hbase-common/src/main/java/org/apache/hadoop/hbase/conf/ConfigKey.java