public class ConfigurationUtil extends Object
| Constructor and Description |
|---|
ConfigurationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends HadoopConfigurationProperty<?>> |
getMandatoryConfig(org.apache.hadoop.conf.Configuration config,
List<T> properties)
Gets value for the given keys or throws if one or more values are not found.
|
static <T extends HadoopConfigurationProperty<?>> |
getMandatoryConfig(org.apache.hadoop.conf.Configuration config,
T property)
Gets value for the given key or throws if value is not found.
|
public static <T extends HadoopConfigurationProperty<?>> String getMandatoryConfig(org.apache.hadoop.conf.Configuration config, T property) throws IOException
IOExceptionpublic static <T extends HadoopConfigurationProperty<?>> Map<String,String> getMandatoryConfig(org.apache.hadoop.conf.Configuration config, List<T> properties) throws IOException
IOExceptionCopyright © 2022. All rights reserved.