TransportMode
- Last Updated: November 8, 2017
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Hive 6.0
- Documentation
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=httpandEncryptionMethod=SSL. - Apache Hive currently supports using only one protocol mode per server at a time.
Data Source Method
setTransportMode
Default
binary
Data Type
String