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
IOException
public static <T extends HadoopConfigurationProperty<?>> Map<String,String> getMandatoryConfig(org.apache.hadoop.conf.Configuration config, List<T> properties) throws IOException
IOException
Copyright © 2023. All rights reserved.