Required field 'client_protocol' is unset

后端 未结 4 1330
日久生厌
日久生厌 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:32

    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.

    
      org.apache.hive
      hive-jdbc
      1.1.0
      standalone
    
    

提交回复
热议问题