public class ConfigurationUtil
extends java.lang.Object
Constructor and Description |
---|
ConfigurationUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.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(java.util.Properties properties) |
static org.apache.hadoop.conf.Configuration |
toConfiguration(java.util.Properties properties,
boolean loadDefaults) |
static java.util.Properties |
toProperties(org.apache.hadoop.conf.Configuration configuration) |
public static org.apache.hadoop.conf.Configuration toConfiguration(java.util.Properties properties)
public static org.apache.hadoop.conf.Configuration toConfiguration(java.util.Properties properties, boolean loadDefaults)
public static java.util.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 java.util.Properties getLocalFSProperties()
public static void replaceConfigForLocalMode(org.apache.hadoop.conf.Configuration configuration)
Copyright © 2007-2012 The Apache Software Foundation