org.apache.thrift.TApplicationException: Required field ‘client_protocol’ is unset!

This article gives you a comprehensive understanding of Java object serialization and deserialization>>>

##Problem description

Using history JDBC to connect to history Metastore, the following error is reported:

##Cause analysis

Hive JDBC version is inconsistent with hive version. Hive version used in cluster is 0.12.0-cdh5.0.2, but hive JDBC version is 0.13.1-cdh5.3.1

##Solutions

Change hive JDBC dependency version in POM file to 0.12.0-cdh5.0.2

Similar Posts: