Required field 'client_protocol' is unset
Got same issue. It works if you set
hive JDBC Maven Repo version as 1.1.0 .
Check this jira. Newest hive-jdbc version is not supported with HIve 0.13. https://issues.apache.org/jira/browse/HIVE-6050
Add this in your pom.
<dependency> <groupId>org.apache.hive</groupId> <artifactId>hive-jdbc</artifactId> <version>1.1.0</version> <classifier>standalone</classifier></dependency>
Guys even I faced the same issue and go the solution by doing the following steps
Step 01:- Include the Hive lib jars on yours eclipse(which ever might be the IDE) by using the below link.
http://mirrors.supportex.net/apache/hive/hive-1.0.1/ (apache-hive-1.0.1-bin.tar.gz)
Step 02: add hadoop-core-1.1.0 jar
as everyone mentioned this error occurs due to the version mismatch with hadoop standalone and hadoop core.