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的日志,发现有错误信息:

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

 

 

修改后连接成功

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM