Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Starting Hive 0.13, HiveServer2 provides support for sending Thrift RPC messages over http transport transport (HIVE-4752). This is particularly useful to support a proxying intermediary between the client and the server (for example, for load balancing or security reasons). Currently, you can run HiveServer2 in either TCP mode or the HTTP mode, but not in both. For the corresponding JDBC url, check this link: HiveServer2 Clients JDBC url. Use the following settings to enable http mode:

Panel

hive.server2.transport.mode – Set this to http.

...

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.

How to Start

Code Block
$HIVE_HOME/bin/hiveserver2

...