Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.2, 2.3.2, 3.0.0
-
None
-
None
Description
The -hiveconf command line option works in HiveServer2 with properties in HiveConf.java, but not so well with other properties (like mapred properties or spark properties to control underlying execution engine, or custom properties understood by custom listeners)
It is inconsistent with HiveCLI.
HiveCLI behavior:
./bin/hive --hiveconf a=b hive> set a; a=b
HiveServer2 behavior:
./bin/hiveserver2 --hiveconf a=b beeline> set a; +-----------------+ | set | +-----------------+ | a is undefined | +-----------------+
Although it is possible to set up hive-site.xml or even mapred-site.xml to fill in the relevant properties, it is more convenient when testing HS2 with different configuration to be able to use --hiveconf to change on the fly.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-4292 hiveserver2 should support -hiveconf commandline parameter
- Closed