2020-11-16-Hive-10(hive远程连接)
作者:
冰菓_ | 来源:发表于
2020-11-29 09:06 被阅读0次
1.远程连接无法执行SQL
元数据服务[配置
在hive-site.xml中添加元数据服务配置
<property>
<name>hive.metastore.local</name>
<value>false</value>
<description>controls whether to connect to remove metastore server or open a new metastore server in Hive Client JVM</description>
</property>
<property>
<name>hive.metastore.uris</name>
<value>thrift://linux03:9083</value>
</property>
启动元数据服务
hive --service metastore监听的端口是 9083
本文标题:2020-11-16-Hive-10(hive远程连接)
本文链接:https://www.haomeiwen.com/subject/yhozbktx.html
网友评论