首页 > Web开发 > 详细

idea操作hive报错:org.apache.thrift.transport.TTransportException

时间:2019-10-17 20:10:45      阅读:589      评论:0      收藏:0      [点我收藏+]

19/10/17 19:28:27 INFO Logging.scala[58]: Loaded org.apache.hadoop.hive.shims.Hadoop23Shims for Hadoop version 2.6.0-cdh5.7.0
19/10/17 19:28:27 INFO HiveMetaStoreClient.java[376]: Trying to connect to metastore with URI thrift://hadoop102:9083
19/10/17 19:28:39 INFO HiveMetaStoreClient.java[421]: Opened a connection to metastore, current connections: 1
19/10/17 19:28:42 WARN HiveMetaStoreClient.java[445]: set_ugi() not successful, Likely cause: new client talking to old server. Continuing without it.
org.apache.thrift.transport.TTransportException

具体报错信息如图

技术分享图片

原因是:window没有做主机名和ip的映射 ,在hosts文件中添加相应的集群主机名称的映射即可解决

 

idea操作hive报错:org.apache.thrift.transport.TTransportException

原文:https://www.cnblogs.com/shsgshn/p/11694326.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!