public class HiveConf extends Configuration
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 |
Configuration.DeprecationDelta, Configuration.IntegerRanges
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(Configuration other,
Class<?> cls) |
HiveConf(HiveConf other)
Copy constructor
|
addDefaultResource, addDeprecation, addDeprecation, addDeprecation, addDeprecation, addDeprecations, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, addResource, clear, dumpConfiguration, dumpConfiguration, dumpDeprecatedKeys, get, get, 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, getTimeDurationHelper, getTimeDurations, getTrimmed, getTrimmed, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, getValByRegex, hasWarnedDeprecation, isDeprecated, 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(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(Configuration conf, HiveConf.ConfVars var)
public static void setIntVar(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(Configuration conf, HiveConf.ConfVars var, TimeUnit outUnit)
public static void setTimeVar(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(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(Configuration conf, HiveConf.ConfVars var)
public static long getLongVar(Configuration conf, HiveConf.ConfVars var, long defaultVal)
public static void setLongVar(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(Configuration conf, HiveConf.ConfVars var)
public static float getFloatVar(Configuration conf, HiveConf.ConfVars var, float defaultVal)
public static void setFloatVar(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(Configuration conf, HiveConf.ConfVars var)
public static boolean getBoolVar(Configuration conf, HiveConf.ConfVars var, boolean defaultVal)
public static void setBoolVar(Configuration conf, HiveConf.ConfVars var, boolean val)
public static boolean isSparkDPPAny(Configuration conf)
public boolean getBoolVar(HiveConf.ConfVars var)
public void setBoolVar(HiveConf.ConfVars var, boolean val)
public static String getVar(Configuration conf, HiveConf.ConfVars var)
public static String getVarWithoutType(Configuration conf, HiveConf.ConfVars var)
public static String getTrimmedVar(Configuration conf, HiveConf.ConfVars var)
public static String[] getTrimmedStringsVar(Configuration conf, HiveConf.ConfVars var)
public static String getVar(Configuration conf, HiveConf.ConfVars var, String defaultVal)
public static String getVar(Configuration conf, HiveConf.ConfVars var, HiveConf.EncoderDecoder<String,String> encoderDecoder)
public static void setVar(Configuration conf, HiveConf.ConfVars var, String val)
public static void setVar(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(Configuration conf)
public void setQueryString(String query)
public static void setQueryString(Configuration conf, String query)
public void logVars(PrintStream ps)
public Properties getAllProperties()
public static Properties getProperties(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(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.