@InterfaceAudience.Private public class HiveConfUtil extends Object
Constructor and Description |
---|
HiveConfUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpConfig(org.apache.hadoop.conf.Configuration originalConf,
StringBuilder sb) |
static StringBuilder |
dumpConfig(HiveConf conf)
Dumps all HiveConf for debugging.
|
static Set<String> |
getHiddenSet(org.apache.hadoop.conf.Configuration configuration)
Getting the set of the hidden configurations
|
static boolean |
isEmbeddedMetaStore(String msUri)
Check if metastore is being used in embedded mode.
|
static void |
stripConfigurations(org.apache.hadoop.conf.Configuration conf,
Set<String> hiddenSet)
Strips hidden config entries from configuration
|
public static boolean isEmbeddedMetaStore(String msUri)
msUri
- - metastore server uripublic static StringBuilder dumpConfig(HiveConf conf)
public static Set<String> getHiddenSet(org.apache.hadoop.conf.Configuration configuration)
configuration
- The original configurationpublic static void stripConfigurations(org.apache.hadoop.conf.Configuration conf, Set<String> hiddenSet)
conf
- The configuration to strip fromhiddenSet
- The values to strippublic static void dumpConfig(org.apache.hadoop.conf.Configuration originalConf, StringBuilder sb)
Copyright © 2016 The Apache Software Foundation. All rights reserved.