Part 4: The Connect XE Drivers : The Driver for Apache Hive : Connection Option Descriptions : Wire Protocol Version

Wire Protocol Version
Attribute
WireProtocolVersion (WPV)
Purpose
Indicates which protocol to use when connecting to the Apache Hive server.
Valid Values
0 | 1 | 2
Behavior
If set to 0 -(AutoDetect), the driver tries to connect using the HiveServer1 protocol and the HiveServer2 protocol simultaneously. Whichever server socket accepts the connection is the one that the driver continues to use for subsequent connections. For example, if the server socket accepts a connection request using the HiveServer2 protocol, subsequent connections from the driver use the same socket and protocol.
If set to 1 -(HiveServer1), the driver only uses the HiveServer1 protocol to communicate with the server.
If set to 2 -(HiveServer2), the driver only uses the HiveServer2 protocol to communicate with the server.
Notes
Default
0 - AutoDetect
Data Type
String
GUI Tab
General tab

© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.