Issue:
Pipeline trying to connect to Hive returns the following exception:
Could not establish connection to jdbc:hive2://rdalhdpmastd003.kbm1.loc:10001/default;principal=hive/rdalhdpmastd003.kbm1.loc@KBM1.LOC;transportMode=http;httpPath=cliservice: Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default})
at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:211)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
Solution:
Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default})
usually means that there is a version mismatch and the JDBC driver may be of a later version than Hive server. Please verify the stage library version and the version of your Hive server.