failed: Failed connecting to Hive metastore

本文共有444个字,关键词:

问题:使用presto无法连接到hive metastore

解决:因为在presto中配置的hive.properties出错

方法:

vim etc/catalog/hive.properties
写入下面代码
connector.name=hive-hadoop2
hive.metastore.uri=thrift://vm007:9083

注:hive服务是安装在vm007,然后分发到各节点的,hive的metasotre是存储在vm014服务器的mysql中的

说明:

hive metastore数据库是远程模式时,配置的uri写的仍然是hive server所在服务器

参考:

https://www.cnblogs.com/yjt1993/p/11041118.html
版权声明:本文为作者原创,如需转载须联系作者本人同意,未经作者本人同意不得擅自转载。
添加新评论
暂无评论