public class HiveConfUtils extends Object
| Constructor and Description |
|---|
HiveConfUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hive.conf.HiveConf |
create(org.apache.hadoop.conf.Configuration conf)
Create HiveConf instance via Hadoop configuration.
|
public static org.apache.hadoop.hive.conf.HiveConf create(org.apache.hadoop.conf.Configuration conf)
HiveConf.HiveConf(org.apache.hadoop.conf.Configuration, java.lang.Class) will override
properties in Hadoop configuration with Hive default values (.hadoop.hive.conf.HiveConf.ConfVars), so we should use this method to create HiveConf
instance via Hadoop configuration.conf - Hadoop configurationCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.