Created 06-09-2016 10:16 AM
org.apache.thrift.protocol.TProtocolException: Required field 'serverProtocolVersion' is unset! Struct:TOpenSessionResp(status:TStatus(statusCode:SUCCESS_STATUS), serverProtocolVersion:null, sessionHandle:TSessionHandle(), configuration:{}) at org.apache.hive.service.cli.thrift.TOpenSessionResp.validate(TOpenSessionResp.java:578) at org.apache.hive.service.cli.thrift.TOpenSessionResp$TOpenSessionRespStandardScheme.read(TOpenSessionResp.java:676) at org.apache.hive.service.cli.thrift.TOpenSessionResp$TOpenSessionRespStandardScheme.read(TOpenSessionResp.java:612) at org.apache.hive.service.cli.thrift.TOpenSessionResp.read(TOpenSessionResp.java:520) at org.apache.hive.service.cli.thrift.TCLIService$OpenSession_result$OpenSession_resultStandardScheme.read(TCLIService.java:2361) at org.apache.hive.service.cli.thrift.TCLIService$OpenSession_result$OpenSession_resultStandardScheme.read(TCLIService.java:2346) at org.apache.hive.service.cli.thrift.TCLIService$OpenSession_result.read(TCLIService.java:2293) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) at org.apache.hive.service.cli.thrift.TCLIService$Client.recv_OpenSession(TCLIService.java:160) at org.apache.hive.service.cli.thrift.TCLIService$Client.OpenSession(TCLIService.java:147)
Created 06-09-2016 10:27 AM
what version of hiveserver2 you are running with? it seems that you are trying to connect with old version of thrift client to the newer version of hiveserver2. can you try to check the the libthrift api version of your hive-client vs hive-server.
if there is a mismatch then you are not able to connect with hive-server as it is known issue with hive.
see this
Created 06-09-2016 10:27 AM
what version of hiveserver2 you are running with? it seems that you are trying to connect with old version of thrift client to the newer version of hiveserver2. can you try to check the the libthrift api version of your hive-client vs hive-server.
if there is a mismatch then you are not able to connect with hive-server as it is known issue with hive.
see this