You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Tharun Mothukuri <th...@gmail.com> on 2019/10/19 02:03:15 UTC
Hiveserver2 JDBC jar compatibility issues
Hi,
We are facing an issue when connecting to hiveserver2 (beeline) on cluster
B (2.1) from Cluster A (Hive 2.3.3)
Error:
java.sql.SQLException: Could not establish connection to
jdbc:hive2://localhost:10000/default: *Required field 'client_protocol' is
unset! *Struct:TOpenSessionReq(client_protocol:null)
at org.apache.hive.jdbc.HiveConnection.openSession(HiveConnection.java:336)
This worked well when hive is 2.1 on both the clusters.
JIRA:
This is an old issue reported in Hive 0.13.
https://issues.apache.org/jira/browse/HIVE-6050
Is there a workaround? or any other solution?
Thanks,
Tharun