我在HDP 3.1中启动了Spark Thrift Server。
我试图通过beeline连接到它:
beeline -u "jdbc:hive2://myhost.mybank.rus:10016/public"
我得到了错误:
19/10/10 00:17:08 [main]: ERROR jdbc.HiveConnection: Error opening session
org.apache.thrift.TApplicationException: Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{set:hiveconf:
at
...
我只发现它需要蜂巢/直线罐的较旧版本,但是如何配置?
答案 0 :(得分:0)
花几个小时找到答案。 没有人说Spark拥有自己的蜂线工具:
/usr/hdp/3.1.4.0-315/spark2/bin/beeline
它有效:)