public void setValueFor(String configName, String value) {
    AmbariServerConfigurationKey ambariServerConfigurationKey = AmbariServerConfigurationKey.translate(getCategory(), configName);
    if (ambariServerConfigurationKey != null) {
      setValueFor(ambariServerConfigurationKey, value);
    }
  }
Sets the given value for the given configuration

@param configName
         the name of the configuration to set the value for
@param value
         the new value

@throws IllegalArgumentException
          in case the supplied configuration does not belong to the
          configuration category of this instance
ambari-server/src/main/java/org/apache/ambari/server/configuration/AmbariServerConfiguration.java