hiveserver2的端口是10000
hive.metastoe.uris 的端口9083改为10000之后

beelien 连接hiveserver2报错

Error: Could not open client transport with JDBC Uri: jdbc:hive2://172.16.145.124:10000 hive

用户和密码都没数错,试了好几次还是不能连接

查看hive  metastore的日志,发现有错误信息:

hive metastore异常 org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client

想了想是不是因为metastore和hiveserver使用的是相同的端口导致的,于是把hive.metastore.uris的端口改回9083后,

 

hive metastore异常 org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client

 

hive metastore异常 org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client

修改后连接成功

hive metastore异常 org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client

 

相关文章:

  • 2021-11-25
  • 2021-06-06
  • 2021-06-27
  • 2021-06-22
  • 2022-01-13
  • 2021-05-14
  • 2021-09-15
  • 2021-08-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2021-09-23
相关资源
相似解决方案