public class HiveConfUtils extends Object
Constructor and Description |
---|
HiveConfUtils() |
Modifier and Type | Method and Description |
---|---|
static HiveConf |
create(org.apache.hadoop.conf.Configuration conf)
Create HiveConf instance via Hadoop configuration.
|
public static HiveConf create(org.apache.hadoop.conf.Configuration conf)
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–2024 The Apache Software Foundation. All rights reserved.