skip to main content
Connection property descriptions : TransportMode
  

Try DataDirect Drivers Now

TransportMode

Purpose

Specifies whether binary (TCP) mode or HTTP mode is used to access Apache Hive data sources.

Valid Values

binary | http

Behavior

If set to binary, Thrift RPC requests are sent directly to data sources using a binary connection (TCP mode).
If set to http, Thrift RPC requests are sent using HTTP transport (HTTP mode). HTTP mode is typically used when connecting to a proxy server, such as a gateway, for improved security, or a load balancer.

Notes

*The setting of this property corresponds to that of the hive.server2.transport.mode property in your hive-site.xml file.
*When TransportMode=http, the HTTP/HTTPS end point for the Hive server must be specified using the httpPath property.
*To configure the driver to use HTTPS end points, set TransportMode=http and EncryptionMethod=SSL.
*Apache Hive currently supports using only one protocol mode per server at a time.

Data Source Method

setTransportMode

Default

binary

Data Type

String

See also

*EncryptionMethod
*HTTPPath
*Required properties