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