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