Modifier and Type | Class and Description |
---|---|
static class |
HiveConf.ConfVars
ConfVars.
|
static interface |
HiveConf.EncoderDecoder<K,V> |
static class |
HiveConf.EncoderDecoderFactory |
static class |
HiveConf.StrictChecks |
static class |
HiveConf.URLEncoderDecoder |
Modifier and Type | Field and Description |
---|---|
protected String |
auxJars |
static HiveConf.ConfVars[] |
dbVars
dbVars are the parameters can be set per database.
|
static HiveConf.ConfVars[] |
ENCODED_CONF
encoded parameter values are ;-) encoded.
|
static String |
HIVE_LLAP_DAEMON_SERVICE_PRINCIPAL_NAME |
static String |
HIVE_SERVER2_AUTHENTICATION_LDAP_USERMEMBERSHIPKEY_NAME |
protected String |
hiveJar |
static HiveConf.ConfVars[] |
metaConfVars
User configurable Metastore vars
|
static HiveConf.ConfVars[] |
metaVars
Metastore related options that the db is initialized against.
|
protected Properties |
origProp |
static String |
PREFIX_HIVE_LLAP |
static String |
PREFIX_LLAP |
Constructor and Description |
---|
HiveConf() |
HiveConf(Class<?> cls) |
HiveConf(org.apache.hadoop.conf.Configuration other,
Class<?> cls) |
HiveConf(HiveConf other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addToRestrictList(String restrictListStr)
Append comma separated list of config vars to the restrict List
|
static String |
generateMrDeprecationWarning() |
Properties |
getAllProperties() |
String |
getAuxJars() |
static boolean |
getBoolVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
static boolean |
getBoolVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
boolean defaultVal) |
boolean |
getBoolVar(HiveConf.ConfVars var) |
Properties |
getChangedProperties() |
static String |
getColumnInternalName(int pos) |
static Map<String,String> |
getConfSystemProperties()
This method returns a mapping from config variable name to its value for all config variables
which have been set using System properties
|
static HiveConf.ConfVars |
getConfVars(String name) |
static TimeUnit |
getDefaultTimeUnit(HiveConf.ConfVars var) |
static float |
getFloatVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
static float |
getFloatVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
float defaultVal) |
float |
getFloatVar(HiveConf.ConfVars var) |
URL |
getHiveDefaultLocation() |
static URL |
getHiveServer2SiteLocation() |
static URL |
getHiveSiteLocation() |
static int |
getIntVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
int |
getIntVar(HiveConf.ConfVars var) |
String |
getJar() |
static Set<String> |
getLlapDaemonConfVars()
Get a set containing configuration parameter names used by LLAP Server isntances
|
java.time.ZoneId |
getLocalTimeZone()
Obtains the local time-zone ID.
|
String |
getLogIdVar(String defaultValue) |
static long |
getLongVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
static long |
getLongVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
long defaultVal) |
long |
getLongVar(HiveConf.ConfVars var) |
static HiveConf.ConfVars |
getMetaConf(String name) |
static URL |
getMetastoreSiteLocation() |
static String |
getNonMrEngines() |
static HashMap<String,HiveConf.ConfVars> |
getOrCreateReverseMap() |
static int |
getPositionFromInternalName(String internalName) |
static Properties |
getProperties(org.apache.hadoop.conf.Configuration conf) |
String |
getQueryString() |
static String |
getQueryString(org.apache.hadoop.conf.Configuration conf) |
static long |
getSizeVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
long |
getSizeVar(HiveConf.ConfVars var) |
boolean |
getSparkConfigUpdated() |
static long |
getTimeVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
TimeUnit outUnit) |
long |
getTimeVar(HiveConf.ConfVars var,
TimeUnit outUnit) |
static String[] |
getTrimmedStringsVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
static String |
getTrimmedVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
String |
getUser() |
static String |
getVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
static String |
getVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
HiveConf.EncoderDecoder<String,String> encoderDecoder) |
static String |
getVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
String defaultVal) |
String |
getVar(HiveConf.ConfVars var) |
static String |
getVarWithoutType(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var) |
static boolean |
isEncodedPar(String name) |
boolean |
isHiddenConfig(String name) |
static boolean |
isLoadHiveServer2Config() |
static boolean |
isLoadMetastoreConfig() |
boolean |
isSparkDPPAny() |
static boolean |
isSparkDPPAny(org.apache.hadoop.conf.Configuration conf) |
boolean |
isSparkDPPOnlyMapjoin() |
boolean |
isWebUiEnabled() |
boolean |
isWebUiQueryInfoCacheEnabled() |
void |
logVars(PrintStream ps) |
static long |
multiplierFor(String unit) |
void |
setAuxJars(String auxJars)
Set the auxiliary jars.
|
static void |
setBoolVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
boolean val) |
void |
setBoolVar(HiveConf.ConfVars var,
boolean val) |
static void |
setFloatVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
float val) |
void |
setFloatVar(HiveConf.ConfVars var,
float val) |
static void |
setHivemetastoreSiteUrl(URL location) |
static void |
setHiveSiteLocation(URL location) |
static void |
setIntVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
int val) |
void |
setIntVar(HiveConf.ConfVars var,
int val) |
static void |
setLoadHiveServer2Config(boolean loadHiveServer2Config) |
static void |
setLoadMetastoreConfig(boolean loadMetastoreConfig) |
static void |
setLongVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
long val) |
void |
setLongVar(HiveConf.ConfVars var,
long val) |
void |
setModifiableWhiteListRegex(String paramNameRegex)
Set white list of parameters that are allowed to be modified
|
static void |
setQueryString(org.apache.hadoop.conf.Configuration conf,
String query) |
void |
setQueryString(String query) |
void |
setSparkConfigUpdated(boolean isSparkConfigUpdated) |
static void |
setTimeVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
long time,
TimeUnit timeunit) |
void |
setTimeVar(HiveConf.ConfVars var,
long time,
TimeUnit outUnit) |
static void |
setVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
String val) |
static void |
setVar(org.apache.hadoop.conf.Configuration conf,
HiveConf.ConfVars var,
String val,
HiveConf.EncoderDecoder<String,String> encoderDecoder) |
void |
setVar(HiveConf.ConfVars var,
String val) |
static String |
stringFor(TimeUnit timeunit) |
void |
stripHiddenConfigurations(org.apache.hadoop.conf.Configuration conf)
Strips hidden config entries from configuration
|
Map<String,String> |
subtree(String string) |
static long |
toSizeBytes(String value) |
static long |
toTime(String value,
TimeUnit inputUnit,
TimeUnit outUnit) |
static TimeUnit |
unitFor(String unit,
TimeUnit defaultUnit) |
void |
verifyAndSet(String name,
String value) |
void |
verifyAndSetAll(Map<String,String> overlay) |
addDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addDeprecations, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addTags, clear, dumpConfiguration, dumpConfiguration, dumpDeprecatedKeys, get, get, getAllPropertiesByTag, getAllPropertiesByTags, getBoolean, getClass, getClass, getClassByName, getClassByNameOrNull, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getDouble, getEnum, getFile, getFinalParameters, getFloat, getInstances, getInt, getInts, getLocalPath, getLong, getLongBytes, getPassword, getPasswordFromConfig, getPasswordFromCredentialProviders, getPattern, getPropertySources, getProps, getPropsWithPrefix, getRange, getRaw, getResource, getSocketAddr, getSocketAddr, getStorageSize, getStorageSize, getStringCollection, getStrings, getStrings, getTimeDuration, getTimeDuration, getTimeDuration, getTimeDuration, getTimeDurationHelper, getTimeDurations, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, isPropertyTag, iterator, main, onlyKeyExists, readFields, reloadConfiguration, reloadExistingConfigurations, set, set, setAllowNullValueProperties, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setDeprecatedProperties, setDouble, setEnum, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setRestrictSystemProperties, setRestrictSystemPropertiesDefault, setRestrictSystemProps, setSocketAddr, setStorageSize, setStrings, setTimeDuration, size, toString, unset, updateConnectAddr, updateConnectAddr, write, writeXml, writeXml, writeXml
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected String hiveJar
protected Properties origProp
protected String auxJars
@InterfaceAudience.Private public static final String PREFIX_LLAP
@InterfaceAudience.Private public static final String PREFIX_HIVE_LLAP
public static final HiveConf.ConfVars[] metaVars
public static final HiveConf.ConfVars[] metaConfVars
public static final String HIVE_LLAP_DAEMON_SERVICE_PRINCIPAL_NAME
public static final String HIVE_SERVER2_AUTHENTICATION_LDAP_USERMEMBERSHIPKEY_NAME
public static final HiveConf.ConfVars[] dbVars
public static final HiveConf.ConfVars[] ENCODED_CONF
public HiveConf()
public HiveConf(Class<?> cls)
public HiveConf(org.apache.hadoop.conf.Configuration other, Class<?> cls)
public HiveConf(HiveConf other)
public boolean getSparkConfigUpdated()
public void setSparkConfigUpdated(boolean isSparkConfigUpdated)
public static final Set<String> getLlapDaemonConfVars()
public void verifyAndSet(String name, String value) throws IllegalArgumentException
IllegalArgumentException
public boolean isHiddenConfig(String name)
public static boolean isEncodedPar(String name)
public static int getIntVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public static void setIntVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, int val)
public int getIntVar(HiveConf.ConfVars var)
public void setIntVar(HiveConf.ConfVars var, int val)
public static long getTimeVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, TimeUnit outUnit)
public static void setTimeVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, long time, TimeUnit timeunit)
public long getTimeVar(HiveConf.ConfVars var, TimeUnit outUnit)
public void setTimeVar(HiveConf.ConfVars var, long time, TimeUnit outUnit)
public static long getSizeVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public long getSizeVar(HiveConf.ConfVars var)
public static TimeUnit getDefaultTimeUnit(HiveConf.ConfVars var)
public static long toSizeBytes(String value)
public static long multiplierFor(String unit)
public static long getLongVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public static long getLongVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, long defaultVal)
public static void setLongVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, long val)
public long getLongVar(HiveConf.ConfVars var)
public void setLongVar(HiveConf.ConfVars var, long val)
public static float getFloatVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public static float getFloatVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, float defaultVal)
public static void setFloatVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, float val)
public float getFloatVar(HiveConf.ConfVars var)
public void setFloatVar(HiveConf.ConfVars var, float val)
public static boolean getBoolVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public static boolean getBoolVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, boolean defaultVal)
public static void setBoolVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, boolean val)
public static boolean isSparkDPPAny(org.apache.hadoop.conf.Configuration conf)
public boolean getBoolVar(HiveConf.ConfVars var)
public void setBoolVar(HiveConf.ConfVars var, boolean val)
public static String getVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public static String getVarWithoutType(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public static String getTrimmedVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public static String[] getTrimmedStringsVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var)
public static String getVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, String defaultVal)
public static String getVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, HiveConf.EncoderDecoder<String,String> encoderDecoder)
public static void setVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, String val)
public static void setVar(org.apache.hadoop.conf.Configuration conf, HiveConf.ConfVars var, String val, HiveConf.EncoderDecoder<String,String> encoderDecoder)
public static HiveConf.ConfVars getConfVars(String name)
public static HiveConf.ConfVars getMetaConf(String name)
public String getVar(HiveConf.ConfVars var)
public void setVar(HiveConf.ConfVars var, String val)
public String getQueryString()
public static String getQueryString(org.apache.hadoop.conf.Configuration conf)
public void setQueryString(String query)
public static void setQueryString(org.apache.hadoop.conf.Configuration conf, String query)
public void logVars(PrintStream ps)
public Properties getAllProperties()
public static Properties getProperties(org.apache.hadoop.conf.Configuration conf)
public java.time.ZoneId getLocalTimeZone()
public static Map<String,String> getConfSystemProperties()
public Properties getChangedProperties()
public String getJar()
public String getAuxJars()
public void setAuxJars(String auxJars)
auxJars
- the auxJars to set.public URL getHiveDefaultLocation()
public static void setHiveSiteLocation(URL location)
public static void setHivemetastoreSiteUrl(URL location)
public static URL getHiveSiteLocation()
public static URL getMetastoreSiteLocation()
public static URL getHiveServer2SiteLocation()
public String getUser() throws IOException
IOException
public static String getColumnInternalName(int pos)
public static int getPositionFromInternalName(String internalName)
public void addToRestrictList(String restrictListStr)
restrictListStr
- @InterfaceAudience.LimitedPrivate(value="Currently only for use by HiveAuthorizer") public void setModifiableWhiteListRegex(String paramNameRegex)
paramNameRegex
- public void stripHiddenConfigurations(org.apache.hadoop.conf.Configuration conf)
public boolean isWebUiEnabled()
public boolean isWebUiQueryInfoCacheEnabled()
public boolean isSparkDPPAny()
public boolean isSparkDPPOnlyMapjoin()
public static boolean isLoadMetastoreConfig()
public static void setLoadMetastoreConfig(boolean loadMetastoreConfig)
public static boolean isLoadHiveServer2Config()
public static void setLoadHiveServer2Config(boolean loadHiveServer2Config)
public static String getNonMrEngines()
public static String generateMrDeprecationWarning()
public static HashMap<String,HiveConf.ConfVars> getOrCreateReverseMap()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.