Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add Global Init File section for HIVE-5160

...

Panel

hive.server2.thrift.http.port – HTTP port number to listen on; default is 10001.

hive.server2.thrift.http.path – The service endpoint; default is cliservice.

hive.server2.thrift.http.min.worker.threads – Minimum worker threads in the server pool; default is 5.

hive.server2.thrift.http.max.worker.threads – Maximum worker threads in the server pool; default is 500.

 

Optional Global Init File (.hiverc)

Staring in Hive 0.14 with HIVE-5160, a global init file called (.hiverc) can be placed under configured hive.server2.global.init.file.location directory.  This is a set of commands that run for users of this HiveServer2 instance, such as register a standard set of jars and functions.

How to Start

Code Block
$HIVE_HOME/bin/hiveserver2

...