Required field 'client_protocol' is unset

后端 未结 4 1328
日久生厌
日久生厌 2020-12-17 09:02

I am using Hive 0.12, and I\'m trying the JDBC from apache. When I try to run the code, I get apache.thrift.TApplicationException.

import java.sql.SQLExcepti         


        
4条回答
  •  佛祖请我去吃肉
    2020-12-17 09:54

    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.

提交回复
热议问题