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

我怕爱的太早我们不能终老 提交于 2019-12-01 16:55:32

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文件中添加相应的集群主机名称的映射即可解决

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!