public void setMetaConf(String key, String value) throws MetaException {
ConfVars confVar = HiveConf.getMetaConf(key);
if (confVar == null) {
throw new MetaException("Invalid configuration key " + key);
}
String validate = confVar.validate(value);
if (validate != null) {
throw new MetaException("Invalid configuration value " + value + " for key " + key +
" by " + validate);
}
Configuration configuration = getConf();