org.apache.pig.backend.hadoop.datastorage
Class ConfigurationUtil

java.lang.Object
  extended by org.apache.pig.backend.hadoop.datastorage.ConfigurationUtil

public class ConfigurationUtil
extends Object


Constructor Summary
ConfigurationUtil()
           
 
Method Summary
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 Properties toProperties(org.apache.hadoop.conf.Configuration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationUtil

public ConfigurationUtil()
Method Detail

toConfiguration

public static org.apache.hadoop.conf.Configuration toConfiguration(Properties properties)

toProperties

public static Properties toProperties(org.apache.hadoop.conf.Configuration configuration)

mergeConf

public static void mergeConf(org.apache.hadoop.conf.Configuration origConf,
                             org.apache.hadoop.conf.Configuration replaceConf)
Parameters:
origConf -
replaceConf -

getLocalFSProperties

public static Properties getLocalFSProperties()

replaceConfigForLocalMode

public static void replaceConfigForLocalMode(org.apache.hadoop.conf.Configuration configuration)


Copyright © 2007-2012 The Apache Software Foundation