public class ConfigurationUtil extends Object
Constructor and Description |
---|
ConfigurationUtil() |
Modifier and Type | Method and Description |
---|---|
static Properties |
getLocalFSProperties() |
static void |
mergeConf(org.apache.hadoop.conf.Configuration origConf,
org.apache.hadoop.conf.Configuration replaceConf) |
static void |
replaceConfigForLocalMode(org.apache.hadoop.conf.Configuration configuration) |
static org.apache.hadoop.conf.Configuration |
toConfiguration(Properties properties) |
static org.apache.hadoop.conf.Configuration |
toConfiguration(Properties properties,
boolean loadDefaults) |
static Properties |
toProperties(org.apache.hadoop.conf.Configuration configuration) |
public static org.apache.hadoop.conf.Configuration toConfiguration(Properties properties)
public static org.apache.hadoop.conf.Configuration toConfiguration(Properties properties, boolean loadDefaults)
public static Properties toProperties(org.apache.hadoop.conf.Configuration configuration)
public static void mergeConf(org.apache.hadoop.conf.Configuration origConf, org.apache.hadoop.conf.Configuration replaceConf)
origConf
- replaceConf
- public static Properties getLocalFSProperties()
public static void replaceConfigForLocalMode(org.apache.hadoop.conf.Configuration configuration)
Copyright © 2007-2012 The Apache Software Foundation