org.apache.hadoop.hive.conf
Class HiveConf
java.lang.Object
org.apache.hadoop.conf.Configuration
org.apache.hadoop.hive.conf.HiveConf
- All Implemented Interfaces:
- Iterable<Map.Entry<String,String>>, org.apache.hadoop.io.Writable
public class HiveConf
- extends org.apache.hadoop.conf.Configuration
Hive Configuration
Nested classes/interfaces inherited from class org.apache.hadoop.conf.Configuration |
org.apache.hadoop.conf.Configuration.IntegerRanges |
Methods inherited from class org.apache.hadoop.conf.Configuration |
addResource, addResource, addResource, addResource, clear, get, get, getBoolean, getClass, getClass, getClassByName, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getFile, getFloat, getInt, getLocalPath, getLong, getRange, getRaw, getResource, getStringCollection, getStrings, getStrings, iterator, main, readFields, reloadConfiguration, set, setBoolean, setClass, setClassLoader, setInt, setLong, setQuietMode, setStrings, size, toString, write, writeXml |
hiveJar
protected String hiveJar
origProp
protected Properties origProp
auxJars
protected String auxJars
metaVars
public static final HiveConf.ConfVars[] metaVars
- metastore related options that the db is initialized against
HiveConf
public HiveConf()
HiveConf
public HiveConf(Class<?> cls)
HiveConf
public HiveConf(org.apache.hadoop.conf.Configuration other,
Class<?> cls)
getIntVar
public static int getIntVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var)
getIntVar
public int getIntVar(HiveConf.ConfVars var)
getLongVar
public static long getLongVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var)
getLongVar
public long getLongVar(HiveConf.ConfVars var)
getFloatVar
public static float getFloatVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var)
getFloatVar
public float getFloatVar(HiveConf.ConfVars var)
getBoolVar
public static boolean getBoolVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var)
getBoolVar
public boolean getBoolVar(HiveConf.ConfVars var)
getVar
public static String getVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var)
setVar
public static void setVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
String val)
getVar
public String getVar(HiveConf.ConfVars var)
setVar
public void setVar(HiveConf.ConfVars var,
String val)
logVars
public void logVars(PrintStream ps)
applySystemProperties
public void applySystemProperties()
getChangedProperties
public Properties getChangedProperties()
getAllProperties
public Properties getAllProperties()
getJar
public String getJar()
getAuxJars
public String getAuxJars()
- Returns:
- the auxJars
setAuxJars
public void setAuxJars(String auxJars)
- Parameters:
auxJars
- the auxJars to set
getUser
public String getUser()
throws IOException
- Returns:
- the user name set in hadoop.job.ugi param or the current user from System
- Throws:
IOException
getColumnInternalName
public static String getColumnInternalName(int pos)
Copyright © 2009 The Apache Software Foundation