HIVE_SERVER2_THRIFT_BIND_HOST – Optional TCP host interface to bind to. Overrides the configuration file setting.
Running in HTTP mode
Starting Hive 0.13, HiveServer2 provides support for sending Thrift RPC messages over http 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. Use the following settings to enable http mode:
hive.server2.transport.mode – Set this to http.
Optional Environment Settings
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