conf.HiveConf: HiveConf of name hive.serve2.thrift.bind.host does not exist
时间: 2024-04-18 11:23:57 浏览: 7
你好!关于你的问题,出现 "conf.HiveConf: HiveConf of name hive.serve2.thrift.bind.host does not exist" 的错误通常是由于配置文件中缺少了对应属性的设置所致。
要解决这个问题,你可以按照以下步骤进行操作:
1. 确保你的配置文件中有一个名为 "hive.serve2.thrift.bind.host" 的属性。你可以在 Hive 的配置文件中查找这个属性,并确认它的拼写和大小写是否正确。
2. 如果你无法找到这个属性,那么可能是因为你使用的是过期或不支持的版本。在某些版本的 Hive 中,可能已经更改了属性的命名方式。你可以查看 Hive 的官方文档或版本发布说明,以确定正确的属性名称。
3. 如果你确信你的配置文件中已经正确设置了属性,但仍然出现该错误,请检查是否有其他配置文件覆盖了你的设置。有时候,Hive 会加载多个配置文件,并且后加载的文件可能会覆盖先加载的文件中的设置。你可以检查 Hadoop 和 Hive 的配置文件目录,确保没有其他文件覆盖了你的设置。
希望这些步骤能帮助你解决问题!如果还有其他问题,请随时提问。
相关问题
pyspark连接 HiveConf of name hive.metastore.event.db.notification.api.auth does not exis
This error message suggests that the Hive configuration property `hive.metastore.event.db.notification.api.auth` does not exist.
To resolve the issue, you can try setting this property in the Spark configuration:
```
spark.conf.set("hive.metastore.event.db.notification.api.auth", "false")
```
Alternatively, you can add the property to your Hive metastore configuration file (`hive-site.xml`), if it is not already included:
```
<property>
<name>hive.metastore.event.db.notification.api.auth</name>
<value>false</value>
</property>
```
Make sure to reload the configuration after making changes.
hive启动元数据遇到 INFO metastore.HiveMetaStore: Added admin role in metastore INFO metastore.HiveMetaStore: Added public role in metastore INFO metastore.HiveMetaStore: No user is added in admin role, since config is empty INFO conf.HiveConf: Found configuration file file:/D:/apache-hive-3.1.2-bin/conf/hive-site.xml INFO metastore.HiveMetaStore: Starting DB backed MetaStore Server with SetUGI enabled INFO metastore.HiveMetaStore: Started the new metaserver on port [9083]... INFO metastore.HiveMetaStore: Options.minWorkerThreads = 200 INFO metastore.HiveMetaStore: Options.maxWorkerThreads = 1000 INFO metastore.HiveMetaStore: TCP keepalive = true INFO metastore.HiveMetaStore: Enable SSL = false
这段日志是hive启动时输出的,其中包含了启动元数据服务的信息。可以看到,启动过程中添加了admin和public角色,并且没有添加任何用户到admin角色中。同时,hive-site.xml配置文件被找到并使用。元数据服务以DB方式启动,同时启用了SetUGI选项,并在9083端口启动了新的元数据服务。最后,还显示了一些元数据服务的参数配置信息,如最小工作线程数、最大工作线程数、TCP keepalive选项和SSL启用状态。