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

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

上一篇:Java整合Storm使用中文分词


下一篇:Call for Papers IEEE/ACM International Conference on Advances in Social Network Analysis and Mining (ASONAM)